cookbook/90_models/groq/README.md
Note: Fork and clone this repository if needed
python3 -m venv ~/.venvs/aienv
source ~/.venvs/aienv/bin/activate
GROQ_API_KEYexport GROQ_API_KEY=***
uv pip install -U groq ddgs duckdb yfinance agno
python cookbook/92_models/groq/basic_stream.py
python cookbook/92_models/groq/basic.py
python cookbook/92_models/groq/tool_use.py
python cookbook/92_models/groq/research_agent_exa.py
python cookbook/92_models/groq/structured_output.py
Please run pgvector in a docker container using:
./cookbook/run_pgvector.sh
Then run the following:
python cookbook/92_models/groq/storage.py
python cookbook/92_models/groq/knowledge.py
Take note that by default, OpenAI embeddings are used and an API key will be required. Alternatively, there are other embedders available that can be used. See more examples in /cookbook/07_knowledge/embedders
python cookbook/92_models/groq/image_agent.py
python cookbook/92_models/groq/async/basic_stream.py
python cookbook/92_models/groq/async/basic.py