Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RAG-Stack

Using docker deploy ollama and litellm for my personal RAG.

1. Set up

1.1 Install docker, nvidia container toolkit
1.2 Copy the .env.example to .env and change it.

cp .env.example .env

1.3 Start container

docker compose up -d

1.4 Downloa Qwen

docker exec -it ollama ollama pull qwen3:14b

1.5 TEST Ollama

curl http://localhost:11434/api/generate -d '{
  "model": "qwen3:14b",
  "prompt": "請用繁體中文介紹RAG"
}'

1.6 TEST LiteLLM API

curl http://localhost:4000/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer sk-local-123456" \
  -d '{
    "model": "qwen3-local",
    "messages": [
      {"role": "user", "content": "請用繁體中文介紹RAG"}
    ]
  }'

About

Using docker to deploy Qwen with Ollama and litellm as proxy

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors