Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

phidata/cookbook/groq/README.md at main · phidatahq/phidata #712

Open
1 task
irthomasthomas opened this issue Mar 8, 2024 · 1 comment
Open
1 task
Labels
AI-Chatbots Topics related to advanced chatbot platforms integrating multiple AI models Automation Automate the things code-generation code generation models and tools like copilot and aider data-validation Validating data structures and formats Papers Research papers RAG Retrieval Augmented Generation for LLMs

Comments

@irthomasthomas
Copy link
Owner

TITLE: phidata/cookbook/groq/README.md at main · phidatahq/phidata

DESCRIPTION: "RAG AI App with Groq & PgVector

Create and activate a virtual environment

python3 -m venv ~/.venvs/aienv
source ~/.venvs/aienv/bin/activate

Export your Groq & OpenAI API Key
Need to use OpenAI for embeddings as Groq doesn't support embeddings yet.

export GROQ_API_KEY=xxx
export OPENAI_API_KEY=sk-***

Install libraries

pip install -r cookbook/groq/requirements.txt

Start pgvector

phi start cookbook/groq/resources.py -y

Run RAG App

streamlit run cookbook/groq/app.py

Stop pgvector

phi stop cookbook/groq/resources.py -y

Build AI Assistants with Groq

Install libraries

pip install -U groq phidata

Run Assistant

stream on
python cookbook/groq/assistant.py
stream off
python cookbook/groq/assistant_stream_off.py

URL: phidata/cookbook/groq/README.md

Suggested labels

{'label-name': 'Virtual-Environment-Setup', 'label-description': 'Instructions for creating a virtual environment and setting up necessary API keys and libraries.', 'confidence': 68.56}

@irthomasthomas irthomasthomas added AI-Chatbots Topics related to advanced chatbot platforms integrating multiple AI models Automation Automate the things code-generation code generation models and tools like copilot and aider data-validation Validating data structures and formats New-Label Choose this option if the existing labels are insufficient to describe the content accurately Papers Research papers RAG Retrieval Augmented Generation for LLMs labels Mar 8, 2024
@irthomasthomas
Copy link
Owner Author

irthomasthomas commented Mar 8, 2024

Related content

#386 - Similarity score: 0.87

#396 - Similarity score: 0.86

#707 - Similarity score: 0.85

#625 - Similarity score: 0.85

#683 - Similarity score: 0.84

#678 - Similarity score: 0.84

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AI-Chatbots Topics related to advanced chatbot platforms integrating multiple AI models Automation Automate the things code-generation code generation models and tools like copilot and aider data-validation Validating data structures and formats Papers Research papers RAG Retrieval Augmented Generation for LLMs
Projects
None yet
Development

No branches or pull requests

1 participant