Bioflow AI

Knowledge Base

Configure Milvus and an OpenAI-compatible embedding model API

The knowledge base indexes tool documentation, parameter references, and research papers in Milvus, powering semantic search for AI-assisted tool discovery and workflow design.

Configure it under [knowledge_base] in config.toml:

[knowledge_base]
milvus_url = "http://localhost:19530"
embedding_model = "Qwen/Qwen3-Embedding-4B"
base_url = "https://api.siliconflow.cn/v1/"
api_key = ""
KeyDefaultDescription
milvus_urlhttp://localhost:19530Milvus endpoint (updated automatically during auto-init if the default port is occupied)
embedding_modelQwen/Qwen3-Embedding-4BModel ID sent to the embedding API
base_urlhttps://api.siliconflow.cn/v1/OpenAI-compatible API root URL
api_keyEmptyAPI key for the embedding service

uv run bioflow-ai auto-init collects the embedding model, base URL, and API key during the Model Configuration stage. Both Milvus and the embedding API must be reachable before importing system presets so vector indexes can be built.

Hosted APIs and self-hosted endpoints use the exact same OpenAI-compatible configuration—see Embedding Model.