Introducing the Embedding Function: How Milvus 2.6 Streamlines Vectorization and Semantic Search
Dec 3, 2025Xuqi Yang

Summary
This post details the introduction of the Data-in, Data-out feature (Embedding Function) in Milvus 2.6. It describes the underlying 'Function' module that enables Milvus to invoke external embedding providers (OpenAI, AWS Bedrock, Google Vertex AI, Cohere, Hugging Face) directly during data ingestion and query time. The post outlines the six-step workflow: input raw data, generate embeddings via the configured provider, store embeddings, submit raw queries, perform semantic search using the same model, and return results. It also provides configuration details for `milvus.yaml`, schema definition with `TEXTEMBEDDING` function type, and usage examples for inserting raw data and performing text-based semantic searches.
More from the AI Data Storage Engine trail
- Milvus Snapshots: Point-in-Time Collection Views Without Copying Data
- Announcing Milvus 3.0: Lake-Native Vector Search and a More Powerful Retrieval Engine
- How to Recover Milvus Data After etcd Corruption Without a Backup
- Open Tag: An Open-Source Claude Tag for Claude Code and Codex
- How Force Merge Compaction Nearly Doubled Milvus Search QPS