From 79765fb803f1885eafe3c16b1308e4acf4c3a4b4 Mon Sep 17 00:00:00 2001 From: Prathamesh Date: Thu, 30 May 2024 11:20:10 +0530 Subject: [PATCH] Refactored multimodal parser --- .../parsers/{multimodal/parser.py => multimodalparser.py} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename backend/modules/parsers/{multimodal/parser.py => multimodalparser.py} (98%) diff --git a/backend/modules/parsers/multimodal/parser.py b/backend/modules/parsers/multimodalparser.py similarity index 98% rename from backend/modules/parsers/multimodal/parser.py rename to backend/modules/parsers/multimodalparser.py index 68262663..3e4a805b 100644 --- a/backend/modules/parsers/multimodal/parser.py +++ b/backend/modules/parsers/multimodalparser.py @@ -60,7 +60,7 @@ def __init__( self.max_chunk_size = max_chunk_size self.chunk_overlap = chunk_overlap - # Multi-modal parser needs to be configured with the base url, vision model and summary model + # Multi-modal parser needs to be configured with the openai compatible client url and vision model if "base_url" in additional_config: self.client = additional_config["base_url"] logger.info(f"Using custom base url..., {self.client}")