fix: update Docling call to generate figure caption #729 #none

This commit is contained in:
Christopher Kao
2025-04-15 00:37:36 -07:00
committed by GitHub
parent 54abe1a535
commit 6f4acc979c

View File

@@ -124,7 +124,7 @@ class DoclingReader(BaseReader):
else: else:
gen_caption_count += 1 gen_caption_count += 1
gen_caption = generate_single_figure_caption( gen_caption = generate_single_figure_caption(
img_base64, self.vlm_endpoint figure=img_base64, vlm_endpoint=self.vlm_endpoint
) )
# join the extractive and generative captions # join the extractive and generative captions