crewplus 0.2.62__py3-none-any.whl → 0.2.63__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 crewplus might be problematic. Click here for more details.

@@ -466,17 +466,17 @@ class VDBService(object):
466
466
  # Ensure the collection exists before proceeding.
467
467
  self._ensure_collection_exists(collection_name, embeddings, check_existence=True)
468
468
 
469
- # 1. Validate the embedding function before proceeding.
470
- try:
471
- self.logger.debug(f"Testing embedding function for collection '{collection_name}'...")
472
- embeddings.embed_query("validation_test_string")
473
- self.logger.debug("Embedding function is valid.")
474
- except Exception as e:
475
- self.logger.error(
476
- f"The provided embedding function is invalid and failed with error: {e}. "
477
- f"Cannot create a vector store for collection '{collection_name}'."
478
- )
479
- raise RuntimeError(f"Invalid embedding function provided.") from e
469
+ # # 1. Validate the embedding function before proceeding.
470
+ # try:
471
+ # self.logger.info(f"Testing embedding function for collection '{collection_name}'...")
472
+ # embeddings.embed_query("validation_test_string")
473
+ # self.logger.info("Embedding function is valid.")
474
+ # except Exception as e:
475
+ # self.logger.error(
476
+ # f"The provided embedding function is invalid and failed with error: {e}. "
477
+ # f"Cannot create a vector store for collection '{collection_name}'."
478
+ # )
479
+ # raise RuntimeError(f"Invalid embedding function provided.") from e
480
480
 
481
481
  # If embeddings are valid, proceed to create the Milvus instance.
482
482
  index_params = self.index_params or {
@@ -544,16 +544,16 @@ class VDBService(object):
544
544
 
545
545
  await self._aensure_collection_exists(collection_name, embeddings, check_existence=True)
546
546
 
547
- try:
548
- self.logger.info(f"Testing embedding function for collection '{collection_name}'...")
549
- await embeddings.aembed_query("validation_test_string")
550
- self.logger.info("Embedding function is valid.")
551
- except Exception as e:
552
- self.logger.error(
553
- f"The provided embedding function is invalid and failed with error: {e}. "
554
- f"Cannot create a vector store for collection '{collection_name}'."
555
- )
556
- raise RuntimeError(f"Invalid embedding function provided.") from e
547
+ # try:
548
+ # self.logger.info(f"Testing embedding function for collection '{collection_name}'...")
549
+ # await embeddings.aembed_query("validation_test_string")
550
+ # self.logger.info("Embedding function is valid.")
551
+ # except Exception as e:
552
+ # self.logger.error(
553
+ # f"The provided embedding function is invalid and failed with error: {e}. "
554
+ # f"Cannot create a vector store for collection '{collection_name}'."
555
+ # )
556
+ # raise RuntimeError(f"Invalid embedding function provided.") from e
557
557
 
558
558
  index_params = self.index_params or {
559
559
  "metric_type": metric_type,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: crewplus
3
- Version: 0.2.62
3
+ Version: 0.2.63
4
4
  Summary: Base services for CrewPlus AI applications
5
5
  Author-Email: Tim Liu <tim@opsmateai.com>
6
6
  License: MIT
@@ -1,7 +1,7 @@
1
- crewplus-0.2.62.dist-info/METADATA,sha256=VYAqDSFvN5iRr63wA0IH3I-sRON-PJbP7JoQ58Fzbd8,5424
2
- crewplus-0.2.62.dist-info/WHEEL,sha256=9P2ygRxDrTJz3gsagc0Z96ukrxjr-LFBGOgv3AuKlCA,90
3
- crewplus-0.2.62.dist-info/entry_points.txt,sha256=6OYgBcLyFCUgeqLgnvMyOJxPCWzgy7se4rLPKtNonMs,34
4
- crewplus-0.2.62.dist-info/licenses/LICENSE,sha256=2_NHSHRTKB_cTcT_GXgcenOCtIZku8j343mOgAguTfc,1087
1
+ crewplus-0.2.63.dist-info/METADATA,sha256=ZEVFx9Lz0KiMgyrMTwwZ6GogvmgmEC4182Ded6ff_HI,5424
2
+ crewplus-0.2.63.dist-info/WHEEL,sha256=9P2ygRxDrTJz3gsagc0Z96ukrxjr-LFBGOgv3AuKlCA,90
3
+ crewplus-0.2.63.dist-info/entry_points.txt,sha256=6OYgBcLyFCUgeqLgnvMyOJxPCWzgy7se4rLPKtNonMs,34
4
+ crewplus-0.2.63.dist-info/licenses/LICENSE,sha256=2_NHSHRTKB_cTcT_GXgcenOCtIZku8j343mOgAguTfc,1087
5
5
  crewplus/__init__.py,sha256=m46HkZL1Y4toD619NL47Sn2Qe084WFFSFD7e6VoYKZc,284
6
6
  crewplus/callbacks/__init__.py,sha256=YG7ieeb91qEjp1zF0-inEN7mjZ7yT_D2yzdWFT8Z1Ws,63
7
7
  crewplus/callbacks/async_langfuse_handler.py,sha256=A4uFeLpvOUdc58M7sZoE65_C1V98u0QCvx5jUquM0pM,7006
@@ -17,9 +17,9 @@ crewplus/utils/schema_document_updater.py,sha256=frvffxn2vbi71fHFPoGb9hq7gH2azmm
17
17
  crewplus/vectorstores/milvus/__init__.py,sha256=OeYv2rdyG7tcREIjBJPyt2TbE54NvyeRoWMe7LwopRE,245
18
18
  crewplus/vectorstores/milvus/milvus_schema_manager.py,sha256=-QRav-hzu-XWeJ_yKUMolal_EyMUspSg-nvh5sqlrlQ,11442
19
19
  crewplus/vectorstores/milvus/schema_milvus.py,sha256=wwNpfqsKS0xeozZES40IvB0iNwUtpCall_7Hkg0dL1g,27223
20
- crewplus/vectorstores/milvus/vdb_service.py,sha256=G8skLhBuAQ33eDVb6_qrFhDyC5zd-0L2hPZenwJCKgE,37749
20
+ crewplus/vectorstores/milvus/vdb_service.py,sha256=Jo2GWzdEuDSPlADCWA7wTgDbYQ65QiYWgFGbtkG9vG8,37789
21
21
  docs/GeminiChatModel.md,sha256=zZYyl6RmjZTUsKxxMiC9O4yV70MC4TD-IGUmWhIDBKA,8677
22
22
  docs/ModelLoadBalancer.md,sha256=aGHES1dcXPz4c7Y8kB5-vsCNJjriH2SWmjBkSGoYKiI,4398
23
23
  docs/VDBService.md,sha256=Dw286Rrf_fsi13jyD3Bo4Sy7nZ_G7tYm7d8MZ2j9hxk,9375
24
24
  docs/index.md,sha256=3tlc15uR8lzFNM5WjdoZLw0Y9o1P1gwgbEnOdIBspqc,1643
25
- crewplus-0.2.62.dist-info/RECORD,,
25
+ crewplus-0.2.63.dist-info/RECORD,,