Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| SOURCE_DIR | No | Document source directory | ./data/source |
| POSTGRES_DB | No | PostgreSQL database name | ragdb |
| EMBEDDING_DIM | No | Embedding dimension size | 1024 |
| POSTGRES_HOST | No | PostgreSQL host address | localhost |
| POSTGRES_PORT | No | PostgreSQL port number | 5432 |
| POSTGRES_USER | No | PostgreSQL username | postgres |
| PROCESSED_DIR | No | Processed document directory | ./data/processed |
| EMBEDDING_MODEL | No | Embedding model to use (e.g., intfloat/multilingual-e5-large, cl-nagoya/ruri-v3-30m) | intfloat/multilingual-e5-large |
| POSTGRES_PASSWORD | No | PostgreSQL password | password |
| EMBEDDING_PREFIX_QUERY | No | Prefix automatically added to search queries for the embedding model | query: |
| EMBEDDING_PREFIX_EMBEDDING | No | Prefix automatically added to documents being indexed for the embedding model | passage: |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |