chat-format
यह क्या करती है
यह स्किल chat संदेशों की सूची को उस सटीक टेक्स्ट फ़ॉर्मेट में बदलती है जो एक लोकल AI मॉडल चाहता है। यह उन लोगों के लिए है जो अपने कंप्यूटर पर AI मॉडल चलाते हैं और सही फ़ॉर्मेट वाले prompts चाहते हैं।
कब इस्तेमाल करें
- ✓जब आप लोकल मॉडल चलाते हैं और prompt उसके template फ़ॉर्मेट में चाहिए।
- ✓जब आपको एक छोटा router चाहिए जो सवाल को कुछ नामित intents में से एक तक भेजे।
- ✓जब आप llama.cpp, Ollama या किसी ऐसे लोकल runtime के लिए prompts तैयार कर रहे हैं।
Skill का लिंक
https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-ruvllm/skills/chat-format/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मेरे लोकल llama3 मॉडल के लिए इस chat को prompt के रूप में फ़ॉर्मेट कीजिए।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
स्किल संदेश और template का नाम लेकर फ़ॉर्मेट किया हुआ टेक्स्ट लौटाती है। वह कोई मॉडल नहीं बुलाती। वैकल्पिक router में सिर्फ़ कुछ patterns होते हैं और वह intents के बीच चुनने के लिए है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Chat Format
Format prompts for multi-provider LLM inference with context retrieval.
When to use
When you need a prompt string in a local model's chat template (for llama.cpp, Ollama or another local runtime), or a small embedding-based router over a handful of patterns. It does not call a model and it does not format for hosted APIs: Anthropic, OpenAI and Gemini take structured messages, not a template string.
Steps
- Format chat — call
mcp__plugin_ruflo-core_ruflo__ruvllm_chat_formatwithmessages([{role, content}]) andtemplate: one ofllama3,mistral,chatml,phi,gemma, or a model id to auto-detect. Both fields are required. It returns the formatted string. It needs@ruvector/ruvllm-wasm(npm i -g @ruvector/ruvllm-wasm); without it the call fails with an install hint. - Create a router (optional) —
ruvllm_hnsw_createwithdimensions(for example 384),maxPatterns,efSearch. The WASM router holds about 11 patterns at most (ruvllm-wasm v2.0.1), so use it for routing between a few named intents, not for document retrieval. For real document search usememory_searchor theruflo-rag-memoryplugin. - Add patterns —
ruvllm_hnsw_addwithrouterId, aname, and anembeddingwhose length equals the router's dimensions (you produce the embedding, for example withembeddings_generate). - Route a query —
ruvllm_hnsw_routewithrouterId, the queryembedding, andk(default 3). - Check status —
ruvllm_statusshows whether the WASM module loaded. Routers live in the MCP server process only; they are gone when it restarts.
अक्सर पूछे जाने वाले सवाल
क्या यह होस्ट की गई AI APIs के साथ काम करती है?
नहीं। स्रोत के अनुसार होस्ट की गई APIs structured संदेश लेती हैं, template string नहीं।
router में कितने patterns रह सकते हैं?
अधिकतम लगभग ग्यारह, इसलिए यह दस्तावेज़ खोजने के बजाय कुछ intents के बीच routing के लिए ठीक है।
मुझे क्या इंस्टॉल होना चाहिए?
एक छोटा WASM add-on package, जो गायब होने पर इंस्टॉल करने को स्किल कहती है।
जानकारी
लेखक का मूल विवरण
Format chat messages in a local model's template (llama3, mistral, chatml, phi, gemma, or a model id) and route queries over a small WASM HNSW pattern index (about 11 patterns). Use when preparing prompts for local runtimes.
repo: ruvnet/ruflo
लोकप्रियता
- GitHub स्टार
- 81k
- रैंकिंग में स्थान
- #1689
- लाइसेंस
- MIT
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
agent-adaptive-coordinator
81kआपके एजेंट को काम बदलने पर AI एजेंटों के समूह को बाँटने और फिर से संतुलित करने में मदद करती है, और काम के हिसाब से लेआउट चुनती है।
agent-agent
81kआपके एजेंट को बड़े लक्ष्य को क्रमबद्ध कार्यों की योजना में बदलना सिखाती है, और स्थिति बदलने पर योजना फिर से बनाना भी।
agent-agentic-payments
81kAI खरीदारी के लिए खर्च के आदेश मैनेज करने में मदद करती है, जिसमें खर्च की सीमा, समय अवधि, व्यापारी नियम और signed मंज़ूरियाँ शामिल हैं।
agent-analyze-code-quality
81kआपके एजेंट को कोड की गुणवत्ता जाँचने में मदद करती है, बिना फ़ाइलें बदले code smells, technical debt और refactoring के सुझाव खोजकर।
मिलती-जुलती skills
writing-skills
311kयह आपके एजेंट को नई स्किल लिखना और हर एक को पहले टेस्ट करना सिखाती है, यह जांचते हुए कि स्किल सच में उसका व्यवहार बदलती है।
writing-for-agents
310kAI एजेंट्स के लिए साफ़ निर्देश कैसे लिखें, यह समझाती है, जिसमें स्किल, AGENTS.md और CLAUDE.md फ़ाइलें शामिल हैं, ताकि एजेंट अनुमानित ढंग से व्यवहार करे।
bengali-nlp
280kयह आपके एजेंट को Bengali text प्रोसेस करने देता है। यह भाषा को समझने और उसके text को normalize करने जैसी उसकी खास बातों को संभालने में मदद करता है।