Create retrieval services that support multi-knowledge-base semantic search.
Creating a Retrieval Service
1
Enter the Knowledge Retrieval page
Log in to the console and go to Knowledge Service > Knowledge Retrieval.
2
Create a Service
Click Create Retrieval Service in the upper right corner, fill in the Service Name (required, up to 40 characters) and Description (optional, up to 200 characters), then click Confirm.
3
Bind Knowledge Bases
Click + Add to bind one or more knowledge bases (up to 15). Each knowledge base can be assigned a weight; higher weight means higher priority in the final ranking.
4
Configure Parameters
Configure global retrieval parameters (knowledge base routing, re-ranking model, max recall count). To set independent parameters for a single knowledge base, click the settings icon on the right side of that knowledge base.
5
Test and Publish
Enter a query in the dialogue window on the right to verify the returned chunks meet expectations, then click Publish. The retrieval service can only be used by applications after publishing.
- At least one knowledge base must exist with documents that have completed parsing.
- For multi-knowledge-base joint retrieval, all knowledge bases must be under the same business space.