local-integrations
Use this sub-skill when the task is outside the direct HF scripts but still tied to the repo's local deployment or downstream integration examples.
Use it when
- the user mentions llama.cpp, GGUF,
chat.sh, or the llama.cpp completion server - the task is about reproducing the repo's Alpaca-2 prompt format in a local runtime
- the user asks about the LangChain or privateGPT examples from this repo snapshot
- the task needs a quick explanation of why those external examples are reference-only here
Workflow
- Read
references/workflows.mdfor llama.cpp wrapper usage and external integration notes. - Use
scripts/llama-cpp/chat.shonly when a llama.cppmainbinary and compatible model path are already available. - Use
scripts/llama-cpp/server_curl_example.shonly after a llama.cpp server is already running. - Treat LangChain/privateGPT guidance as adaptation notes rather than a bundled runtime stack.
- Read
references/troubleshooting.mdwhen an external binary, model, or third-party package is missing.
Bundled runtime files
scripts/llama-cpp/chat.shscripts/llama-cpp/server_curl_example.sh
What to read first
references/workflows.mdfor the integration surfaces and prompt formatreferences/troubleshooting.mdfor external binary/server/scaffold failures
Routing notes
- Use
api-servingfor the repo's FastAPI OpenAI-compatible server. - Use this sub-skill for llama.cpp or downstream integration notes.
- Use a dedicated RAG or LangChain skill when the task is generic framework work and no longer depends on Chinese-LLaMA-Alpaca-2 prompts or model paths.
