ragit 0.3__py3-none-any.whl → 0.5__py3-none-any.whl

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.
@@ -1,6 +1,9 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: ragit
3
- Version: 0.3
3
+ Version: 0.5
4
+ Home-page: https://github.com/stsfaroz/ragit
5
+ Author: Salman Faroz
6
+ License: MIT
4
7
  Description-Content-Type: text/markdown
5
8
  Requires-Dist: sentence-transformers>=3.4.1
6
9
  Requires-Dist: pandas>=2.2.3
@@ -8,17 +11,18 @@ Requires-Dist: chromadb>=0.6.3
8
11
  Requires-Dist: setuptools>=75.8.0
9
12
  Requires-Dist: wheel>=0.45.1
10
13
  Requires-Dist: twine>=6.1.0
14
+ Dynamic: author
11
15
  Dynamic: description
12
16
  Dynamic: description-content-type
17
+ Dynamic: home-page
18
+ Dynamic: license
13
19
  Dynamic: requires-dist
14
20
 
15
21
 
16
22
  # Ragit
17
23
  🚀 Smart, Fast, Scalable Search 🚀
18
24
 
19
- Github Repo : [stsfaroz](https://github.com/stsfaroz/ragit)
20
-
21
- **ragit** is a lightweight Python library that simplifies the management of vector databases using [ChromaDB](https://github.com/chroma-core/chroma). With ragit, you can easily create, update, query, and manage your vector database—all from CSV files containing text data.
25
+ **ragit** is a lightweight Python library that simplifies the management of vector databases. With ragit, you can easily create, update, query, and manage your vector database, all from CSV files containing text data.
22
26
 
23
27
  ## Features
24
28
 
@@ -66,6 +70,17 @@ db_manager.create_database(
66
70
  distance_metric="cosine" # Optional # default : l2
67
71
  )
68
72
  ```
73
+ ### Reloading Your Database
74
+
75
+ After creating and populating your vector database, simply load it later by reinitializing with the same persistence directory:
76
+
77
+ ```python
78
+ from ragit import VectorDBManager
79
+
80
+ db_manager = VectorDBManager(
81
+ persist_directory="./my_vector_db",
82
+ )
83
+ ```
69
84
 
70
85
  ### 3. Adding a Single Entry
71
86
  Add an individual entry to the collection:
@@ -0,0 +1,6 @@
1
+ ragit/__init__.py,sha256=GECJxYFL_0PMy6tbcVFpW9Fhe1JiI2uXH4iJWhUHpKs,48
2
+ ragit/main.py,sha256=L5jId4Cwrd99tV10QzokvF3XWarOj3vPEOWLzPrTMN0,12721
3
+ ragit-0.5.dist-info/METADATA,sha256=sC4r-KcClUSD_aBU1IkZwAn7f0dvF2SGOnvFel3dqlY,5395
4
+ ragit-0.5.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
5
+ ragit-0.5.dist-info/top_level.txt,sha256=pkPbG7yrw61wt9_y_xcLE2vq2a55fzockASD0yq0g4s,6
6
+ ragit-0.5.dist-info/RECORD,,
@@ -1,6 +0,0 @@
1
- ragit/__init__.py,sha256=GECJxYFL_0PMy6tbcVFpW9Fhe1JiI2uXH4iJWhUHpKs,48
2
- ragit/main.py,sha256=L5jId4Cwrd99tV10QzokvF3XWarOj3vPEOWLzPrTMN0,12721
3
- ragit-0.3.dist-info/METADATA,sha256=CudjOrPzxSzl46OhIUtL5mhkhhwgkdcWO9UB3nXzuCE,5103
4
- ragit-0.3.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
5
- ragit-0.3.dist-info/top_level.txt,sha256=pkPbG7yrw61wt9_y_xcLE2vq2a55fzockASD0yq0g4s,6
6
- ragit-0.3.dist-info/RECORD,,
File without changes