Overview
Alibaba Cloud Milvus provides enterprise-grade knowledge services through an end-to-end pipeline that includes document parsing, content chunking, vectorization, hybrid retrieval, reranking, and large language model (LLM) generation. It efficiently transforms private knowledge distributed across documents, spreadsheets, images, audio, and video into digital assets that support retrieval, question answering, traceability, and ongoing management.
Features
Knowledge bases cover the full lifecycle of knowledge applications, including data ingestion, knowledge governance, index building, retrieval augmentation, answer generation, and version publishing. You can create knowledge bases, import data, and validate retrieval in the console, or integrate retrieval capabilities into your business systems by using OpenAPI and SDKs.
Built on the vector retrieval capabilities of Alibaba Cloud Milvus, knowledge bases support semantic retrieval over millions, tens of millions, or billions of vectors. You can balance accuracy, retrieval speed, resource costs, and concurrency: prioritize low-latency access for frequently used knowledge, use tiered storage to reduce the cost of large volumes of historical materials, and scale computing resources to increase throughput as query traffic grows.
Core concepts
Concept | Description |
Workspace | The management unit for knowledge bases. Knowledge bases in the same region belong to a workspace. The console provides a Default workspace. |
Knowledge base type | The service tier of a knowledge base. Currently, Standard Edition is available and is displayed in the Knowledge base type column in the knowledge base list. |
Data type | Determines the types of data that a knowledge base can accept. Choose one of the following two types at creation. You cannot change the type later: Multimodal knowledge base parses and chunks documents based on their layouts and is suitable for materials with rich content and complex layouts; Structured knowledge base creates chunks from table rows and lets you select one or more fields for vectorization. |
Embedding model | The model that converts data and queries into vectors. Specify the model at creation. You cannot change it later. You can select a Built-in model (such as |
Knowledge base | An entity that organizes knowledge by scenario or domain. Its ID is similar to |
Data | The raw files or structured content imported into a knowledge base. You can upload files from your local computer or import them from Object Storage Service (OSS). |
Processing policy | Determines how data is parsed and chunked. The system provides a Default policy (intelligent chunking with a maximum length of 512 characters). You can also create custom policies. |
Chunk | The smallest retrieval unit produced by applying a processing policy to data. Retrieval results are returned at the chunk level. |
Version | A snapshot of knowledge base content. After data changes, use Publish version to publish the changes. During retrieval, use a version number (such as |
Supported data formats
When you create a knowledge base, select a data type: Multimodal knowledge base or Structured knowledge base. You cannot change the data type after creation. A Multimodal knowledge base supports the following formats:
mp4, mp3, png, pdf, ppt, txt, markdown, docs, xlsx, csv, jsonl, faq
File names should reflect the document topic, and document content should include complete titles and context. This helps improve retrieval accuracy.
Common scenarios
Intelligent customer service
Import product manuals, frequently asked questions, service policies, and troubleshooting guides. Semantic retrieval understands different ways of phrasing a question and improves the retrieval hit rate for long-tail questions. Retrieval results include matching data and source excerpts so that customer service representatives can verify the evidence. Knowledge updates take effect through version publishing, which reduces the risk of inconsistent information.
Internal knowledge assistant
Consolidate policies, business processes, meeting minutes, project materials, and technical documents from different departments. Employees can use natural language questions to find information without remembering exact titles or keywords, and can connect related information across multiple materials.
Industry document retrieval
Process regulations, standards, reports, bid documents, and manuals in different formats for industries such as finance, government, manufacturing, and healthcare. Identify specialized concepts and contextual conditions, aggregate relevant excerpts across data, and retain source references for verification.
In demanding scenarios such as compliance and healthcare, retrieval and generation results serve only as supporting materials. Qualified professionals must make the final decisions.
Personal knowledge base
Upload personal documents, notes, and other materials to retrieve information and answer questions based on your accumulated knowledge. For instructions, see Build a personal knowledge Q&A application.
Supported regions
Knowledge bases are currently available in China (Hangzhou), China (Beijing), China (Zhangjiakou), and China (Shenzhen). The Knowledge base service entry in the left-side navigation pane is visible in all regions, but the service is available only in the preceding regions. If you click the entry in another region, you are returned to the console overview page.
Knowledge bases are currently in invitation-only testing. Your Alibaba Cloud account must be added to the allowlist before you can use the service. To apply for a free trial, contact technical support.
Limits
A knowledge base name must be 2 to 64 characters in length, cannot contain Chinese characters, and must be unique within the tenant.
When you create a knowledge base, you can predefine tag fields in Advanced configuration. Each knowledge base supports up to 180 fields. Tags are assigned when data is imported and can be used to filter retrieval results.
When you create a knowledge base, you must select resource specifications (the current minimum is 4 CU, with 4 vCPUs and 16 GiB of memory) and network settings (a virtual private cloud and a vSwitch). You can adjust the resource specifications on the details page after creation.
Perform management operations, such as publishing versions and importing data, in the console.
To associate business objects or read materials by topic, use Knowledge construction to generate knowledge graphs or Wiki content.
Next steps
Build an end-to-end knowledge question-answering application: Build a personal knowledge Q&A application