← 返回
未分类 Key

anythingllm-rag

Query local documents via AnythingLLM RAG (Retrieval-Augmented Generation). Use when the user asks about their private/local documents, PDFs, uploaded files,...
通过 AnythingLLM RAG(检索增强生成)查询本地文档。当用户询问私人/本地文档、PDF、上传文件等内容时使用。
tianmaomao tianmaomao 来源
未分类 clawhub v1.0.0 1 版本 99870.5 Key: 需要
★ 1
Stars
📥 751
下载
💾 1
安装
1
版本
#latest

概述

AnythingLLM RAG Skill

Query local/private documents through AnythingLLM's RAG API.

Configuration

Environment variables (set in TOOLS.md or shell):

  • ANYTHINGLLM_URL — default http://localhost:3001
  • ANYTHINGLLM_API_KEY — API token
  • ANYTHINGLLM_WORKSPACE — default workspace slug

Script location: scripts/anythingllm.sh

When to Use

Use AnythingLLM RAG when:

  • User asks about their local/private documents
  • User wants to search uploaded PDFs, DOCX, TXT files
  • User asks "what does X document say about Y"
  • User wants to upload documents to the knowledge base

Use default model when:

  • General knowledge questions
  • Questions not related to local documents
  • Coding, writing, analysis without document context

Commands

Query documents (RAG)

bash scripts/anythingllm.sh query "你的问题"

Upload a file

bash scripts/anythingllm.sh upload /path/to/file.pdf

Upload raw text

bash scripts/anythingllm.sh upload-text "文本内容" "文档标题"

List documents

bash scripts/anythingllm.sh list-docs

Check API health

bash scripts/anythingllm.sh health

Response Format

Query returns JSON with:

  • textResponse — the RAG-generated answer
  • sources — array of source documents used for context

Present the answer to the user, citing relevant sources when available.

Notes

  • Scripts are in the skill's scripts/ directory — use paths relative to skill location
  • API key and workspace are pre-configured
  • For PDF/DOCX queries, documents must be uploaded first

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-02 09:53 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

knowledge-management

Baidu web search

ide-rea
使用百度AI搜索引擎(BDSE)进行网络搜索。适用于获取实时信息、文档资料或研究课题。
★ 245 📥 107,457
knowledge-management

web-tools-guide

user_ec205dbb
MANDATORY before calling web_search, web_fetch, browser, or opencli. Contains required error-handling procedures (web_se
★ 66 📥 159,745
knowledge-management

Obsidian

steipete
操作 Obsidian 仓库(纯 Markdown 笔记)并通过 obsidian-cli 自动化。
★ 444 📥 104,881