crewplus 0.2.46__py3-none-any.whl → 0.2.47__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.

@@ -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",
@@ -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
@@ -1,13 +1,13 @@
1
- crewplus-0.2.46.dist-info/METADATA,sha256=QSaSV8WkRmj_qHybxSCTNlyESu9UNuiYNxeLgolNBAA,5362
2
- crewplus-0.2.46.dist-info/WHEEL,sha256=9P2ygRxDrTJz3gsagc0Z96ukrxjr-LFBGOgv3AuKlCA,90
3
- crewplus-0.2.46.dist-info/entry_points.txt,sha256=6OYgBcLyFCUgeqLgnvMyOJxPCWzgy7se4rLPKtNonMs,34
4
- crewplus-0.2.46.dist-info/licenses/LICENSE,sha256=2_NHSHRTKB_cTcT_GXgcenOCtIZku8j343mOgAguTfc,1087
1
+ crewplus-0.2.47.dist-info/METADATA,sha256=ZYdwfWzswjuz_ZN6PqvUrB_JDLRViZ1ou9iC3Ldjfqk,5362
2
+ crewplus-0.2.47.dist-info/WHEEL,sha256=9P2ygRxDrTJz3gsagc0Z96ukrxjr-LFBGOgv3AuKlCA,90
3
+ crewplus-0.2.47.dist-info/entry_points.txt,sha256=6OYgBcLyFCUgeqLgnvMyOJxPCWzgy7se4rLPKtNonMs,34
4
+ crewplus-0.2.47.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
8
8
  crewplus/services/__init__.py,sha256=V1CG8b2NOmRzNgQH7BPl4KVxWSYJH5vfEsW1wVErKNE,375
9
9
  crewplus/services/azure_chat_model.py,sha256=iWzJ2GQFSNmwJx-2O5_xKPSB6VVc-7T6bcfFI8_WezA,5521
10
- crewplus/services/gemini_chat_model.py,sha256=VsOB_st1qRmDkwLXzo-gCShhUsZHpk0V-G-ulQXGN3g,40081
10
+ crewplus/services/gemini_chat_model.py,sha256=DYqz01H2TIHiCDQesSozVfOsMigno6QGwOtIweg7UHk,40103
11
11
  crewplus/services/init_services.py,sha256=7oZ1GmesK32EDB_DYnTzW17MEpXjXK41_U_1pmqu_m4,2183
12
12
  crewplus/services/model_load_balancer.py,sha256=Q9Gx3GrbKworU-Ytxeqp0ggHSgZ1Q6brtTk-nCl4sak,12095
13
13
  crewplus/services/tracing_manager.py,sha256=0KR-F0BKYEMdADANWofFZH9D9jcWDHzDICUE7nDhzJc,6579
@@ -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=2IZT61LVui21Pt5Z3y8YYS2dYcwzkgUKxMq2NA0-lQE,9222
19
19
  crewplus/vectorstores/milvus/schema_milvus.py,sha256=DtHP8jHRSpLqt9ixAnJE5R4CId9NLYXxOVqRxPCEyv4,26131
20
- crewplus/vectorstores/milvus/vdb_service.py,sha256=CaUMLIMeOCm2R4t5EKtAupIddFXQu0NSb8RpTkInGd4,22498
20
+ crewplus/vectorstores/milvus/vdb_service.py,sha256=-cZmlLNAPBz4vBRWNC_rfNZh1VWKbmgYfCYsQFyeoSM,22509
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.46.dist-info/RECORD,,
25
+ crewplus-0.2.47.dist-info/RECORD,,