How to create index using custom chunking within the enrichment pipeline in Azure AI Search
When using the built-in SplitSkill in azure indexer pipeline, Azure AI Search automatically provides a chunk_id
field to each chunk, allowing them to be individually indexed. However, when replacing this step with a custom Web API skill that returns multiple chunks, the lack of a chunk_id
at the root of each chunk prevents the indexer from creating separate documents in the index. Although the pipeline runs error-free, no documents appear in the portal because the indexing process can't form properly keyed documents from the provided JSON structure.
How can I introduce chunk_id to the pipeline without getting the wrong output type error?