mb-rag 1.1.42__tar.gz → 1.1.43__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.

Potentially problematic release.


This version of mb-rag might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mb_rag
3
- Version: 1.1.42
3
+ Version: 1.1.43
4
4
  Summary: RAG function file
5
5
  Author: ['Malav Bateriwala']
6
6
  Requires-Python: >=3.8
@@ -501,7 +501,7 @@ class embedding_generator:
501
501
 
502
502
  def add_data(self, embeddings_folder_path: str, data: List[str],
503
503
  text_splitter_type: str = 'recursive_character',
504
- chunk_size: int = 1000, chunk_overlap: int = 5):
504
+ chunk_size: int = 1000, chunk_overlap: int = 5, collection_name: str = 'test'):
505
505
  """
506
506
  Add data to existing embeddings.
507
507
 
@@ -511,6 +511,7 @@ class embedding_generator:
511
511
  text_splitter_type (str): Type of text splitter
512
512
  chunk_size (int): Size of text chunks
513
513
  chunk_overlap (int): Overlap between chunks
514
+ collection_name (str): Name of the collection. Default: 'test'
514
515
  """
515
516
  if self.vector_store_type == 'chroma':
516
517
  db = self.load_embeddings(embeddings_folder_path, collection_name)
@@ -1,5 +1,5 @@
1
1
  MAJOR_VERSION = 1
2
2
  MINOR_VERSION = 1
3
- PATCH_VERSION = 42
3
+ PATCH_VERSION = 43
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.42
3
+ Version: 1.1.43
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
File without changes
File without changes