ragit 0.3__tar.gz → 0.5__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.
- {ragit-0.3 → ragit-0.5}/PKG-INFO +19 -4
- {ragit-0.3 → ragit-0.5}/README.md +12 -3
- {ragit-0.3 → ragit-0.5}/ragit.egg-info/PKG-INFO +19 -4
- {ragit-0.3 → ragit-0.5}/setup.py +4 -2
- {ragit-0.3 → ragit-0.5}/ragit/__init__.py +0 -0
- {ragit-0.3 → ragit-0.5}/ragit/main.py +0 -0
- {ragit-0.3 → ragit-0.5}/ragit.egg-info/SOURCES.txt +0 -0
- {ragit-0.3 → ragit-0.5}/ragit.egg-info/dependency_links.txt +0 -0
- {ragit-0.3 → ragit-0.5}/ragit.egg-info/requires.txt +0 -0
- {ragit-0.3 → ragit-0.5}/ragit.egg-info/top_level.txt +0 -0
- {ragit-0.3 → ragit-0.5}/setup.cfg +0 -0
{ragit-0.3 → ragit-0.5}/PKG-INFO
RENAMED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: ragit
|
|
3
|
-
Version: 0.
|
|
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
|
-
|
|
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:
|
|
@@ -2,9 +2,7 @@
|
|
|
2
2
|
# Ragit
|
|
3
3
|
🚀 Smart, Fast, Scalable Search 🚀
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
**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.
|
|
5
|
+
**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.
|
|
8
6
|
|
|
9
7
|
## Features
|
|
10
8
|
|
|
@@ -52,6 +50,17 @@ db_manager.create_database(
|
|
|
52
50
|
distance_metric="cosine" # Optional # default : l2
|
|
53
51
|
)
|
|
54
52
|
```
|
|
53
|
+
### Reloading Your Database
|
|
54
|
+
|
|
55
|
+
After creating and populating your vector database, simply load it later by reinitializing with the same persistence directory:
|
|
56
|
+
|
|
57
|
+
```python
|
|
58
|
+
from ragit import VectorDBManager
|
|
59
|
+
|
|
60
|
+
db_manager = VectorDBManager(
|
|
61
|
+
persist_directory="./my_vector_db",
|
|
62
|
+
)
|
|
63
|
+
```
|
|
55
64
|
|
|
56
65
|
### 3. Adding a Single Entry
|
|
57
66
|
Add an individual entry to the collection:
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: ragit
|
|
3
|
-
Version: 0.
|
|
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
|
-
|
|
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:
|
{ragit-0.3 → ragit-0.5}/setup.py
RENAMED
|
@@ -5,12 +5,14 @@ with open("README.md", "r") as f:
|
|
|
5
5
|
|
|
6
6
|
setup(
|
|
7
7
|
name="ragit",
|
|
8
|
-
version="0.
|
|
8
|
+
version="0.5",
|
|
9
9
|
packages=find_packages(),
|
|
10
10
|
install_requires = ['sentence-transformers>=3.4.1',
|
|
11
11
|
'pandas>=2.2.3', 'chromadb>=0.6.3',
|
|
12
12
|
'setuptools>=75.8.0',
|
|
13
13
|
'wheel>=0.45.1', 'twine>=6.1.0'] ,
|
|
14
14
|
long_description= description,
|
|
15
|
-
long_description_content_type="text/markdown"
|
|
15
|
+
long_description_content_type="text/markdown",
|
|
16
|
+
license="MIT",author="Salman Faroz",
|
|
17
|
+
url="https://github.com/stsfaroz/ragit"
|
|
16
18
|
)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|