跳到正文
TakoAPI
返回技能列表

bailian-knowledge-retrieve

由 krisyejh 提供

Coding Agents & IDEs
291下载量由 clawskills.sh 提供
1浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Bailian KnowledgeBase(Provided by Alibaba ModelStdio) offers to retrieve any proprietary data.

描述

该技能的功能

Retrieves vectorized proprietary data from Alibaba Bailian hosted knowledge bases. Returns ranked, relevant document chunks suited for LLM consumption. Uses Bailian's embedding and rerank APIs under the hood.

Eliminates the need to manage your own vector database or embedding pipeline by using Alibaba's hosted infrastructure.

何时使用

  • Searching internal company documentation with a chatbot
  • Grounding LLM responses in proprietary product manuals
  • Querying a private FAQ database for customer support agents
  • Retrieving relevant policy documents during an AI workflow
  • Pulling context from a vectorized research archive

示例工作流

输入

User asks: 'What is our refund policy?'

智能体
  1. 1

    Receive user query as input

  2. 2

    Run retrieve.py with the query string against the configured knowledge base

  3. 3

    Receive top-N ranked document chunks as output

  4. 4

    Pass retrieved chunks as context to the LLM

  5. 5

    Generate a grounded response based on retrieved content

输出

Relevant policy document excerpts returned and used to answer the user's question accurately

前置要求

  • DASHSCOPE_API_KEY environment variable
  • KNOWLEDGEBASE_ID environment variable
  • Alibaba Cloud account with Bailian service enabled

安装

clawhub install krisyejh/bailian-knowledge-retrieve

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接