Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| USE_OCR | No | Enable OCR for scanned PDFs. | 1 |
| USE_BM25 | No | Enable BM25 fallback. | 1 |
| USE_FTS5 | No | Enable FTS5 search (recommended). | 0 |
| TDZ_DATA_DIR | No | Database directory where knowledge data is stored. | ~/.tdz-c64-knowledge |
| SEMANTIC_MODEL | No | Sentence-transformers model for semantic search. | all-MiniLM-L6-v2 |
| FUZZY_THRESHOLD | No | Fuzzy similarity threshold (0-100). | 80 |
| SEARCH_CACHE_TTL | No | Search cache time-to-live in seconds. | 300 |
| USE_FUZZY_SEARCH | No | Enable fuzzy search. | 1 |
| ALLOWED_DOCS_DIRS | No | Document directory whitelist for restricted environments. | |
| SEARCH_CACHE_SIZE | No | Maximum number of cached search results. | 100 |
| USE_SEMANTIC_SEARCH | No | Enable semantic search. | 0 |
| USE_QUERY_PREPROCESSING | No | Enable NLTK preprocessing. | 1 |
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 | |