alibabacloud-bailian-rag-knowledgebase

Query Alibaba Bailian knowledge bases and retrieve scored content chunks.

213|24|Updated Mar 12, 2026
One-click install
npx skills add https://github.com/aliyun/alibabacloud-aiops-skills --skill alibabacloud-bailian-rag-knowledgebase
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: alibabacloud-bailian-rag-knowledgebase
Source: https://github.com/aliyun/alibabacloud-aiops-skills/tree/main/skills/aiml/sfm/alibabacloud-bailian-rag-knowledgebase
Command: npx skills add https://github.com/aliyun/alibabacloud-aiops-skills --skill alibabacloud-bailian-rag-knowledgebase

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @alicloud/bailian20231229, @alicloud/modelstudio20260210, @alicloud/openapi-client, @alicloud/credentials, @alicloud/tea-util, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill enables querying and retrieving knowledge-base content from Alibaba Bailian across one or more workspaces and indices, helping teams quickly answer questions with relevant knowledge from their Bailian knowledge bases.

Core Features & Use Cases

  • Retrieve lists of knowledge bases by workspace and index, enabling targeted search and QA workflows.
  • Select 1-3 relevant knowledge bases based on user queries, then fetch content chunks with relevance scores for accurate answer assembly.
  • Integrate with AI agents to answer questions, summarize documents, or extract specific information from knowledge bases.

Quick Start

Query a Bailian knowledge base by supplying a workspaceId, an indexId, and a search query to retrieve relevant knowledge chunks.

Frequently Asked Questions about alibabacloud-bailian-rag-knowledgebase

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I retrieve knowledge-base content from Alibaba Bailian across multiple workspaces?

To retrieve knowledge-base content from Alibaba Bailian, you query specific workspaces and indices by supplying a workspaceId, an indexId, and a search query. The Skill then selects 1-3 relevant knowledge bases and fetches content chunks with relevance scores.

What credentials do I need to query a Bailian knowledge base via the SDK?

Querying a Bailian knowledge base requires Alibaba Cloud credentials configured via the default credential chain. You must activate the Bailian service and grant AliyunBailianFullAccess and AliyunModelStudioReadOnlyAccess permissions to your account.

Can I use this Skill to integrate knowledge-base retrieval with my AI agent?

Yes, you can integrate knowledge-base retrieval with AI agents to answer questions, summarize documents, or extract specific information. The Skill fetches relevant content chunks with scores for accurate answer assembly within your workflows.

What npm packages are required for Bailian knowledge-base retrieval?

Bailian knowledge-base retrieval requires installing several npm packages including @alicloud/bailian20231229, @alicloud/openapi-client, @alicloud/credentials, and @alicloud/tea-util to enable SDK authentication and API communication.

How does the knowledge base selection process work for user queries?

The knowledge base selection process evaluates a user query and selects 1-3 relevant knowledge bases from your configured indices. It then retrieves specific content chunks accompanied by relevance scores to consolidate accurate answers.

Does knowledge-base retrieval work with multiple indices simultaneously?

Yes, knowledge-base retrieval supports querying across one or more workspaces and indices. You supply the specific workspaceId and indexId parameters to target and retrieve content chunks from the designated knowledge bases.