# Create virtual environment
python -m venv venv
# Activate virtual environment
source venv/bin/activate
# Install dependencies
pip install tiktoken
# Freeze the environment
pip freeze > requirements.txt
# Install from requirements.txt
pip install -r requirements.txt
# Install OpenAI
pip install openai
# Install Python Environment
pip install python-dotenv
# Install Google Gemini
pip install google-genai
# Start Docker Compose
docker compose up
# Pull Ollama Image to Fast API Server
python ollama_api.py
# Install uvicorn
pip install uvicorn
# Start FastAPI Server
uvicorn ollama_api:app --port 8000
# Start docker compose of QDrant
docker compose up -d
# Install FastAPI
pip install fastapi[standard]
# Start FastAPI Server
fastapi dev server.py
# Install RQ
pip install rq
# Install uvicorn
pip install uvicorn
# Run the FastAPI server
python -m 07-advance-rags.main
# Start the RQ worker
rq worker --with-scheduler --url redis://valkey:6379
-
Notifications
You must be signed in to change notification settings - Fork 15
anirudhuuu/GenAI
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|