mb-rag 1.1.59__tar.gz → 1.1.61__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.
Files changed (25) hide show
  1. {mb_rag-1.1.59 → mb_rag-1.1.61}/PKG-INFO +1 -1
  2. {mb_rag-1.1.59 → mb_rag-1.1.61}/README.md +3 -0
  3. {mb_rag-1.1.59 → mb_rag-1.1.61}/mb_rag/basic.py +1 -0
  4. {mb_rag-1.1.59 → mb_rag-1.1.61}/mb_rag/version.py +1 -1
  5. {mb_rag-1.1.59 → mb_rag-1.1.61}/mb_rag.egg-info/PKG-INFO +1 -1
  6. {mb_rag-1.1.59 → mb_rag-1.1.61}/mb_rag/__init__.py +0 -0
  7. {mb_rag-1.1.59 → mb_rag-1.1.61}/mb_rag/chatbot/__init__.py +0 -0
  8. {mb_rag-1.1.59 → mb_rag-1.1.61}/mb_rag/chatbot/chains.py +0 -0
  9. {mb_rag-1.1.59 → mb_rag-1.1.61}/mb_rag/chatbot/conversation.py +0 -0
  10. {mb_rag-1.1.59 → mb_rag-1.1.61}/mb_rag/chatbot/prompts.py +0 -0
  11. {mb_rag-1.1.59 → mb_rag-1.1.61}/mb_rag/rag/__init__.py +0 -0
  12. {mb_rag-1.1.59 → mb_rag-1.1.61}/mb_rag/rag/embeddings.py +0 -0
  13. {mb_rag-1.1.59 → mb_rag-1.1.61}/mb_rag/utils/__init__.py +0 -0
  14. {mb_rag-1.1.59 → mb_rag-1.1.61}/mb_rag/utils/all_data_extract.py +0 -0
  15. {mb_rag-1.1.59 → mb_rag-1.1.61}/mb_rag/utils/bounding_box.py +0 -0
  16. {mb_rag-1.1.59 → mb_rag-1.1.61}/mb_rag/utils/document_extract.py +0 -0
  17. {mb_rag-1.1.59 → mb_rag-1.1.61}/mb_rag/utils/extra.py +0 -0
  18. {mb_rag-1.1.59 → mb_rag-1.1.61}/mb_rag/utils/pdf_extract.py +0 -0
  19. {mb_rag-1.1.59 → mb_rag-1.1.61}/mb_rag.egg-info/SOURCES.txt +0 -0
  20. {mb_rag-1.1.59 → mb_rag-1.1.61}/mb_rag.egg-info/dependency_links.txt +0 -0
  21. {mb_rag-1.1.59 → mb_rag-1.1.61}/mb_rag.egg-info/requires.txt +0 -0
  22. {mb_rag-1.1.59 → mb_rag-1.1.61}/mb_rag.egg-info/top_level.txt +0 -0
  23. {mb_rag-1.1.59 → mb_rag-1.1.61}/pyproject.toml +0 -0
  24. {mb_rag-1.1.59 → mb_rag-1.1.61}/setup.cfg +0 -0
  25. {mb_rag-1.1.59 → mb_rag-1.1.61}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mb_rag
3
- Version: 1.1.59
3
+ Version: 1.1.61
4
4
  Summary: RAG function file
5
5
  Author: ['Malav Bateriwala']
6
6
  Requires-Python: >=3.8
@@ -73,6 +73,9 @@ ollama_model = ModelFactory(
73
73
  )
74
74
  response = ollama_model.invoke_query("What is the meaning of life?")
75
75
 
76
+ ## Running in threads
77
+ response = model.invoke_query_threads(query_list=['q1','q2'],input_data=[[images_data],[images_data]],n_workers=4)
78
+
76
79
 
77
80
  ## check example_conversation.ipynb for more details
78
81
 
@@ -302,6 +302,7 @@ class ModelFactory:
302
302
 
303
303
  df = pd.DataFrame(query_list, columns=["query"])
304
304
  df["response"] = None
305
+ df["input_data"] = None if input_data is None else input_data
305
306
 
306
307
  structured_model = None
307
308
  if pydantic_model is not None:
@@ -1,5 +1,5 @@
1
1
  MAJOR_VERSION = 1
2
2
  MINOR_VERSION = 1
3
- PATCH_VERSION = 59
3
+ PATCH_VERSION = 61
4
4
  version = '{}.{}.{}'.format(MAJOR_VERSION, MINOR_VERSION, PATCH_VERSION)
5
5
  __all__ = ['MAJOR_VERSION', 'MINOR_VERSION', 'PATCH_VERSION', 'version']
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mb_rag
3
- Version: 1.1.59
3
+ Version: 1.1.61
4
4
  Summary: RAG function file
5
5
  Author: ['Malav Bateriwala']
6
6
  Requires-Python: >=3.8
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes