跳到正文
TakoAPI
返回技能列表

ragie-rag

由 hatim-be 提供

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

简介

Execute Retrieval-Augmented Generation (RAG) using Ragie.ai.

描述

该技能的功能

Connects an AI agent to Ragie.ai to perform retrieval-augmented generation. Handles the full lifecycle: ingesting files or URLs, polling until documents are ready, retrieving relevant chunks, and constructing grounded answers that cite source documents.

Ragie offloads chunking, embedding, vector indexing, and optional reranking so the agent only needs to handle ingestion triggers and prompt construction.

何时使用

  • Ask questions about uploaded policy or compliance documents
  • Ingest a PDF and query its contents without manual parsing
  • Check which documents are indexed and delete outdated ones
  • Answer support questions grounded in a product knowledge base
  • Retrieve context from partitioned tenant data in a multi-user system

示例工作流

输入

User asks: 'What does our refund policy say about digital products?'

智能体
  1. 1

    Run retrieve.py with the user question and --rerank flag

  2. 2

    Receive scored chunks with document_name and text fields

  3. 3

    Concatenate chunk text into a grounded system prompt

  4. 4

    Generate answer using only the retrieved context

  5. 5

    Cite the document_name for each factual claim in the response

输出

A grounded answer referencing the specific document, or an explicit statement that the information is not in the knowledge base

前置要求

  • RAGIE_API_KEY environment variable
  • Ragie.ai account at https://app.ragie.ai

安装

clawhub install hatim-be/ragie-rag

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

链接