Skip to content

Commit

Permalink
[EXAMPLES CLEANUP]
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name committed Oct 13, 2024
1 parent 80490b6 commit dae3856
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions example.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,11 @@
load_dotenv()

# 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(
openai_api_base="https://api.groq.com/openai/v1",
openai_api_key=api_key,
model_name="llama-3.1-70b-versatile",
temperature=0.1,
openai_api_key=api_key, model_name="gpt-4o-mini", temperature=0.1
)

# Initialize the agent
Expand Down
File renamed without changes.

0 comments on commit dae3856

Please sign in to comment.