This plugin enables semantic/vector search in Apache Answer using ChromaDB.
Build Apache Answer with this plugin:
./answer build --with github.com/apache/answer-plugins/vector-search-chromadb
After enabling the plugin in the Admin UI (Admin > Plugins > Vector Search), configure the following fields:
| Field | Description | Example |
|---|---|---|
| ChromaDB Endpoint | ChromaDB HTTP API URL | http://localhost:8000 |
| Embedding API Host | OpenAI-compatible API base URL | https://api.openai.com |
| Embedding API Key | API key for the embedding service | sk-... |
| Embedding Model | Model name for generating embeddings | text-embedding-3-small |
| Embedding Level | question embeds question + all answers + comments together; answer embeds each answer separately | question |
| Similarity Threshold | Minimum cosine similarity score (0-1). Default 0 means no filtering | 0.5 |
answer_vector_embeddings with hnsw:space set to cosine.Using Docker:
docker run -p 8000:8000 chromadb/chroma
The REST API will be available at http://localhost:8000.