mirascope 1.20.0__py3-none-any.whl → 1.20.1__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.
@@ -14,6 +14,7 @@ from .base import (
14
14
  BaseTool,
15
15
  BaseToolKit,
16
16
  CacheControlPart,
17
+ CostMetadata,
17
18
  DocumentPart,
18
19
  FromCallArgs,
19
20
  ImagePart,
@@ -74,6 +75,7 @@ __all__ = [
74
75
  "BaseTool",
75
76
  "BaseToolKit",
76
77
  "CacheControlPart",
78
+ "CostMetadata",
77
79
  "DocumentPart",
78
80
  "FromCallArgs",
79
81
  "ImagePart",
@@ -30,7 +30,14 @@ from .stream import BaseStream
30
30
  from .structured_stream import BaseStructuredStream
31
31
  from .tool import BaseTool, GenerateJsonSchemaNoTitles, ToolConfig
32
32
  from .toolkit import BaseToolKit, toolkit_tool
33
- from .types import AudioSegment, JsonableType, LocalProvider, Provider, Usage
33
+ from .types import (
34
+ AudioSegment,
35
+ CostMetadata,
36
+ JsonableType,
37
+ LocalProvider,
38
+ Provider,
39
+ Usage,
40
+ )
34
41
 
35
42
  __all__ = [
36
43
  "AudioPart",
@@ -50,6 +57,7 @@ __all__ = [
50
57
  "BaseType",
51
58
  "CacheControlPart",
52
59
  "CommonCallParams",
60
+ "CostMetadata",
53
61
  "DocumentPart",
54
62
  "FromCallArgs",
55
63
  "GenerateJsonSchemaNoTitles",
mirascope/llm/__init__.py CHANGED
@@ -1,10 +1,11 @@
1
- from ..core import LocalProvider, Provider, calculate_cost
1
+ from ..core import CostMetadata, LocalProvider, Provider, calculate_cost
2
2
  from .call_response import CallResponse
3
3
  from .llm_call import call
4
4
  from .llm_override import override
5
5
 
6
6
  __all__ = [
7
7
  "CallResponse",
8
+ "CostMetadata",
8
9
  "LocalProvider",
9
10
  "Provider",
10
11
  "calculate_cost",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mirascope
3
- Version: 1.20.0
3
+ Version: 1.20.1
4
4
  Summary: LLM abstractions that aren't obstructions
5
5
  Project-URL: Homepage, https://mirascope.com
6
6
  Project-URL: Documentation, https://mirascope.com/WELCOME
@@ -41,7 +41,7 @@ mirascope/beta/rag/pinecone/vectorstores.py,sha256=ZcLwVmrxNMq5a2mLI-3F9XJ_UYDry
41
41
  mirascope/beta/rag/weaviate/__init__.py,sha256=eod9OprMo1zdDb-waYWtBJKWuYQRx7v-QEen-wzm_5w,231
42
42
  mirascope/beta/rag/weaviate/types.py,sha256=-2r2Vy71kpLlRJgVqWoE3atub5a2eymHPSjTHuSqCfQ,2984
43
43
  mirascope/beta/rag/weaviate/vectorstores.py,sha256=8Nwy-QRHwSUdvMkqEhqmUkN7y_CzQN7bop7do1K8v4w,3606
44
- mirascope/core/__init__.py,sha256=XsnWf_eyQ4-rtnrH_56b7HEXmczXRMc4sK4rXtc0bL4,1992
44
+ mirascope/core/__init__.py,sha256=SqxvVLwoIfxE8LJZfoXLFgMYujDUcYiAkZ_riTD6CO8,2030
45
45
  mirascope/core/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
46
46
  mirascope/core/anthropic/__init__.py,sha256=GB-CULa3jYEPv1ZDyZjNCKQJbrc6ojqu8WNRSFElQ-4,918
47
47
  mirascope/core/anthropic/_call.py,sha256=LXUR__AyexD-hsPMPKpA7IFuh8Cfc0uAg1GrJSxiWnU,2358
@@ -80,7 +80,7 @@ mirascope/core/azure/_utils/_get_json_output.py,sha256=Qec7WJY5is1Q63Vp9uUNNfkRw
80
80
  mirascope/core/azure/_utils/_handle_stream.py,sha256=M_BGnjBGWTPefNyIMuJSHiDxIvqmENmqfVlDx_qzL1c,4638
81
81
  mirascope/core/azure/_utils/_message_param_converter.py,sha256=JAUeHObtd_V225YyZqEruuih3HRozq43pqjYJCbJj8A,4443
82
82
  mirascope/core/azure/_utils/_setup_call.py,sha256=cdUof-RCxsPbKuJvevsEUYXU-ckoql3wTevNEQiEpz4,6496
83
- mirascope/core/base/__init__.py,sha256=pqaMPo9JDWS0PFr3WetHWuxUnxSkz4vKDB2OvvNWrDk,2004
83
+ mirascope/core/base/__init__.py,sha256=mENqcLNM5-FCh4lyDGihOAegQSAzSoIK744pBMkJinM,2067
84
84
  mirascope/core/base/_call_factory.py,sha256=YdFHAa9WtGfYeqVcM2xaDNh5gMg584rOe26_E51-1to,9663
85
85
  mirascope/core/base/_create.py,sha256=1UNRA6pwMguaiLyLiQkPzTk12ASaXT_hh7jlNw4UFX4,10016
86
86
  mirascope/core/base/_extract.py,sha256=QTqkArgmgR17OB5jTP86Wo-TW-BcouOcK9gdMy-EcNw,6799
@@ -331,7 +331,7 @@ mirascope/integrations/otel/__init__.py,sha256=OzboYfm3fUNwKTuu08KX83hQHYI4oZYN2
331
331
  mirascope/integrations/otel/_utils.py,sha256=SCVb3MpcpqLpCpumJEbEdINceNdusnyT6iuKPz66sBc,8778
332
332
  mirascope/integrations/otel/_with_hyperdx.py,sha256=f17uxXQk5zZPtyj6zwPwJz5i7atsnUPOoq1LqT8JO0E,1637
333
333
  mirascope/integrations/otel/_with_otel.py,sha256=tbjd6BEbcSfnsm5CWHBoHwbRNrHt6-t4or-SYGQSD-w,1659
334
- mirascope/llm/__init__.py,sha256=zjIkSkMn5Npp2PsjWv6rZScRUjRlhIGeWPlM1hzPZVQ,283
334
+ mirascope/llm/__init__.py,sha256=wu7j3316Cx0ju9eS8UwCIpG_bGK3RRHCxD5SRlLZyHY,317
335
335
  mirascope/llm/_protocols.py,sha256=30708fzTNv7k6Ix3T0NwmSDnQ9BP9ZrHLAmumIfzuFI,16783
336
336
  mirascope/llm/_response_metaclass.py,sha256=6DLQb5IrqMldyEXHT_pAsr2DlUVc9CmZuZiBXG37WK8,851
337
337
  mirascope/llm/call_response.py,sha256=U40eOKbKfzrmLsQ9j31kH_NUpc_vKGu6I7Ee0WNL6J8,4810
@@ -367,7 +367,7 @@ mirascope/v0/base/ops_utils.py,sha256=1Qq-VIwgHBaYutiZsS2MUQ4OgPC3APyywI5bTiTAmA
367
367
  mirascope/v0/base/prompts.py,sha256=FM2Yz98cSnDceYogiwPrp4BALf3_F3d4fIOCGAkd-SE,1298
368
368
  mirascope/v0/base/types.py,sha256=ZfatJoX0Yl0e3jhv0D_MhiSVHLYUeJsdN3um3iE10zY,352
369
369
  mirascope/v0/base/utils.py,sha256=XREPENRQTu8gpMhHU8RC8qH_am3FfGUvY-dJ6x8i-mw,681
370
- mirascope-1.20.0.dist-info/METADATA,sha256=1VWidWfQECmiWGI7xWn3tsU6HEnFuMJA3JoeGKigWFs,8730
371
- mirascope-1.20.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
372
- mirascope-1.20.0.dist-info/licenses/LICENSE,sha256=LAs5Q8mdawTsVdONpDGukwsoc4KEUBmmonDEL39b23Y,1072
373
- mirascope-1.20.0.dist-info/RECORD,,
370
+ mirascope-1.20.1.dist-info/METADATA,sha256=XIsjsvbaT6joN-JvQ4MDtgT4VxqAnrCDsSmnOMYZmCU,8730
371
+ mirascope-1.20.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
372
+ mirascope-1.20.1.dist-info/licenses/LICENSE,sha256=LAs5Q8mdawTsVdONpDGukwsoc4KEUBmmonDEL39b23Y,1072
373
+ mirascope-1.20.1.dist-info/RECORD,,