Skip to content

231tr0n/rag-llm

Repository files navigation

rag-llm

A RAG model with ollama and weviate.

Querying

curl -H 'Content-Type: application/json' \
  -d '{"history": [{"role": "user", "text": "Is bob an idiot?"}]}'
  -X POST \
  http://localhost:8000/query

Adding documents

curl -H 'Content-Type: application/json' \
  -d '{"document": "Bob is an idiot."}' \
  -X POST \
  http://localhost:8000/add

About

A RAG model with ollama and weviate using langchaingo.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published