Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

bailian-knowledge-retrieve

bởi krisyejh

Coding Agents & IDEs
291Lượt tải do clawskills.sh công bố
1Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

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

Mô tả

Kỹ năng này làm gì

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.

Khi nào nên dùng

  • 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

Quy trình ví dụ

ĐẦU VÀO

User asks: 'What is our refund policy?'

AGENT
  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

ĐẦU RA

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

Yêu cầu

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

Cài đặt

clawhub install krisyejh/bailian-knowledge-retrieve

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết