技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
configuration-data【数据与研究】Initialize, inspect, and troubleshoot GraphRAG settings, environment interpolation, auth, input readers, storage/cache/table providers, vector stores, and offline data readiness before indexing or querying.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when a task mentions settings.yaml, .env, GraphRagConfig, Azure/OpenAI auth, LiteLLM model settings, input file schemas, input_storage, output_storage, cache, table_provider, vector_store, LanceDB, Azure AI Search, Cosmos DB, or safe checks before running an index.
PipelineRunResult outputs to ../indexing/.../querying/.graphrag prompt-tune usage to ../prompt-tuning/.../package-extensions/.settings.yaml, settings.yml, or settings.json; graphrag init --root <project> generates the default settings.yaml and .env skeleton.completion_models and embedding_models with LiteLLM-compatible model_provider, model, auth_method, and either api_key or Azure managed identity fields.input.type and reader columns, then match input_storage.type and input_storage.base_dir or remote storage settings to the data source.output_storage, cache.storage, table_provider, and vector_store providers before indexing.python scripts/inspect_config.py --root <project>
python scripts/smoke_input_readers.py
../indexing/; do not run indexing just to validate settings.from graphrag.config.load_config import load_config loads settings.[yaml|yml|json] from a root and returns GraphRagConfig.load_config(root_dir, cli_overrides={...}) recursively overlays CLI-style nested dictionaries before Pydantic validation.GraphRagConfig validates file base directories, resolves file paths, expands LanceDB db_uri, and overlays default vector schemas for GraphRAG embeddings.graphrag init --root <project> writes default config content with ${GRAPHRAG_API_KEY} interpolation and common prompt file paths.graphrag index --root <project> belongs to ../indexing/ after this sub-skill has checked prerequisites.text, csv, json, jsonl, markitdown, and parquet through graphrag_input.create_input_reader.file, memory, blob, and cosmosdb via StorageConfig, depending on the section using it.json, memory, and none; JSON cache uses a nested storage block.parquet, csv, and cosmosdb through table_provider.type.lancedb, azure_ai_search, and cosmosdb through vector_store.type.references/config-schema-and-env.md for GraphRagConfig, model auth, .env, and validation behavior.references/input-storage-cache-vector.md for reader schemas and storage/cache/table/vector provider settings.references/troubleshooting.md for common validation failures and doc/code drift traps.scripts/inspect_config.py loads a project config and prints a JSON summary with secret-like values redacted.scripts/smoke_input_readers.py creates tiny temporary text, csv, json, jsonl, and optional parquet inputs and reports local reader readiness without credentials or network access.