Skip to content

anirudhuuu/GenAI

Repository files navigation

Generative AI

# 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

About

Generative AI concepts to hands on projects

Topics

Resources

Stars

Watchers

Forks

Languages