技能 人工智能 LLM提示词格式化与上下文检索

LLM提示词格式化与上下文检索

v20260716
chat-format
本工具用于为不同的大型语言模型(如GPT、Claude、Gemini等)格式化聊天提示词。它支持构建强大的检索增强生成(RAG)流程,通过HNSW技术进行高效的上下文检索。用户可完成提示词格式化、文档索引、上下文路由和状态检查等全链路操作。
获取技能
488 次下载
概览

Chat Format

Format prompts for multi-provider LLM inference with context retrieval.

When to use

When preparing prompts for different LLM providers (Claude, GPT, Gemini, Ollama) or building RAG pipelines with HNSW-powered context retrieval.

Steps

  1. Format chat — call mcp__plugin_ruflo-core_ruflo__ruvllm_chat_format with messages and target provider
  2. Create HNSW index — call mcp__plugin_ruflo-core_ruflo__ruvllm_hnsw_create for context retrieval
  3. Add documents — call mcp__plugin_ruflo-core_ruflo__ruvllm_hnsw_add to index documents
  4. Route query — call mcp__plugin_ruflo-core_ruflo__ruvllm_hnsw_route to find relevant context
  5. Check status — call mcp__plugin_ruflo-core_ruflo__ruvllm_status for provider availability

Supported providers

  • Anthropic (Claude) — native format
  • OpenAI (GPT) — chat completion format
  • Google (Gemini) — generative AI format
  • Ollama — local model format
  • Cohere — generate/chat format
信息
Category 人工智能
Name chat-format
版本 v20260716
大小 1.43KB
更新时间 2026-07-18
语言