Super Brain Skill
Use this skill as a thin entry layer for the super_intelligent_brain backend service.
Keep the division of responsibility stable:
- Use this skill to decide which user action is needed.
- Call the backend
/skill/brain/*APIs throughscripts/super_brain_client.py. - Let the backend own retrieval, ingest, job orchestration, auth, and storage details.
Default workflow
- If the user asks a question about existing enterprise knowledge, call
ask. - If the user wants to upload or register new material, call
ingest. - If ingest is asynchronous, return
job_idand then callget_jobwhen asked for progress. - If the user wants to inspect accessible libraries or documents, call
list_kbs,list_docs, orget_doc.
Scope selection
Prefer shared when the knowledge is team-level and already exists in the shared Milvus collection.
Prefer private when the data belongs only to one user or when the user explicitly asks for a personal library.
When using shared, send team_id if the host can provide it, so the request lands on the correct team-scoped library.
Answering rules
If the backend returns a knowledge-grounded answer with citations, present that answer directly.
If the backend returns a fallback LLM answer and the notice says the knowledge base had no hits, make that clear to the user instead of pretending it came from the knowledge base.
If the host requires knowledge-only answers, set strict_kb=true in ask.
Configuration
The Python client reads these environment variables:
SUPER_BRAIN_BASE_URLSUPER_BRAIN_SKILL_AUTH_HEADERSUPER_BRAIN_SKILL_AUTH_CODESUPER_BRAIN_TIMEOUT_SECS
See references/install-config.md for install-time config, references/api-usage.md for the request mapping, and references/examples.md for concrete examples.
微信扫一扫