Foundry IQ 知识库管理
foundry-iq
Foundry IQ 知识库。适用时机:让本地或 Blob 文档可被搜索;创建/诊断知识库;对不支持的连接器或多源知识库的创建/重新配置进行分类处理;将现有知识库连接到智能体(包括多源知识库);创建/复用 Search 服务;从现有知识库检索带引用的内容;无需品牌词。在查询/目标类问题前先阅读其流程说明。不适用:其他知识库提供商、存储库文件搜索、不涉及 Foundry IQ 知识库或连接器请求的经典 Azure AI Search 索引/查询/应用类工作、通用智能体创建。
- License 许可
- MIT
- 最近更新
- 2026-11-14
- Stars
- ★ 264
- Forks
- 225
01 前言 Front Matter
- name
- foundry-iq
- license
- MIT
- metadata
- { "author": "Microsoft", "version": "0.0.0-placeholder" }
- description
- Foundry IQ knowledge bases. WHEN: make local or Blob documents searchable; create/diagnose KBs; triage unsupported connectors or multi-source KB creation/reconfiguration (even with classic-search terms); connect existing KB to agents (including multi-source KBs); create/reuse a Search service; retrieve from an existing knowledge base with citations; no brand words needed. Read its procedure before query/target questions. NOT: other KB providers, repository-file search, classic Azure AI Search index/query/app work with no Foundry IQ KB or connector request, generic agent creation.
- compatibility
- Azure
02 资源文件 93
- 参考文档agents/connect-hosted-toolbox.md7.8 KB
- 参考文档agents/connect-hosted.md7.8 KB
- 参考文档agents/connect-prompt-sdk-fallback.md7.8 KB
- 参考文档agents/connect.md7.8 KB
- 参考文档agents/create-missing-agent.md7.8 KB
- 资产文件assets/reference-ci.md1.3 KB
- 资产文件assets/reference-driver-impl.md1.8 KB
- 资产文件assets/reference-driver.md4.5 KB
- 脚本helpers/_blob_observation.py4.4 KB
- 脚本helpers/_blob_source_read.py39.5 KB
- 脚本helpers/_bootstrap_io.py30.1 KB
- 脚本helpers/_cleanup_dependencies.py27.5 KB
- 脚本helpers/_cleanup_receipts.py13.5 KB
- 脚本helpers/_common.py36.2 KB
- 脚本helpers/_document_adapters.py15.0 KB
- 脚本helpers/_document_limits.py3.9 KB
- 脚本helpers/_embedding.py7.0 KB
- 脚本helpers/_file_inventory.py24.4 KB
- 脚本helpers/_file_source_config.py15.6 KB
- 脚本helpers/_indexer_observation.py7.1 KB
- 脚本helpers/_initial_prompt.py12.5 KB
- 脚本helpers/_private_json.py2.4 KB
- 脚本helpers/_progress.py12.1 KB
- 脚本helpers/_prompt_read.py17.7 KB
- 脚本helpers/_search_read.py6.0 KB
- 脚本helpers/_source_readback.py1.6 KB
- 脚本helpers/blob_inventory.py17.1 KB
- 脚本helpers/blob_recheck.py64.6 KB
- 脚本helpers/blob_source.py35.8 KB
- 参考文档helpers/blob-contracts.md7.8 KB
- 参考文档helpers/blob-cu-contracts.md7.8 KB
- 脚本helpers/bootstrap_azure.py41.5 KB
- 参考文档helpers/bootstrap-contracts.md7.8 KB
- 脚本helpers/cleanup_plan.py41.4 KB
- 参考文档helpers/contracts.md7.8 KB
- 脚本helpers/cu_ingestion_auth.py12.5 KB
- 脚本helpers/document_assess.py14.0 KB
- 参考文档helpers/document-assessment.md7.8 KB
- 脚本helpers/file_cu_canary.py32.7 KB
- 脚本helpers/file_cu_mi.py9.6 KB
- 脚本helpers/file_ingest.py15.4 KB
- 脚本helpers/file_source.py31.7 KB
- 脚本helpers/file_upload.py53.7 KB
- 参考文档helpers/file-upload-recovery.md7.8 KB
- 脚本helpers/hosted_connect.py30.8 KB
- 参考文档helpers/kb-contracts.md7.8 KB
- 脚本helpers/knowledge_base_retrieve.py7.7 KB
- 脚本helpers/model_discovery.py23.7 KB
- 参考文档helpers/model-discovery-contracts.md7.8 KB
- 参考文档helpers/model-discovery-scopes.md7.8 KB
- 脚本helpers/private_artifacts.py4.8 KB
- 参考文档helpers/private-artifacts.md7.2 KB
- 脚本helpers/prompt_cleanup.py22.0 KB
- 脚本helpers/prompt_connect.py62.3 KB
- 参考文档helpers/requirements-assessment.txt103 B
- 脚本helpers/retrieval_verify.py19.6 KB
- 参考文档helpers/retrieval-verification-contracts.md7.8 KB
- 脚本helpers/search_intake.py18.4 KB
- 脚本helpers/search_reconcile.py59.7 KB
- 参考文档helpers/search-intake-contracts.md7.6 KB
- 脚本helpers/source_vector.py33.2 KB
- 参考文档helpers/throttle-recovery.md5.0 KB
- 参考文档helpers/vector-contracts.md7.8 KB
- 参考文档knowledge-bases/create.md8.1 KB
- 参考文档knowledge-bases/retrieve.md7.8 KB
- 参考文档knowledge-sources/create-azure-blob.md7.8 KB
- 参考文档knowledge-sources/create-file.md7.8 KB
- 参考文档lifecycle/cleanup.md7.8 KB
- 参考文档references/abstention.md1.0 KB
- 参考文档references/blob-binding-evidence.md7.8 KB
- 参考文档references/blob-indexer-observation.md7.7 KB
- 参考文档references/blob-ingestion-progress.md6.5 KB
- 参考文档references/blob-readiness-recheck.md7.8 KB
- 参考文档references/blob-vector-readiness.md2.6 KB
- 参考文档references/bootstrap-azure.md7.8 KB
- 参考文档references/content-fit.md7.8 KB
- 参考文档references/cu-ingestion.md7.8 KB
- 参考文档references/documentation-navigation.md5.9 KB
- 参考文档references/driver-contracts.md6.6 KB
- 参考文档references/file-cu-canary.md7.8 KB
- 参考文档references/frontmatter-and-tags.md6.7 KB
- 参考文档references/intent-routing.md7.7 KB
- 参考文档references/owner.md2.1 KB
- 参考文档references/platform-contracts.md7.7 KB
- 参考文档references/platform-interfaces.md7.8 KB
- 参考文档references/resource-intake.md7.8 KB
- 参考文档references/search-substrate.md7.8 KB
- 参考文档references/specifications.md2.6 KB
- 参考文档references/standard-cu.md7.8 KB
- 参考文档references/terminology-and-limits.md4.0 KB
- 参考文档search-services/create.md7.8 KB
- 参考文档troubleshooting/diagnose.md8.7 KB
- 参考文档version.json55 B
03 SKILL.md 正文
Foundry IQ
Read one procedure before questions/actions; invocation is not a read.
Read the owning procedure before blocked/unsupported responses too.
Before mutation plans/approval, successfully read its required pre-action references, selected
branches only. Do not reload successful reads. On failure, try only permitted
bounded exact-path reads with any supported reader; never bypass restrictions
or search broadly. If still unavailable: blocked: reference-unavailable, name
missing references and inability to plan. Never invent requirements/plans.
Failures first.
Cleanup and receipt-backed execution go directly to their lifecycle/producer owner; do not reopen Search intake, provisioning or hardening.
Before expensive service discovery, reuse supplied resource/intent; otherwise ask one early USE EXISTING / FIND CANDIDATES / CREATE NEW choice. Only FIND enumerates; supplied identity uses exact/minimum scoped resolution. CREATE checks its proposed name, not existing-service inventories. Preserve these answers across source/KB/CU/model handoffs; selection is not write approval.
Searchable docs: KB + validated retrieval. Confirm intent once; KS-only must be explicit. Child success is not KB completion. Unclear/compound/mode/completion: read.
Route by requested operation, not existing KB source count. Connecting an existing KB with two or more sources, without changing the KB, uses Connect. Read-only operations use their owning procedure and actual helper constraints; this does not add retrieval modes or supported source kinds. Explicit unsupported provisioning or multi-source KB creation/reconfiguration uses Diagnose and stops before discovery, even when connecting an agent is also requested. This routing takes precedence over classic-search terms (e.g. hybrid search) in compound requests. Never end in a plain refusal: Diagnose gives the boundary, docs pointer and agent handoff; writes still need an approved concrete plan. Do not silently execute only the supported part of a compound request. If existing-KB connection versus KB creation/reconfiguration is unclear, read intent-routing and clarify that scope before Azure discovery. Never infer KB mutation.
| Outcome | Read |
|---|---|
| Cleanup | Plan cleanup |
| Failure/drift | Diagnose |
| Unsupported connector provisioning / multi-source KB creation or reconfiguration | Diagnose |
| Connect | Connect |
| Read KB | Query |
| Search only | Search |
| File KS only | File |
| Blob/ADLS KS only | Blob |
| Searchable/KB | KB |
Generic agents: microsoft-foundry.
Reads: no approval; approve unchanged plans before writes.
Hide hashes. No Search/Storage keys, scope widening, guessed identity/boundaries,
drift repair or joint cleanup/creation approval. Acceptance != success.
04 同仓库更多 Skills
azure-advisor-cost-optimization
Analyze Azure Advisor Cost/IdleResources findings and prevalidate deletion safety, including Service Groups. WHEN: "find unused Azure resources", "what resources am I paying for but no longer using", "idle-resource savings", "historical idle-resource savings", "are these idle resources safe to delete". Generic Cost, other subcategories, and cross-category requests use azure-advisor.
Python 应用 Azure 部署
python-appservice-deploy
将 Python(Flask/Django/FastAPI)代码部署到 Azure App Service Linux。触发条件:"Flask App Service"、"Django App Service"、"FastAPI App Service"、"将 Python 部署到 App Service"。不适用:Container Apps、Functions、非 Python、Terraform/Bicep/IaC、完整基础设施——请使用 azure-prepare。
Azure OpenAI 快速部署
preset
通过分析所有可用区域的容量,智能地将 Azure OpenAI 模型部署到最优区域。自动优先检查当前区域,并在需要时显示备选方案。适用于:快速部署、最优区域、最佳区域、自动区域选择、快速配置、多区域容量检查、高可用部署、部署到最佳位置。不适用于:自定义 SKU 选择(使用 customize)、特定版本选择(使用 customize)、自定义容量配置(使用 customize)、PTU 部署(使用 customize)。
Azure OpenAI 自定义部署
customize
具有完全自定义控制能力的 Azure OpenAI 模型交互式引导部署流程。逐步选择模型版本、SKU(GlobalStandard/Standard/ProvisionedManaged)、容量、RAI 策略(内容过滤器)以及高级选项(动态配额、优先处理、溢出)。适用于:自定义部署、定制模型部署、选择版本、选择 SKU、设置容量、配置内容过滤器、RAI 策略、部署选项、详细部署、高级部署、PTU 部署、预置吞吐量。不适用于:快速部署到最优区域(使用 preset)。
Azure OpenAI 模型容量查询
capacity
跨区域和跨项目发现可用的 Azure OpenAI 模型容量。分析配额限制、比较可用性,并根据容量需求推荐最佳部署位置。适用场景:查找容量、检查配额、可以在哪里部署、容量发现、容量最佳区域、多项目容量搜索、配额分析、模型可用性、区域比较、检查 TPM 可用性。不适用场景:实际部署(发现后转交给预设或自定义技能)、配额提升申请(引导用户前往 Azure 门户)、列出现有部署。
Azure OpenAI 模型部署
deploy-model
统一的 Azure OpenAI 模型部署技能,具备基于意图的智能路由。支持快速预设部署、完全自定义部署(版本 / SKU / 容量 / RAI 策略),以及跨区域和跨项目的容量发现。适用场景:部署模型、部署 gpt、创建部署、模型部署、部署 openai 模型、设置模型、配置模型、查找容量、检查模型可用性、可以在哪里部署、模型最佳区域、容量分析。不适用场景:列出现有部署(使用 foundry_models_deployments_list MCP 工具)、删除部署、创建智能体(使用 agent/create)、创建项目(使用 project/create)。