协作头脑风暴
brainstorming
在实现前澄清需求、探索设计选择,并形成清晰的开发方向。
model-providers【开发与工程】Configure and troubleshoot Kotaemon LLM, embedding, reranking, web-search, local-model, and GraphRAG providers.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when a task involves Kotaemon model/provider setup: LLMs, embeddings, rerankers, local model servers, OpenAI-compatible endpoints, web search credentials, or GraphRAG model configuration.
.env, flowsettings.py, Resources UI, and manager database entries to provider specs for LLM, embedding, and reranking models.llama-cpp-python/GGUF, Cohere, VoyageAI, Google, Mistral, Groq, Anthropic, TEI, HuggingFace, and FastEmbed options.../app-deployment/SKILL.md for Docker/local launch, Gradio login, app data, PDF.js, update, migration, or general .env deployment checks.../rag-core/SKILL.md for programmatic RAG composition, Document/RetrievedDocument, vector index APIs, retrieval pipelines, reranker execution inside retrieval, QA, citations, and reasoning.../document-ingestion/SKILL.md for file readers, OCR/table parsers, splitters, metadata validation, and parser optional dependencies.../extensions/SKILL.md for adding custom providers, extra vendors, pages, components, templates, or plugin UI integrations..env seeds flowsettings.py; the Resources UI persists LLM, embedding, and reranking entries after the app database exists.references/provider-configuration.md to map provider choices to exact keys, manager names, class types, UI fields, and required packages.references/local-models.md before changing URLs: OpenAI-compatible entries use /v1/; native Ollama chat uses the non-/v1/ Ollama base.references/graphrag.md to choose MS GraphRAG vs NanoGraphRAG vs LightRAG and verify toggles, API key strategy, and custom settings.python scripts/check_provider_env.py --env-file .env --select openai --select embeddings
<YOUR_OPENAI_KEY>, your-key, dummy, and empty strings as not configured unless they are intentionally used for a local OpenAI-compatible endpoint..env registration is not the only source of truth after first run: existing app database rows in the Resources UI can override or outlive changed environment values./v1/ base URLs, api_key: ollama, and distinct chat/embedding model names; use references/local-models.md and the offline validator before trying network calls.GRAPHRAG_API_KEY, USE_CUSTOMIZED_GRAPHRAG_SETTING, local model base URLs, and settings.yaml shape without calling external services; route app launch fixes to ../app-deployment/SKILL.md.references/provider-configuration.md - provider map for env keys, class specs, managers, UI fields, web search, reranking, and optional packages.references/local-models.md - Ollama, Docker host URLs, OpenAI-compatible local servers, GGUF/llama-cpp-python, and local RAG tuning.references/graphrag.md - MS GraphRAG, NanoGraphRAG, LightRAG, toggles, custom settings, and model dependencies.references/troubleshooting.md - provider failure-mode decision tree and safe remediation steps.python skills/kotaemon/sub-skills/model-providers/scripts/check_provider_env.py --env-file .env --select auto
The validator reads .env-style files plus inherited environment values, redacts all key-like values, performs no network calls, and exits nonzero when selected providers have missing required pairs, placeholder keys, incompatible URL suffixes, or missing local GGUF paths.