मुख्य सामग्री पर जाएँ
Skillpedia
प्रॉम्प्ट और LLM81k · #1689

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 पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-ruvllm/skills/chat-format/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

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

  1. Format chat — call mcp__plugin_ruflo-core_ruflo__ruvllm_chat_format with messages ([{role, content}]) and template: one of llama3, 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.
  2. Create a router (optional) — ruvllm_hnsw_create with dimensions (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 use memory_search or the ruflo-rag-memory plugin.
  3. Add patterns — ruvllm_hnsw_add with routerId, a name, and an embedding whose length equals the router's dimensions (you produce the embedding, for example with embeddings_generate).
  4. Route a query — ruvllm_hnsw_route with routerId, the query embedding, and k (default 3).
  5. Check status — ruvllm_status shows 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

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

agent-adaptive-coordinator

81k

आपके एजेंट को काम बदलने पर AI एजेंटों के समूह को बाँटने और फिर से संतुलित करने में मदद करती है, और काम के हिसाब से लेआउट चुनती है।

AI और एजेंटएजेंट

agent-agent

81k

आपके एजेंट को बड़े लक्ष्य को क्रमबद्ध कार्यों की योजना में बदलना सिखाती है, और स्थिति बदलने पर योजना फिर से बनाना भी।

AI और एजेंटएजेंट

agent-agentic-payments

81k

AI खरीदारी के लिए खर्च के आदेश मैनेज करने में मदद करती है, जिसमें खर्च की सीमा, समय अवधि, व्यापारी नियम और signed मंज़ूरियाँ शामिल हैं।

AI और एजेंटएजेंट

agent-analyze-code-quality

81k

आपके एजेंट को कोड की गुणवत्ता जाँचने में मदद करती है, बिना फ़ाइलें बदले code smells, technical debt और refactoring के सुझाव खोजकर।

कोडिंगसामान्य कोडिंग

मिलती-जुलती skills