Skip to content

Commit

Permalink
Update project mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
BenConstable9 committed Sep 19, 2024
1 parent 9c3d28c commit eb369e0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions deploy_ai_search/rag_documents.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,12 +217,13 @@ def get_index_projections(self) -> SearchIndexerIndexProjections:
),
InputFieldMappingEntry(
name="Figures",
source_context="/document/pages/*/figures/*",
inputs=[
InputFieldMappingEntry(
name="FigureID", source="/document/pages/*/figures/figureId"
name="FigureId", source="/document/pages/*/figures/*/figureId"
),
InputFieldMappingEntry(
name="FigureUri", source="/document/pages/*/figures/figureUri"
name="FigureUri", source="/document/pages/*/figures/*/figureUri"
),
],
),
Expand Down

0 comments on commit eb369e0

Please sign in to comment.