camel-ai 0.2.76a7__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 CHANGED
@@ -14,7 +14,7 @@
14
14
 
15
15
  from camel.logger import disable_logging, enable_logging, set_log_level
16
16
 
17
- __version__ = '0.2.76a7'
17
+ __version__ = '0.2.76a9'
18
18
 
19
19
  __all__ = [
20
20
  '__version__',
@@ -112,19 +112,19 @@ class OceanBaseStorage(BaseVectorStorage):
112
112
 
113
113
  # Create vector index
114
114
  index_params: IndexParams = IndexParams()
115
- index_params.add_index_param(
116
- IndexParam(
117
- index_name="embedding_idx",
118
- field_name="embedding",
119
- distance=self.distance,
120
- type="hnsw",
121
- m=16,
122
- ef_construction=256,
123
- )
115
+ index_params.add_index(
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=index_params.params[0]
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,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: camel-ai
3
- Version: 0.2.76a7
3
+ Version: 0.2.76a9
4
4
  Summary: Communicative Agents for AI Society Study
5
5
  Project-URL: Homepage, https://www.camel-ai.org/
6
6
  Project-URL: Repository, https://github.com/camel-ai/camel
@@ -1,4 +1,4 @@
1
- camel/__init__.py,sha256=0Kh2iKsHtUCsgl0MilcjH_sJysn0qQJpeEiiJ5sQy3E,901
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=eNBelw4D6r3OWlhHzGJ8Xw-ej9nU1uTZ6CYoXdbxDkI,17054
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.76a7.dist-info/METADATA,sha256=XbzErvTbDYiQgVMe63JNB5A-yXhJY81h9EyY2OVNwYA,55432
489
- camel_ai-0.2.76a7.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
490
- camel_ai-0.2.76a7.dist-info/licenses/LICENSE,sha256=id0nB2my5kG0xXeimIu5zZrbHLS6EQvxvkKkzIHaT2k,11343
491
- camel_ai-0.2.76a7.dist-info/RECORD,,
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,,