local-rag

command
v0.0.0-...-1f01b20 Latest Latest
Warning

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

Go to latest
Published: May 23, 2024 License: MIT Imports: 8 Imported by: 0

README

Local RAG

Run Example

Start Ollama Server

$ ollama start

Download Mistral Model

$ ollama pull mistral
$ ollama pull nomic-embed-text

Start Example Application

docker compose up

Upload Documents

Category Document Types
Text .txt, .eml, .msg, .html, .md, .rst, .rtf
Images .jpeg, .png
Documents .doc, .docx, .ppt, .pptx, .pdf, .odt, .epub, .csv, .tsv, .xlsx
curl http://localhost:8080/v1/index/docs/unstructured \
  --header 'Content-Disposition: attachment; filename="presentation.pdf"' \
  --data-binary "@presentation.pdf"
go run . -url http://localhost:8080 -index docs -path $HOME/Documents

Open Web UI

$ open http://localhost:8501

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