crewplus 0.2.46__tar.gz → 0.2.47__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.46 → crewplus-0.2.47}/PKG-INFO +1 -1
  2. {crewplus-0.2.46 → crewplus-0.2.47}/crewplus/services/gemini_chat_model.py +4 -4
  3. {crewplus-0.2.46 → crewplus-0.2.47}/crewplus/vectorstores/milvus/vdb_service.py +2 -2
  4. {crewplus-0.2.46 → crewplus-0.2.47}/pyproject.toml +1 -1
  5. {crewplus-0.2.46 → crewplus-0.2.47}/LICENSE +0 -0
  6. {crewplus-0.2.46 → crewplus-0.2.47}/README.md +0 -0
  7. {crewplus-0.2.46 → crewplus-0.2.47}/crewplus/__init__.py +0 -0
  8. {crewplus-0.2.46 → crewplus-0.2.47}/crewplus/callbacks/__init__.py +0 -0
  9. {crewplus-0.2.46 → crewplus-0.2.47}/crewplus/callbacks/async_langfuse_handler.py +0 -0
  10. {crewplus-0.2.46 → crewplus-0.2.47}/crewplus/services/__init__.py +0 -0
  11. {crewplus-0.2.46 → crewplus-0.2.47}/crewplus/services/azure_chat_model.py +0 -0
  12. {crewplus-0.2.46 → crewplus-0.2.47}/crewplus/services/init_services.py +0 -0
  13. {crewplus-0.2.46 → crewplus-0.2.47}/crewplus/services/model_load_balancer.py +0 -0
  14. {crewplus-0.2.46 → crewplus-0.2.47}/crewplus/services/tracing_manager.py +0 -0
  15. {crewplus-0.2.46 → crewplus-0.2.47}/crewplus/utils/__init__.py +0 -0
  16. {crewplus-0.2.46 → crewplus-0.2.47}/crewplus/utils/schema_action.py +0 -0
  17. {crewplus-0.2.46 → crewplus-0.2.47}/crewplus/utils/schema_document_updater.py +0 -0
  18. {crewplus-0.2.46 → crewplus-0.2.47}/crewplus/vectorstores/milvus/__init__.py +0 -0
  19. {crewplus-0.2.46 → crewplus-0.2.47}/crewplus/vectorstores/milvus/milvus_schema_manager.py +0 -0
  20. {crewplus-0.2.46 → crewplus-0.2.47}/crewplus/vectorstores/milvus/schema_milvus.py +0 -0
  21. {crewplus-0.2.46 → crewplus-0.2.47}/docs/GeminiChatModel.md +0 -0
  22. {crewplus-0.2.46 → crewplus-0.2.47}/docs/ModelLoadBalancer.md +0 -0
  23. {crewplus-0.2.46 → crewplus-0.2.47}/docs/VDBService.md +0 -0
  24. {crewplus-0.2.46 → crewplus-0.2.47}/docs/index.md +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: crewplus
3
- Version: 0.2.46
3
+ Version: 0.2.47
4
4
  Summary: Base services for CrewPlus AI applications
5
5
  Author-Email: Tim Liu <tim@opsmateai.com>
6
6
  License: MIT
@@ -330,22 +330,22 @@ class GeminiChatModel(BaseChatModel):
330
330
 
331
331
  def invoke(self, input, config=None, **kwargs):
332
332
  """Override invoke to add tracing callbacks automatically."""
333
- config = self._tracing_manager.add_callbacks_to_config(config)
333
+ config = self._tracing_manager.add_sync_callbacks_to_config(config)
334
334
  return super().invoke(input, config=config, **kwargs)
335
335
 
336
336
  async def ainvoke(self, input, config=None, **kwargs):
337
337
  """Override ainvoke to add tracing callbacks automatically."""
338
- config = self._tracing_manager.add_callbacks_to_config(config)
338
+ config = self._tracing_manager.add_async_callbacks_to_config(config)
339
339
  return await super().ainvoke(input, config=config, **kwargs)
340
340
 
341
341
  def stream(self, input, config=None, **kwargs):
342
342
  """Override stream to add tracing callbacks automatically."""
343
- config = self._tracing_manager.add_callbacks_to_config(config)
343
+ config = self._tracing_manager.add_sync_callbacks_to_config(config)
344
344
  return super().stream(input, config=config, **kwargs)
345
345
 
346
346
  async def astream(self, input, config=None, **kwargs):
347
347
  """Override astream to add tracing callbacks automatically."""
348
- config = self._tracing_manager.add_callbacks_to_config(config)
348
+ config = self._tracing_manager.add_async_callbacks_to_config(config)
349
349
  # We must call an async generator,
350
350
  async for chunk in super().astream(input, config=config, **kwargs):
351
351
  yield chunk
@@ -41,9 +41,9 @@ class VDBService(object):
41
41
  >>> # Initialize with a full settings dictionary
42
42
  >>> settings = {
43
43
  ... "embedder": {
44
- ... "provider": "azure-openai",
44
+ ... "provider": "azure-openai-embeddings",
45
45
  ... "config": {
46
- ... "model": "text-embedding-3-small",
46
+ ... "model": "text-embedding-ada-002",
47
47
  ... "api_version": "2023-05-15",
48
48
  ... "api_key": "YOUR_AZURE_OPENAI_KEY",
49
49
  ... "openai_base_url": "YOUR_AZURE_OPENAI_ENDPOINT",
@@ -6,7 +6,7 @@ build-backend = "pdm.backend"
6
6
 
7
7
  [project]
8
8
  name = "crewplus"
9
- version = "0.2.46"
9
+ version = "0.2.47"
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