Note: Fork and clone this repository if needed
python3 -m venv ~/.venvs/aienv
source ~/.venvs/aienv/bin/activate
pip install -U groq phidata
export GROQ_API_KEY=***
- basic
python cookbook/llms/groq/basic.py
- web search
python cookbook/llms/groq/assistant.py
- structured output
python cookbook/llms/groq/structured_output.py
Install libraries
pip install -U yfinance
Run using:
python cookbook/llms/groq/finance.py
Ask questions like:
- What's the NVDA stock price
- Summarize fundamentals for TSLA
Install libraries
pip install -U duckdb
Run using:
python cookbook/llms/groq/data_analyst.py
Ask questions like:
- What is the average rating of movies?
- Who is the most popular actor?
- Show me a histogram of movie ratings