Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alexhokl/rag
https://github.com/alexhokl/rag
Last synced: 24 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/alexhokl/rag
- Owner: alexhokl
- License: mit
- Created: 2024-07-13T06:40:47.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-08-11T03:15:10.000Z (4 months ago)
- Last Synced: 2024-09-20T06:42:38.653Z (3 months ago)
- Language: Go
- Size: 65.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# rag
## Description
This is an application allows user asking questions against documents stored in
a vector database and presents the answers using user-specified large language
model (LLM) via [Ollama](https://ollama.com/). This application also allows user
loading documents from specified sources into a vector database. This
capabilities are useful for building retrieval augmented generation (RAG)
applications where custom documents are used to generate answers to user
questions or queries.This application assumes vector database and Ollama are setup locally.
## Usage
```
Retrieval augmented generation applicationUsage:
rag [command]Available Commands:
ask Ask a question on the documents stored in the specified vector database
load Load documents into a vector database
query Query against documents stored in the specified vector database
```## Libraries
- [tmc/langchaingo](https://github.com/tmc/langchaingo)
- [amikos-tech/chroma-go](https://github.com/amikos-tech/chroma-go)