milvus backend stores knowledge-chunk embeddings in a Milvus collection. It can connect to Milvus or Zilliz Cloud, or use a local Milvus Lite file. This backend is available in VeADK 1.0.3 and later.
Dependencies
Use Milvus Lite
For local validation, pointDATABASE_MILVUS_URI to a Milvus Lite data file and configure an embedding model:
Example
Before running, configureMODEL_EMBEDDING_NAME, MODEL_EMBEDDING_DIM, MODEL_EMBEDDING_API_BASE, and MODEL_EMBEDDING_API_KEY. The extensions extra includes llama-index, embedding adapters, and vector-store connectors. Text is sent to the configured embedding service. For BytePlus or another provider, explicitly set the matching endpoint, model, and credentials; the default Ark endpoint does not automatically switch
For remote use, provide reachable Milvus, an existing database, and credentials. Milvus Lite requires a supported platform and writable directory
Parameters
KnowledgeBase parameters
Backend configuration
Milvus configuration
Embedding configuration
The example search should return the annual-leave policy. For empty results, check successful ingestion, matching embedding dimensions, completed server processing, network access, and permissions. Managed ingestion may not be immediately searchable. Running the configured Agent also requires model credentials