MCPcopy Index your code
hub / github.com/Nagi-ovo/CRAG-Ollama-Chat

github.com/Nagi-ovo/CRAG-Ollama-Chat @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
9 symbols 41 edges 1 files 8 documented · 89%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

CRAG Ollama Chat

create by ideogram.ai

Preview

Run the demo by :

  1. Creat a config.yaml file with the format of config.example.yaml and fill in the required config:
# APIs: If you aren't using ollama
openai_api_key: "sk-"
openai_api_base: "https://api.openai.com/v1/chat/completions" # Or your own proxy
google_api_key: "your_google_api_key" # Unnecessary
tavily_api_key: "tvly-" # A must for the Websearch tools, which you can create on https://app.tavily.com/

# Ollama Config
run_local: "Yes" # Yes or No, if Yes, the you must have ollama running in ur PC
local_llm: "openhermes" # mistral, llama2 ...

# Model Config
models: "openai" # If you want to achieve the best results

# Document Config
# Support multiple websites reading
doc_url:  # My blogs right now
  - "https://nagi.fun/llm-5-transformer"  
  - "https://nagi.fun/llm-4-wavenet"  
  1. Install dependencies by poetry or pip install -r requirements.txt

  2. run the command below:

streamlit run app.py

References

Core symbols most depended-on inside this repo

Shape

Function 7
Class 2

Languages

Python100%

Modules by API surface

app.py9 symbols

For agents

$ claude mcp add CRAG-Ollama-Chat \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page