Update README.md

pull/582/head
Kye Gomez 4 months ago committed by GitHub
parent 1b0ac732a7
commit fb62dda1da
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -96,7 +96,7 @@ api_key = os.getenv("OPENAI_API_KEY")
# Create an instance of the OpenAIChat class # Create an instance of the OpenAIChat class
model = OpenAIChat( model = OpenAIChat(
api_key=api_key, model_name="gpt-4o-mini", temperature=0.1 openai_api_key=api_key, model_name="gpt-4o-mini", temperature=0.1
) )
# Initialize the agent # Initialize the agent
@ -198,7 +198,7 @@ memory = ChromaDB(
# Model # Model
model = OpenAIChat( model = OpenAIChat(
api_key=os.getenv("OPENAI_API_KEY"), openai_api_key=os.getenv("OPENAI_API_KEY"),
model_name="gpt-4o-mini", model_name="gpt-4o-mini",
temperature=0.1, temperature=0.1,
) )

Loading…
Cancel
Save