rag-llm

command module
v0.0.0-...-3b43df4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 12, 2025 License: MIT Imports: 21 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL