mb-rag 1.1.30__tar.gz → 1.1.31__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {mb_rag-1.1.30 → mb_rag-1.1.31}/PKG-INFO +1 -1
- {mb_rag-1.1.30 → mb_rag-1.1.31}/mb_rag/chatbot/basic.py +1 -1
- {mb_rag-1.1.30 → mb_rag-1.1.31}/mb_rag/version.py +1 -1
- {mb_rag-1.1.30 → mb_rag-1.1.31}/mb_rag.egg-info/PKG-INFO +1 -1
- {mb_rag-1.1.30 → mb_rag-1.1.31}/README.md +0 -0
- {mb_rag-1.1.30 → mb_rag-1.1.31}/mb_rag/__init__.py +0 -0
- {mb_rag-1.1.30 → mb_rag-1.1.31}/mb_rag/chatbot/__init__.py +0 -0
- {mb_rag-1.1.30 → mb_rag-1.1.31}/mb_rag/chatbot/chains.py +0 -0
- {mb_rag-1.1.30 → mb_rag-1.1.31}/mb_rag/chatbot/prompts.py +0 -0
- {mb_rag-1.1.30 → mb_rag-1.1.31}/mb_rag/rag/__init__.py +0 -0
- {mb_rag-1.1.30 → mb_rag-1.1.31}/mb_rag/rag/embeddings.py +0 -0
- {mb_rag-1.1.30 → mb_rag-1.1.31}/mb_rag/utils/__init__.py +0 -0
- {mb_rag-1.1.30 → mb_rag-1.1.31}/mb_rag/utils/bounding_box.py +0 -0
- {mb_rag-1.1.30 → mb_rag-1.1.31}/mb_rag/utils/document_extract.py +0 -0
- {mb_rag-1.1.30 → mb_rag-1.1.31}/mb_rag/utils/extra.py +0 -0
- {mb_rag-1.1.30 → mb_rag-1.1.31}/mb_rag/utils/pdf_extract.py +0 -0
- {mb_rag-1.1.30 → mb_rag-1.1.31}/mb_rag.egg-info/SOURCES.txt +0 -0
- {mb_rag-1.1.30 → mb_rag-1.1.31}/mb_rag.egg-info/dependency_links.txt +0 -0
- {mb_rag-1.1.30 → mb_rag-1.1.31}/mb_rag.egg-info/requires.txt +0 -0
- {mb_rag-1.1.30 → mb_rag-1.1.31}/mb_rag.egg-info/top_level.txt +0 -0
- {mb_rag-1.1.30 → mb_rag-1.1.31}/pyproject.toml +0 -0
- {mb_rag-1.1.30 → mb_rag-1.1.31}/setup.cfg +0 -0
- {mb_rag-1.1.30 → mb_rag-1.1.31}/setup.py +0 -0
|
@@ -319,7 +319,7 @@ class ModelFactory:
|
|
|
319
319
|
base64_images = [self._image_to_base64(image) for image in images]
|
|
320
320
|
if self.model_type =='ollama':
|
|
321
321
|
ollama_model = self.model.bind(images=[base64_images])
|
|
322
|
-
response = ollama_model.invoke(
|
|
322
|
+
response = ollama_model.invoke(prompt)
|
|
323
323
|
return response.content
|
|
324
324
|
else:
|
|
325
325
|
image_prompt_create = [{"type": "image_url", "image_url": {"url": f"data:image/jpeg;base64,{base64_images[i]}"}} for i in range(len(images))]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|