Qdrant Vector Database
The project uses Qdrant for retrieval in the answer pipeline and for indexing Zammad knowledge base content.
Integration
The workflow service configures Qdrant under answer.qdrant. The index job configures it under qdrant.
Configuration Keys
url: The URL of the Qdrant instance.api_key: Secret key for authentication.collection_name: The name of the collection where knowledge vectors are stored.vector_dimension: The dimensionality of the embeddings.vector_name: Optional name of the vector configuration in the collection.retrieval_num_documents: Number of documents to retrieve per query.retrieval_mode:dense,sparse, orhybrid.sparse_vector_name: Name of the sparse vector configuration.multi_query.enabled: Enable multi-query expansion.multi_query.include_original: Keep the original query in the retrieval set.
Data Models
The workflow stores answer documents with title, id (knowledge base article ID), and url fields. Knowledge base article URLs are not exposed to the agent; the agent cites articles by ID and the workflow crafts the public Zammad deep link server-side when assembling the used documents of an answer. The index job stores knowledge base and law metadata in Qdrant payloads.
- Knowledge base entries are compared by content hash before being written.
- Law entries use deterministic IDs and store metadata such as
law_id,paragraph,annex, andchunk.
Current Status
The workflow requires Qdrant for answer generation when retrieval is enabled. The index job requires the target collection to exist before it runs.