Skip to content

Commit 6834517

Browse files
committed
Update how items are returned
1 parent ed6a7d1 commit 6834517

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

adi_function_app/adi_2_ai_search.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def build_and_clean_markdown_for_response(
7070

7171
# add page number when chunk by page is enabled
7272
if page_no is not None:
73-
output_dict["page_number"] = page_no
73+
output_dict["pageNumber"] = page_no
7474

7575
return output_dict
7676

@@ -347,7 +347,7 @@ async def process_figures_from_extracted_content(
347347
logging.info("Finished image upload tasks")
348348

349349
figures = [
350-
{"FigureId": figure_id, "FigureUri": figure_uri}
350+
{"figureId": figure_id, "figureUri": figure_uri}
351351
for figure_id, figure_uri in zip(figure_ids, figure_uris)
352352
]
353353

0 commit comments

Comments
 (0)