crewplus 0.2.62__tar.gz → 0.2.63__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.

Potentially problematic release.


This version of crewplus might be problematic. Click here for more details.

Files changed (24) hide show
  1. {crewplus-0.2.62 → crewplus-0.2.63}/PKG-INFO +1 -1
  2. {crewplus-0.2.62 → crewplus-0.2.63}/crewplus/vectorstores/milvus/vdb_service.py +21 -21
  3. {crewplus-0.2.62 → crewplus-0.2.63}/pyproject.toml +1 -1
  4. {crewplus-0.2.62 → crewplus-0.2.63}/LICENSE +0 -0
  5. {crewplus-0.2.62 → crewplus-0.2.63}/README.md +0 -0
  6. {crewplus-0.2.62 → crewplus-0.2.63}/crewplus/__init__.py +0 -0
  7. {crewplus-0.2.62 → crewplus-0.2.63}/crewplus/callbacks/__init__.py +0 -0
  8. {crewplus-0.2.62 → crewplus-0.2.63}/crewplus/callbacks/async_langfuse_handler.py +0 -0
  9. {crewplus-0.2.62 → crewplus-0.2.63}/crewplus/services/__init__.py +0 -0
  10. {crewplus-0.2.62 → crewplus-0.2.63}/crewplus/services/azure_chat_model.py +0 -0
  11. {crewplus-0.2.62 → crewplus-0.2.63}/crewplus/services/gemini_chat_model.py +0 -0
  12. {crewplus-0.2.62 → crewplus-0.2.63}/crewplus/services/init_services.py +0 -0
  13. {crewplus-0.2.62 → crewplus-0.2.63}/crewplus/services/model_load_balancer.py +0 -0
  14. {crewplus-0.2.62 → crewplus-0.2.63}/crewplus/services/tracing_manager.py +0 -0
  15. {crewplus-0.2.62 → crewplus-0.2.63}/crewplus/utils/__init__.py +0 -0
  16. {crewplus-0.2.62 → crewplus-0.2.63}/crewplus/utils/schema_action.py +0 -0
  17. {crewplus-0.2.62 → crewplus-0.2.63}/crewplus/utils/schema_document_updater.py +0 -0
  18. {crewplus-0.2.62 → crewplus-0.2.63}/crewplus/vectorstores/milvus/__init__.py +0 -0
  19. {crewplus-0.2.62 → crewplus-0.2.63}/crewplus/vectorstores/milvus/milvus_schema_manager.py +0 -0
  20. {crewplus-0.2.62 → crewplus-0.2.63}/crewplus/vectorstores/milvus/schema_milvus.py +0 -0
  21. {crewplus-0.2.62 → crewplus-0.2.63}/docs/GeminiChatModel.md +0 -0
  22. {crewplus-0.2.62 → crewplus-0.2.63}/docs/ModelLoadBalancer.md +0 -0
  23. {crewplus-0.2.62 → crewplus-0.2.63}/docs/VDBService.md +0 -0
  24. {crewplus-0.2.62 → crewplus-0.2.63}/docs/index.md +0 -0
@@ -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
@@ -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,
@@ -6,7 +6,7 @@ build-backend = "pdm.backend"
6
6
 
7
7
  [project]
8
8
  name = "crewplus"
9
- version = "0.2.62"
9
+ version = "0.2.63"
10
10
  description = "Base services for CrewPlus AI applications"
11
11
  authors = [
12
12
  { name = "Tim Liu", email = "tim@opsmateai.com" },
File without changes
File without changes
File without changes
File without changes