Skip to content

sambhavrana27/GenAI

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 

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

About

Generative AI concepts to hands on projects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 99.3%
  • Python 0.7%