Configures Azure AI Search as the vector indexing and retrieval backend for CrestApps Orchard Core AI Documents. Covers index profiles, chunk mappings, embedding deployments, vector search, and scoped RAG results.
Ships in crestapps-orchardcore. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You are an Orchard Core expert. Configure Azure AI Search as the vector indexing and retrieval backend for CrestApps AI Documents. Preserve the provider-managed mappings and configure an embedding deployment before creating an index.
CrestApps.OrchardCore.AI.Documents.AzureAI.ChatInteractionsConstants.Feature.ChatDocuments, OrchardCore.Indexing, and OrchardCore.AzureAI. The base AI Documents capability is enabled by dependency.AzureAISearchConstants.ProviderName; do not resolve an unkeyed replacement when extending the pipeline.CrestApps.OrchardCore.AI.Documents.AzureAI in the web or startup project and protect Azure credentials through secret configuration.| Registration | Purpose |
|---|---|
AIDocumentAzureAISearchIndexProfileHandler | Establishes and normalizes provider-specific Azure AI Search mappings. |
AIDocumentAzureAISearchDocumentIndexHandler | Builds the provider document from document chunk records. |
AzureAISearchVectorSearchService | Performs filtered vector similarity search for RAG. |
AddAzureAISearchIndexingSource | Adds AI documents (Azure AI Search) to Search > Indexes. |
{
"steps": [
{
"name": "Feature",
"enable": [
"CrestApps.OrchardCore.AI.Documents.ChatInteractions",
"CrestApps.OrchardCore.AI.Documents.AzureAI",
"OrchardCore.AzureAI"
],
"disable": []
}
]
}
Enable the PDF or OpenXml features separately when those file formats must be extracted. They are optional processors and not dependencies of this index provider.
textEmbedding capability. The
picker lists deployments in the embedding slot only (see orchardcore-ai-model-capabilities).DataSourceIndexProfileMetadata.EmbeddingDeploymentName and locked once the index exists.The embedding deployment determines vector dimensions: the handler embeds a sample text to measure them, and falls back to 1536 when it cannot. A model dimension change requires a compatible new index and reindexing.
AIDocumentAzureAISearchIndexProfileHandler owns these fields:
| Field | Mapping |
|---|---|
chunkId | Text, key, and filterable |
documentId | Text and filterable |
content | Text and searchable |
fileName | Text and filterable |
referenceId | Text and filterable |
referenceType | Text and filterable |
chunkIndex | Integer |
embedding | Vector, searchable, HNSW profile default |
The handler computes embedding dimensions from the selected deployment. It configures
the default vector profile to use default-hnsw, preserves custom mappings, and
normalizes duplicate managed mappings when an existing profile is loaded or saved.
Do not manually add a second managed mapping to work around an index issue.
AzureAISearchVectorSearchService converts the prompt embedding to a
VectorizedQuery against the embedding field. Every search is constrained by:
referenceIdreferenceTypeIt selects the chunk ID, document ID, content, file name, and chunk index, orders the
returned chunks by descending Azure score, and returns at most the requested topN.
These reference filters prevent document chunks from unrelated chat, profile, or
session contexts from entering the RAG prompt.
IVectorSearchService.Azure AI Search connection details belong in secure Orchard Core Azure AI Search configuration. Then use the index profile UI to select a connection and embedding deployment; avoid hard-coding an index name into application code.
{
"steps": [
{
"name": "Feature",
"enable": [
"CrestApps.OrchardCore.AI.Documents.Profiles",
"CrestApps.OrchardCore.AI.Documents.AzureAI"
],
"disable": []
}
]
}
This example enables profile-scoped documents plus the backend. It intentionally does not require Azure Blob Storage because file storage and vector indexing are independent.
| Symptom | Check |
|---|---|
| No AI Documents index source | Confirm OrchardCore.Indexing, OrchardCore.AzureAI, and the exact backend feature are enabled. |
| Index creation cannot select embeddings | Declare textEmbedding on an embedding deployment; chat deployments are not offered. |
| Search returns no chunks | Verify indexed chunks exist, the vector dimensions match the profile, and the reference ID and type match the requesting context. |
| Managed fields duplicate after editing | Reopen and save the profile. The handler normalizes duplicate managed mappings while retaining custom fields. |
| Azure request failure | Check endpoint, credential, network access, index name, and Azure Search service logs. |
| Documents upload but do not answer questions | Confirm an active document index profile and a valid context feature, then reprocess or reindex existing documents. |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
orchard-core, azure-ai-search, vector-search, rag, document-indexing
/crestapps-orchardcore:orchardcore-ai-documents-azureaifrom crestapps-orchardcore
npx claudepluginhub crestapps/crestapps.agentskills --plugin crestapps-orchardcore137 skills in this plugin
/orchardcore-accountsSkill for the CrestApps Orchard Core Accounts module (CrestApps.OrchardCore.Accounts) with its Account Members, Account Team, Account E-mail Domains and Account Locations features. Covers the Account type and AccountPart, the account picker and search, IAccountChildTypeRule, account page sections (AccountPageTabs, AddPageSection, Notes), members and IAccountMemberService, account invitations, the account owner and team picked from staff, e-mail domains, locations with a billing location, the account's billing profile and party members, the Accounts recipe and deployment steps, and the admin menu. Use this skill when requests mention accounts, the businesses or households records belong to, an account page tab, members, invitations, owners, domains or locations. Strong matches include AccountPart, AccountPageTabs, IAccountMemberService, IAccountInvitationService, AccountInvitation, AccountTeamPart, AccountEmailDomainsPart, IAccountEmailDomains, AccountLocationsPart and ManageAccountMembers./orchardcore-accounts-b2bSkill for the CrestApps Orchard Core Accounts B2B module (CrestApps.OrchardCore.Accounts.B2B), business selling on an Account content item. Covers B2BAccountPart and B2BAccount, buyers as account members and ship-to addresses as account locations, terms (deposit, net days, credit limit) through the account-terms tender billed to the account, the account's billing profile, purchase order numbers, quotes, price lists through IBuyerPriceProvider, order limits, approvals and budgets, OCI punchout, the account/business page and API, the PriceLists recipe and deployment steps, the B2BAccounts report source, and the move from the removed Companies module. Use this skill when requests mention B2B, wholesale or business buyers, net terms, purchase orders, price lists, order approvals or punchout. Strong matches include B2BAccountPart, B2BAccount, AccountTerms, AccountTermsTenderProvider, B2BAccountBillingProfileSource, IB2BAccountStore, PriceList, B2BPriceProvider, B2BApprovalService and ManageB2BAccounts.Other plugins' skills for the same job