This little tools it for demo a simple rag architecture for using ollama to build you personal model.
"Ollama是一個強大的本地語言模型工具。",
"RAG代表檢索增強生成。",
"Python是一種流行的編程語言。",
"向量數據庫用於高效地存儲和檢索向量。"
Put your YOUR_API_URL and YOUR_MODEL_NAME in the main.py
YOUR_API_URL may be http://localhost:11434 YOUR_MODEL_NAME may be llama3:8b
python main.py