Update docs
This commit is contained in:
parent
e66c160055
commit
b28ed57cf5
4 changed files with 24 additions and 1 deletions
|
|
@ -8,6 +8,7 @@ Retrieval-Augmented Generation (RAG) library on SQLite.
|
|||
|
||||
- **Local SQLite**: No external servers required
|
||||
- **Multiple embedding providers**: Ollama, VoyageAI, OpenAI
|
||||
- **Multiple QA providers**: Ollama, OpenAI, Anthropic
|
||||
- **Hybrid search**: Vector + full-text search with Reciprocal Rank Fusion
|
||||
- **Question answering**: Built-in QA agents on your documents
|
||||
- **File monitoring**: Auto-index files when run as server
|
||||
|
|
|
|||
|
|
@ -84,6 +84,22 @@ QA_MODEL="gpt-4o-mini" # or gpt-4, gpt-3.5-turbo, etc.
|
|||
OPENAI_API_KEY="your-api-key"
|
||||
```
|
||||
|
||||
### Anthropic
|
||||
|
||||
For Anthropic QA, you need to install haiku.rag with Anthropic extras:
|
||||
|
||||
```bash
|
||||
uv pip install haiku.rag --extra anthropic
|
||||
```
|
||||
|
||||
Then configure:
|
||||
|
||||
```bash
|
||||
QA_PROVIDER="anthropic"
|
||||
QA_MODEL="claude-3-5-haiku-20241022" # or claude-3-5-sonnet-20241022, etc.
|
||||
ANTHROPIC_API_KEY="your-api-key"
|
||||
```
|
||||
|
||||
## Other Settings
|
||||
|
||||
### Database and Storage
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
- **Local SQLite**: No need to run additional servers
|
||||
- **Support for various embedding providers**: Ollama, VoyageAI, OpenAI or add your own
|
||||
- **Hybrid Search**: Vector search using `sqlite-vec` combined with full-text search `FTS5`, using Reciprocal Rank Fusion
|
||||
- **Question Answering**: Built-in QA agents using Ollama or OpenAI.
|
||||
- **Question Answering**: Built-in QA agents using Ollama, OpenAI, or Anthropic.
|
||||
- **File monitoring**: Automatically index files when run as a server
|
||||
- **Extended file format support**: Parse 40+ file formats including PDF, DOCX, HTML, Markdown, audio and more. Or add a URL!
|
||||
- **MCP server**: Exposes functionality as MCP tools
|
||||
|
|
|
|||
|
|
@ -24,6 +24,12 @@ uv pip install haiku.rag --extra voyageai
|
|||
uv pip install haiku.rag --extra openai
|
||||
```
|
||||
|
||||
### Anthropic
|
||||
|
||||
```bash
|
||||
uv pip install haiku.rag --extra anthropic
|
||||
```
|
||||
|
||||
## Requirements
|
||||
|
||||
- Python 3.10+
|
||||
|
|
|
|||
Loading…
Reference in a new issue