返回顶部
a

anythingllm-rag

|

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
112
下载量
1
收藏
概述
安装方式
版本历史

anythingllm-rag

# 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 bash scripts/anythingllm.sh query "你的问题" ``` ### Upload a file ```bash bash scripts/anythingllm.sh upload /path/to/file.pdf ``` ### Upload raw text ```bash bash scripts/anythingllm.sh upload-text "文本内容" "文档标题" ``` ### List documents ```bash bash scripts/anythingllm.sh list-docs ``` ### Check API health ```bash 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

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 anythingllm-rag-1776127091 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 anythingllm-rag-1776127091 技能

通过命令行安装

skillhub install anythingllm-rag-1776127091

下载 Zip 包

⬇ 下载 anythingllm-rag v1.0.0

文件大小: 3.03 KB | 发布时间: 2026-4-14 13:43

v1.0.0 最新 2026-4-14 13:43
- Initial release of anythingllm-rag skill.
- Enables querying and searching of local/private documents through AnythingLLM's RAG API.
- Supports uploading files and raw text to the user's knowledge base.
- Responds to specific document-related phrases and defaults to the main model for unrelated queries.
- Provides command scripts for querying, uploading, listing documents, and health checks.
- Returns RAG-generated answers with cited sources.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部