camel-ai 0.2.76a8__py3-none-any.whl → 0.2.76a9__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.
Potentially problematic release.
This version of camel-ai might be problematic. Click here for more details.
- camel/__init__.py +1 -1
- camel/storages/vectordb_storages/oceanbase.py +9 -9
- {camel_ai-0.2.76a8.dist-info → camel_ai-0.2.76a9.dist-info}/METADATA +1 -1
- {camel_ai-0.2.76a8.dist-info → camel_ai-0.2.76a9.dist-info}/RECORD +6 -6
- {camel_ai-0.2.76a8.dist-info → camel_ai-0.2.76a9.dist-info}/WHEEL +0 -0
- {camel_ai-0.2.76a8.dist-info → camel_ai-0.2.76a9.dist-info}/licenses/LICENSE +0 -0
camel/__init__.py
CHANGED
|
@@ -113,18 +113,18 @@ class OceanBaseStorage(BaseVectorStorage):
|
|
|
113
113
|
# Create vector index
|
|
114
114
|
index_params: IndexParams = IndexParams()
|
|
115
115
|
index_params.add_index(
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
ef_construction=256,
|
|
123
|
-
)
|
|
116
|
+
field_name="embedding",
|
|
117
|
+
index_type="hnsw",
|
|
118
|
+
index_name="embedding_idx",
|
|
119
|
+
distance=self.distance,
|
|
120
|
+
m=16,
|
|
121
|
+
ef_construction=256,
|
|
124
122
|
)
|
|
125
123
|
|
|
124
|
+
# Get the first index parameter
|
|
125
|
+
first_index_param = next(iter(index_params))
|
|
126
126
|
self._client.create_vidx_with_vec_index_param(
|
|
127
|
-
table_name=self.table_name, vidx_param=
|
|
127
|
+
table_name=self.table_name, vidx_param=first_index_param
|
|
128
128
|
)
|
|
129
129
|
|
|
130
130
|
logger.info(f"Created table {self.table_name} with vector index")
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
camel/__init__.py,sha256=
|
|
1
|
+
camel/__init__.py,sha256=nqBy_P4Z_YgwdbYnhcU81_0KkoBOtdKWMLexDmsrStY,901
|
|
2
2
|
camel/generators.py,sha256=JRqj9_m1PF4qT6UtybzTQ-KBT9MJQt18OAAYvQ_fr2o,13844
|
|
3
3
|
camel/human.py,sha256=Xg8x1cS5KK4bQ1SDByiHZnzsRpvRP-KZViNvmu38xo4,5475
|
|
4
4
|
camel/logger.py,sha256=WgEwael_eT6D-lVAKHpKIpwXSTjvLbny5jbV1Ab8lnA,5760
|
|
@@ -311,7 +311,7 @@ camel/storages/vectordb_storages/base.py,sha256=EP_WbEtI3SJPHro9rjNkIq9UDUP1AAHm
|
|
|
311
311
|
camel/storages/vectordb_storages/chroma.py,sha256=wXuLUYsgkC2VvdyLrlL5VqEDVzJDBUo7OdimK8hBLmg,27553
|
|
312
312
|
camel/storages/vectordb_storages/faiss.py,sha256=MHE3db9kJmVuu0aScXsSo8p60TCtc2Ot0rO77zcPgt8,26760
|
|
313
313
|
camel/storages/vectordb_storages/milvus.py,sha256=ChQyEuaXCWCKxytLN2z4QrkEthx2xE6bQPO6KCS9RgQ,13535
|
|
314
|
-
camel/storages/vectordb_storages/oceanbase.py,sha256=
|
|
314
|
+
camel/storages/vectordb_storages/oceanbase.py,sha256=2JjQDrpnafVfOMrrw5g0h4idn7gazkRzgU2r9pAssYQ,17080
|
|
315
315
|
camel/storages/vectordb_storages/pgvector.py,sha256=p-5RGCVT46zP-Yop85thWi2m0ZnHILSJFpu2A-7qWnk,12438
|
|
316
316
|
camel/storages/vectordb_storages/qdrant.py,sha256=a_cT0buSCHQ2CPZy852-mdvMDwy5zodCvAKMaa4zIvg,18017
|
|
317
317
|
camel/storages/vectordb_storages/surreal.py,sha256=vPUh3iFz73kiDFP_FLDzq3ULaFGQGAcJDkOh9Y8SKps,13392
|
|
@@ -485,7 +485,7 @@ camel/verifiers/math_verifier.py,sha256=tA1D4S0sm8nsWISevxSN0hvSVtIUpqmJhzqfbuMo
|
|
|
485
485
|
camel/verifiers/models.py,sha256=GdxYPr7UxNrR1577yW4kyroRcLGfd-H1GXgv8potDWU,2471
|
|
486
486
|
camel/verifiers/physics_verifier.py,sha256=c1grrRddcrVN7szkxhv2QirwY9viIRSITWeWFF5HmLs,30187
|
|
487
487
|
camel/verifiers/python_verifier.py,sha256=ogTz77wODfEcDN4tMVtiSkRQyoiZbHPY2fKybn59lHw,20558
|
|
488
|
-
camel_ai-0.2.
|
|
489
|
-
camel_ai-0.2.
|
|
490
|
-
camel_ai-0.2.
|
|
491
|
-
camel_ai-0.2.
|
|
488
|
+
camel_ai-0.2.76a9.dist-info/METADATA,sha256=e9qhmRwz4Nr_pRu19p1aNfI2NEL1r2BnrvuY7Cr8OXo,55432
|
|
489
|
+
camel_ai-0.2.76a9.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
490
|
+
camel_ai-0.2.76a9.dist-info/licenses/LICENSE,sha256=id0nB2my5kG0xXeimIu5zZrbHLS6EQvxvkKkzIHaT2k,11343
|
|
491
|
+
camel_ai-0.2.76a9.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|