[EXAMPLES CLEANUP]

pull/594/merge
Your Name 3 months ago
parent 80490b6c08
commit dae3856528

@ -10,14 +10,11 @@ from dotenv import load_dotenv
load_dotenv() load_dotenv()
# Get the OpenAI API key from the environment variable # Get the OpenAI API key from the environment variable
api_key = os.getenv("GROQ_API_KEY") api_key = os.getenv("OPENAI_API_KEY")
# Model # Create an instance of the OpenAIChat class
model = OpenAIChat( model = OpenAIChat(
openai_api_base="https://api.groq.com/openai/v1", openai_api_key=api_key, model_name="gpt-4o-mini", temperature=0.1
openai_api_key=api_key,
model_name="llama-3.1-70b-versatile",
temperature=0.1,
) )
# Initialize the agent # Initialize the agent

Loading…
Cancel
Save