mirascope 2.0.0a1__py3-none-any.whl → 2.0.0a3__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.
- mirascope/__init__.py +2 -2
- mirascope/api/__init__.py +6 -0
- mirascope/api/_generated/README.md +207 -0
- mirascope/api/_generated/__init__.py +85 -0
- mirascope/api/_generated/client.py +155 -0
- mirascope/api/_generated/core/__init__.py +52 -0
- mirascope/api/_generated/core/api_error.py +23 -0
- mirascope/api/_generated/core/client_wrapper.py +58 -0
- mirascope/api/_generated/core/datetime_utils.py +30 -0
- mirascope/api/_generated/core/file.py +70 -0
- mirascope/api/_generated/core/force_multipart.py +16 -0
- mirascope/api/_generated/core/http_client.py +619 -0
- mirascope/api/_generated/core/http_response.py +55 -0
- mirascope/api/_generated/core/jsonable_encoder.py +102 -0
- mirascope/api/_generated/core/pydantic_utilities.py +310 -0
- mirascope/api/_generated/core/query_encoder.py +60 -0
- mirascope/api/_generated/core/remove_none_from_dict.py +11 -0
- mirascope/api/_generated/core/request_options.py +35 -0
- mirascope/api/_generated/core/serialization.py +282 -0
- mirascope/api/_generated/docs/__init__.py +4 -0
- mirascope/api/_generated/docs/client.py +95 -0
- mirascope/api/_generated/docs/raw_client.py +132 -0
- mirascope/api/_generated/environment.py +9 -0
- mirascope/api/_generated/errors/__init__.py +7 -0
- mirascope/api/_generated/errors/bad_request_error.py +15 -0
- mirascope/api/_generated/health/__init__.py +7 -0
- mirascope/api/_generated/health/client.py +96 -0
- mirascope/api/_generated/health/raw_client.py +129 -0
- mirascope/api/_generated/health/types/__init__.py +8 -0
- mirascope/api/_generated/health/types/health_check_response.py +24 -0
- mirascope/api/_generated/health/types/health_check_response_status.py +5 -0
- mirascope/api/_generated/reference.md +167 -0
- mirascope/api/_generated/traces/__init__.py +55 -0
- mirascope/api/_generated/traces/client.py +162 -0
- mirascope/api/_generated/traces/raw_client.py +168 -0
- mirascope/api/_generated/traces/types/__init__.py +95 -0
- mirascope/api/_generated/traces/types/traces_create_request_resource_spans_item.py +36 -0
- mirascope/api/_generated/traces/types/traces_create_request_resource_spans_item_resource.py +31 -0
- mirascope/api/_generated/traces/types/traces_create_request_resource_spans_item_resource_attributes_item.py +25 -0
- mirascope/api/_generated/traces/types/traces_create_request_resource_spans_item_resource_attributes_item_value.py +54 -0
- mirascope/api/_generated/traces/types/traces_create_request_resource_spans_item_resource_attributes_item_value_array_value.py +23 -0
- mirascope/api/_generated/traces/types/traces_create_request_resource_spans_item_resource_attributes_item_value_kvlist_value.py +28 -0
- mirascope/api/_generated/traces/types/traces_create_request_resource_spans_item_resource_attributes_item_value_kvlist_value_values_item.py +24 -0
- mirascope/api/_generated/traces/types/traces_create_request_resource_spans_item_scope_spans_item.py +35 -0
- mirascope/api/_generated/traces/types/traces_create_request_resource_spans_item_scope_spans_item_scope.py +35 -0
- mirascope/api/_generated/traces/types/traces_create_request_resource_spans_item_scope_spans_item_scope_attributes_item.py +27 -0
- mirascope/api/_generated/traces/types/traces_create_request_resource_spans_item_scope_spans_item_scope_attributes_item_value.py +54 -0
- mirascope/api/_generated/traces/types/traces_create_request_resource_spans_item_scope_spans_item_scope_attributes_item_value_array_value.py +23 -0
- mirascope/api/_generated/traces/types/traces_create_request_resource_spans_item_scope_spans_item_scope_attributes_item_value_kvlist_value.py +28 -0
- mirascope/api/_generated/traces/types/traces_create_request_resource_spans_item_scope_spans_item_scope_attributes_item_value_kvlist_value_values_item.py +24 -0
- mirascope/api/_generated/traces/types/traces_create_request_resource_spans_item_scope_spans_item_spans_item.py +60 -0
- mirascope/api/_generated/traces/types/traces_create_request_resource_spans_item_scope_spans_item_spans_item_attributes_item.py +29 -0
- mirascope/api/_generated/traces/types/traces_create_request_resource_spans_item_scope_spans_item_spans_item_attributes_item_value.py +54 -0
- mirascope/api/_generated/traces/types/traces_create_request_resource_spans_item_scope_spans_item_spans_item_attributes_item_value_array_value.py +23 -0
- mirascope/api/_generated/traces/types/traces_create_request_resource_spans_item_scope_spans_item_spans_item_attributes_item_value_kvlist_value.py +28 -0
- mirascope/api/_generated/traces/types/traces_create_request_resource_spans_item_scope_spans_item_spans_item_attributes_item_value_kvlist_value_values_item.py +24 -0
- mirascope/api/_generated/traces/types/traces_create_request_resource_spans_item_scope_spans_item_spans_item_status.py +24 -0
- mirascope/api/_generated/traces/types/traces_create_response.py +27 -0
- mirascope/api/_generated/traces/types/traces_create_response_partial_success.py +28 -0
- mirascope/api/_generated/types/__init__.py +21 -0
- mirascope/api/_generated/types/http_api_decode_error.py +31 -0
- mirascope/api/_generated/types/http_api_decode_error_tag.py +5 -0
- mirascope/api/_generated/types/issue.py +44 -0
- mirascope/api/_generated/types/issue_tag.py +17 -0
- mirascope/api/_generated/types/property_key.py +7 -0
- mirascope/api/_generated/types/property_key_tag.py +29 -0
- mirascope/api/_generated/types/property_key_tag_tag.py +5 -0
- mirascope/api/client.py +255 -0
- mirascope/api/settings.py +81 -0
- mirascope/llm/__init__.py +41 -11
- mirascope/llm/calls/calls.py +81 -57
- mirascope/llm/calls/decorator.py +121 -115
- mirascope/llm/content/__init__.py +3 -2
- mirascope/llm/context/_utils.py +19 -6
- mirascope/llm/exceptions.py +30 -16
- mirascope/llm/formatting/_utils.py +9 -5
- mirascope/llm/formatting/format.py +2 -2
- mirascope/llm/formatting/from_call_args.py +2 -2
- mirascope/llm/messages/message.py +13 -5
- mirascope/llm/models/__init__.py +2 -2
- mirascope/llm/models/models.py +189 -81
- mirascope/llm/prompts/__init__.py +13 -12
- mirascope/llm/prompts/_utils.py +27 -24
- mirascope/llm/prompts/decorator.py +133 -204
- mirascope/llm/prompts/prompts.py +424 -0
- mirascope/llm/prompts/protocols.py +25 -59
- mirascope/llm/providers/__init__.py +38 -0
- mirascope/llm/{clients → providers}/_missing_import_stubs.py +8 -6
- mirascope/llm/providers/anthropic/__init__.py +24 -0
- mirascope/llm/{clients → providers}/anthropic/_utils/decode.py +5 -4
- mirascope/llm/{clients → providers}/anthropic/_utils/encode.py +31 -10
- mirascope/llm/providers/anthropic/model_id.py +40 -0
- mirascope/llm/{clients/anthropic/clients.py → providers/anthropic/provider.py} +33 -418
- mirascope/llm/{clients → providers}/base/__init__.py +3 -3
- mirascope/llm/{clients → providers}/base/_utils.py +10 -7
- mirascope/llm/{clients/base/client.py → providers/base/base_provider.py} +255 -126
- mirascope/llm/providers/google/__init__.py +21 -0
- mirascope/llm/{clients → providers}/google/_utils/decode.py +6 -4
- mirascope/llm/{clients → providers}/google/_utils/encode.py +30 -24
- mirascope/llm/providers/google/model_id.py +28 -0
- mirascope/llm/providers/google/provider.py +438 -0
- mirascope/llm/providers/load_provider.py +48 -0
- mirascope/llm/providers/mlx/__init__.py +24 -0
- mirascope/llm/providers/mlx/_utils.py +107 -0
- mirascope/llm/providers/mlx/encoding/__init__.py +8 -0
- mirascope/llm/providers/mlx/encoding/base.py +69 -0
- mirascope/llm/providers/mlx/encoding/transformers.py +131 -0
- mirascope/llm/providers/mlx/mlx.py +237 -0
- mirascope/llm/providers/mlx/model_id.py +17 -0
- mirascope/llm/providers/mlx/provider.py +411 -0
- mirascope/llm/providers/model_id.py +16 -0
- mirascope/llm/providers/openai/__init__.py +6 -0
- mirascope/llm/providers/openai/completions/__init__.py +20 -0
- mirascope/llm/{clients/openai/responses → providers/openai/completions}/_utils/__init__.py +2 -0
- mirascope/llm/{clients → providers}/openai/completions/_utils/decode.py +5 -3
- mirascope/llm/{clients → providers}/openai/completions/_utils/encode.py +33 -23
- mirascope/llm/providers/openai/completions/provider.py +456 -0
- mirascope/llm/providers/openai/model_id.py +31 -0
- mirascope/llm/providers/openai/model_info.py +246 -0
- mirascope/llm/providers/openai/provider.py +386 -0
- mirascope/llm/providers/openai/responses/__init__.py +21 -0
- mirascope/llm/{clients → providers}/openai/responses/_utils/decode.py +5 -3
- mirascope/llm/{clients → providers}/openai/responses/_utils/encode.py +28 -17
- mirascope/llm/providers/openai/responses/provider.py +470 -0
- mirascope/llm/{clients → providers}/openai/shared/_utils.py +7 -3
- mirascope/llm/providers/provider_id.py +13 -0
- mirascope/llm/providers/provider_registry.py +167 -0
- mirascope/llm/responses/base_response.py +10 -5
- mirascope/llm/responses/base_stream_response.py +10 -5
- mirascope/llm/responses/response.py +24 -13
- mirascope/llm/responses/root_response.py +7 -12
- mirascope/llm/responses/stream_response.py +35 -23
- mirascope/llm/tools/__init__.py +9 -2
- mirascope/llm/tools/_utils.py +12 -3
- mirascope/llm/tools/decorator.py +10 -10
- mirascope/llm/tools/protocols.py +4 -4
- mirascope/llm/tools/tool_schema.py +44 -9
- mirascope/llm/tools/tools.py +12 -11
- mirascope/ops/__init__.py +156 -0
- mirascope/ops/_internal/__init__.py +5 -0
- mirascope/ops/_internal/closure.py +1118 -0
- mirascope/ops/_internal/configuration.py +126 -0
- mirascope/ops/_internal/context.py +76 -0
- mirascope/ops/_internal/exporters/__init__.py +26 -0
- mirascope/ops/_internal/exporters/exporters.py +342 -0
- mirascope/ops/_internal/exporters/processors.py +104 -0
- mirascope/ops/_internal/exporters/types.py +165 -0
- mirascope/ops/_internal/exporters/utils.py +29 -0
- mirascope/ops/_internal/instrumentation/__init__.py +8 -0
- mirascope/ops/_internal/instrumentation/llm/__init__.py +8 -0
- mirascope/ops/_internal/instrumentation/llm/encode.py +238 -0
- mirascope/ops/_internal/instrumentation/llm/gen_ai_types/__init__.py +38 -0
- mirascope/ops/_internal/instrumentation/llm/gen_ai_types/gen_ai_input_messages.py +31 -0
- mirascope/ops/_internal/instrumentation/llm/gen_ai_types/gen_ai_output_messages.py +38 -0
- mirascope/ops/_internal/instrumentation/llm/gen_ai_types/gen_ai_system_instructions.py +18 -0
- mirascope/ops/_internal/instrumentation/llm/gen_ai_types/shared.py +100 -0
- mirascope/ops/_internal/instrumentation/llm/llm.py +1288 -0
- mirascope/ops/_internal/propagation.py +198 -0
- mirascope/ops/_internal/protocols.py +51 -0
- mirascope/ops/_internal/session.py +139 -0
- mirascope/ops/_internal/spans.py +232 -0
- mirascope/ops/_internal/traced_calls.py +371 -0
- mirascope/ops/_internal/traced_functions.py +394 -0
- mirascope/ops/_internal/tracing.py +276 -0
- mirascope/ops/_internal/types.py +13 -0
- mirascope/ops/_internal/utils.py +75 -0
- mirascope/ops/_internal/versioned_calls.py +512 -0
- mirascope/ops/_internal/versioned_functions.py +346 -0
- mirascope/ops/_internal/versioning.py +303 -0
- mirascope/ops/exceptions.py +21 -0
- {mirascope-2.0.0a1.dist-info → mirascope-2.0.0a3.dist-info}/METADATA +77 -1
- mirascope-2.0.0a3.dist-info/RECORD +206 -0
- {mirascope-2.0.0a1.dist-info → mirascope-2.0.0a3.dist-info}/WHEEL +1 -1
- mirascope/graphs/__init__.py +0 -22
- mirascope/graphs/finite_state_machine.py +0 -625
- mirascope/llm/agents/__init__.py +0 -15
- mirascope/llm/agents/agent.py +0 -97
- mirascope/llm/agents/agent_template.py +0 -45
- mirascope/llm/agents/decorator.py +0 -176
- mirascope/llm/calls/base_call.py +0 -33
- mirascope/llm/clients/__init__.py +0 -34
- mirascope/llm/clients/anthropic/__init__.py +0 -25
- mirascope/llm/clients/anthropic/model_ids.py +0 -8
- mirascope/llm/clients/google/__init__.py +0 -20
- mirascope/llm/clients/google/clients.py +0 -853
- mirascope/llm/clients/google/model_ids.py +0 -15
- mirascope/llm/clients/openai/__init__.py +0 -25
- mirascope/llm/clients/openai/completions/__init__.py +0 -28
- mirascope/llm/clients/openai/completions/_utils/model_features.py +0 -81
- mirascope/llm/clients/openai/completions/clients.py +0 -833
- mirascope/llm/clients/openai/completions/model_ids.py +0 -8
- mirascope/llm/clients/openai/responses/__init__.py +0 -26
- mirascope/llm/clients/openai/responses/_utils/model_features.py +0 -87
- mirascope/llm/clients/openai/responses/clients.py +0 -832
- mirascope/llm/clients/openai/responses/model_ids.py +0 -8
- mirascope/llm/clients/providers.py +0 -175
- mirascope-2.0.0a1.dist-info/RECORD +0 -102
- /mirascope/llm/{clients → providers}/anthropic/_utils/__init__.py +0 -0
- /mirascope/llm/{clients → providers}/base/kwargs.py +0 -0
- /mirascope/llm/{clients → providers}/base/params.py +0 -0
- /mirascope/llm/{clients → providers}/google/_utils/__init__.py +0 -0
- /mirascope/llm/{clients → providers}/google/message.py +0 -0
- /mirascope/llm/{clients/openai/completions → providers/openai/responses}/_utils/__init__.py +0 -0
- /mirascope/llm/{clients → providers}/openai/shared/__init__.py +0 -0
- {mirascope-2.0.0a1.dist-info → mirascope-2.0.0a3.dist-info}/licenses/LICENSE +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: mirascope
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.0a3
|
|
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/docs/mirascope/v2
|
|
@@ -40,6 +40,7 @@ Classifier: Programming Language :: Python :: 3.10
|
|
|
40
40
|
Classifier: Programming Language :: Python :: 3.11
|
|
41
41
|
Classifier: Programming Language :: Python :: 3.12
|
|
42
42
|
Classifier: Programming Language :: Python :: 3.13
|
|
43
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
43
44
|
Classifier: Topic :: File Formats :: JSON
|
|
44
45
|
Classifier: Topic :: File Formats :: JSON :: JSON Schema
|
|
45
46
|
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
|
@@ -52,20 +53,47 @@ Requires-Dist: typing-extensions>=4.10.0
|
|
|
52
53
|
Provides-Extra: all
|
|
53
54
|
Requires-Dist: anthropic<1.0,>=0.72.0; extra == 'all'
|
|
54
55
|
Requires-Dist: google-genai<2,>=1.48.0; extra == 'all'
|
|
56
|
+
Requires-Dist: libcst>=1.8.6; extra == 'all'
|
|
55
57
|
Requires-Dist: mcp<2,>=1.0.0; extra == 'all'
|
|
58
|
+
Requires-Dist: mlx-lm<1,>=0.28.4; extra == 'all'
|
|
56
59
|
Requires-Dist: openai<3,>=2.7.1; extra == 'all'
|
|
60
|
+
Requires-Dist: opentelemetry-api<2,>=1.38.0; extra == 'all'
|
|
61
|
+
Requires-Dist: opentelemetry-exporter-otlp<2,>=1.38.0; extra == 'all'
|
|
62
|
+
Requires-Dist: opentelemetry-instrumentation<1,>=0.59b0; extra == 'all'
|
|
63
|
+
Requires-Dist: opentelemetry-propagator-b3<2,>=1.38.0; extra == 'all'
|
|
64
|
+
Requires-Dist: opentelemetry-propagator-b3>=1.38.0; extra == 'all'
|
|
65
|
+
Requires-Dist: opentelemetry-propagator-jaeger>=1.38.0; extra == 'all'
|
|
66
|
+
Requires-Dist: opentelemetry-sdk<2,>=1.38.0; extra == 'all'
|
|
67
|
+
Requires-Dist: orjson>=3.11.4; extra == 'all'
|
|
68
|
+
Requires-Dist: packaging>=25.0; extra == 'all'
|
|
57
69
|
Requires-Dist: pillow<11,>=10.4.0; extra == 'all'
|
|
58
70
|
Requires-Dist: proto-plus>=1.24.0; extra == 'all'
|
|
71
|
+
Requires-Dist: pydantic-settings>=2.12.0; extra == 'all'
|
|
59
72
|
Provides-Extra: anthropic
|
|
60
73
|
Requires-Dist: anthropic<1.0,>=0.72.0; extra == 'anthropic'
|
|
74
|
+
Provides-Extra: api
|
|
75
|
+
Requires-Dist: pydantic-settings>=2.12.0; extra == 'api'
|
|
61
76
|
Provides-Extra: google
|
|
62
77
|
Requires-Dist: google-genai<2,>=1.48.0; extra == 'google'
|
|
63
78
|
Requires-Dist: pillow<11,>=10.4.0; extra == 'google'
|
|
64
79
|
Requires-Dist: proto-plus>=1.24.0; extra == 'google'
|
|
65
80
|
Provides-Extra: mcp
|
|
66
81
|
Requires-Dist: mcp<2,>=1.0.0; extra == 'mcp'
|
|
82
|
+
Provides-Extra: mlx
|
|
83
|
+
Requires-Dist: mlx-lm<1,>=0.28.4; extra == 'mlx'
|
|
67
84
|
Provides-Extra: openai
|
|
68
85
|
Requires-Dist: openai<3,>=2.7.1; extra == 'openai'
|
|
86
|
+
Provides-Extra: ops
|
|
87
|
+
Requires-Dist: libcst>=1.8.6; extra == 'ops'
|
|
88
|
+
Requires-Dist: opentelemetry-api<2,>=1.38.0; extra == 'ops'
|
|
89
|
+
Requires-Dist: opentelemetry-exporter-otlp<2,>=1.38.0; extra == 'ops'
|
|
90
|
+
Requires-Dist: opentelemetry-instrumentation<1,>=0.59b0; extra == 'ops'
|
|
91
|
+
Requires-Dist: opentelemetry-propagator-b3<2,>=1.38.0; extra == 'ops'
|
|
92
|
+
Requires-Dist: opentelemetry-propagator-b3>=1.38.0; extra == 'ops'
|
|
93
|
+
Requires-Dist: opentelemetry-propagator-jaeger>=1.38.0; extra == 'ops'
|
|
94
|
+
Requires-Dist: opentelemetry-sdk<2,>=1.38.0; extra == 'ops'
|
|
95
|
+
Requires-Dist: orjson>=3.11.4; extra == 'ops'
|
|
96
|
+
Requires-Dist: packaging>=25.0; extra == 'ops'
|
|
69
97
|
Description-Content-Type: text/markdown
|
|
70
98
|
|
|
71
99
|
## Mirascope v2 Python
|
|
@@ -91,6 +119,54 @@ This directory contains the Python implementation of Mirascope.
|
|
|
91
119
|
uv run pytest
|
|
92
120
|
```
|
|
93
121
|
|
|
122
|
+
## `ops.span` and Session Tracing
|
|
123
|
+
|
|
124
|
+
`mirascope.ops` provides tracing helpers to trace any Python function, not just
|
|
125
|
+
`llm.Model` calls.
|
|
126
|
+
|
|
127
|
+
1. Install the OTEL extra and set up a tracer provider exactly as shown above.
|
|
128
|
+
`ops.span` automatically reuses the active provider, so spans from manual
|
|
129
|
+
instrumentation and GenAI instrumentation end up in the same trace tree.
|
|
130
|
+
2. Use `ops.session` to group related spans and attach metadata:
|
|
131
|
+
```python
|
|
132
|
+
from mirascope import ops
|
|
133
|
+
|
|
134
|
+
with ops.session(id="req-42", attributes={"team": "core"}):
|
|
135
|
+
with ops.span("load-data") as span:
|
|
136
|
+
span.set(stage="ingest")
|
|
137
|
+
# expensive work here
|
|
138
|
+
```
|
|
139
|
+
3. The span exposes `span_id`/`trace_id`, logging helpers, and graceful no-op
|
|
140
|
+
behavior when OTEL is not configured. When OTEL is active, session metadata is
|
|
141
|
+
attached to every span, and additional tools like `ops.trace`/`ops.version`
|
|
142
|
+
(planned) can build on the same context.
|
|
143
|
+
|
|
144
|
+
## `ops.trace` Decorator
|
|
145
|
+
|
|
146
|
+
`@ops.trace` adds span instrumentation to any Python callable (including
|
|
147
|
+
`llm.Model` helpers) so you can capture argument/return metadata alongside the
|
|
148
|
+
GenAI spans emitted by `llm.instrument_opentelemetry`.
|
|
149
|
+
|
|
150
|
+
```python
|
|
151
|
+
from mirascope import ops
|
|
152
|
+
|
|
153
|
+
@ops.trace(tags=["ingest"])
|
|
154
|
+
def normalize(record: dict[str, str]) -> dict[str, str]:
|
|
155
|
+
return {k: v.strip() for k, v in record.items()}
|
|
156
|
+
|
|
157
|
+
result = normalize({"foo": " bar "})
|
|
158
|
+
wrapped = normalize.wrapped({"foo": " bar "})
|
|
159
|
+
print(wrapped.span_id, wrapped.trace_id)
|
|
160
|
+
```
|
|
161
|
+
|
|
162
|
+
- The decorator automatically handles sync/async functions and reuses `ops.span`
|
|
163
|
+
serialization logic for arguments/results.
|
|
164
|
+
- Combine with `ops.session` to tag spans with contextual metadata, and with
|
|
165
|
+
`ops.instrument_opentelemetry` to obtain both model-level GenAI spans
|
|
166
|
+
and method-level spans like `recommend_book.__call__`.
|
|
167
|
+
- For now we focus on Mirascope-layer entry points (e.g., decorated functions or
|
|
168
|
+
`llm.Model` wrappers) and do not auto-instrument underlying provider SDK calls.
|
|
169
|
+
|
|
94
170
|
## Testing
|
|
95
171
|
|
|
96
172
|
### VCR Cassettes
|
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
mirascope/__init__.py,sha256=V-G8hWENEcjxsv3kbGsRH4wwSDIfLhsYQK1BQRjMlk0,108
|
|
2
|
+
mirascope/api/__init__.py,sha256=9EOn04v3kFagbL1_RTpT_uOwUf_lZeFXVb69g4uaNfs,201
|
|
3
|
+
mirascope/api/client.py,sha256=3JrrC2zNlEttAUXHGN1kbDpGczyI9zCNiSZ3dEyqtAI,8253
|
|
4
|
+
mirascope/api/settings.py,sha256=NeROu5F0xFDUs0jIPFhD_FzBgVjI2mgGkMHeVquoDIM,2125
|
|
5
|
+
mirascope/api/_generated/README.md,sha256=7-B_qhXCHaXKX9FPG-G112hKmXM64uM6eNqmSdpaL_8,6079
|
|
6
|
+
mirascope/api/_generated/__init__.py,sha256=dAqrMCODDQl2tnoV3R4_D3SG2zUnD_G5bZxJCDfJ1Xc,4273
|
|
7
|
+
mirascope/api/_generated/client.py,sha256=975mpu-ifjCwjiXip1HQ3EnXFkT7wY2LqijxXNohFPs,5782
|
|
8
|
+
mirascope/api/_generated/environment.py,sha256=zrGdNnUZkaUyUtaamv2nKGfT9KZA5aCeWdSSN2dNphA,265
|
|
9
|
+
mirascope/api/_generated/reference.md,sha256=nw3G6SxWmHg3_SO92s8LmYKARC_MEoeTR-Kdb4EytO0,2448
|
|
10
|
+
mirascope/api/_generated/core/__init__.py,sha256=lTcqUPXcx4112yLDd70RAPeqq6tu3eFMe1pKOqkW9JQ,1562
|
|
11
|
+
mirascope/api/_generated/core/api_error.py,sha256=44vPoTyWN59gonCIZMdzw7M1uspygiLnr3GNFOoVL2Q,614
|
|
12
|
+
mirascope/api/_generated/core/client_wrapper.py,sha256=IDwIwiGeWsn5PvxRr8Cd_mZtNLrKYMbypyz0pfHloIA,1609
|
|
13
|
+
mirascope/api/_generated/core/datetime_utils.py,sha256=BHjt_H3WVslcuPsr6qjJoVif_SsdLvFN0c43ABE5UiQ,1069
|
|
14
|
+
mirascope/api/_generated/core/file.py,sha256=mUvNH6Wc-k2mSlXCJ9VoYzvgi7NcCkhTzlW2VXxSucg,2710
|
|
15
|
+
mirascope/api/_generated/core/force_multipart.py,sha256=awxh5MtcRYe74ehY8U76jzv6fYM_w_D3Rur7KQQzSDk,429
|
|
16
|
+
mirascope/api/_generated/core/http_client.py,sha256=yFmlICLYxga46DHiUHB3DilAW3UZcAFCnxjvB1eTZtE,22698
|
|
17
|
+
mirascope/api/_generated/core/http_response.py,sha256=4uOAtXXFTyFXHLXeQWSfQST9PGcOCRAdHVgGTxdyg84,1334
|
|
18
|
+
mirascope/api/_generated/core/jsonable_encoder.py,sha256=4QxUaRj3x-7A0g3zl6N-BToc_DixnvGDspw1p5DXX6E,3661
|
|
19
|
+
mirascope/api/_generated/core/pydantic_utilities.py,sha256=cI0R3a_fhPfK_zIclYBi1Ugn1EDIVWfdjrfA3Vg6UL0,11296
|
|
20
|
+
mirascope/api/_generated/core/query_encoder.py,sha256=8qYl5VPl1jU4cDF0X7oSU_DXjlVWY5ayigFBpNTMGOA,2150
|
|
21
|
+
mirascope/api/_generated/core/remove_none_from_dict.py,sha256=EU9SGgYidWq7SexuJbNs4-PZ-5Bl3Vppd864mS6vQZw,342
|
|
22
|
+
mirascope/api/_generated/core/request_options.py,sha256=h0QUNCFVdCW_7GclVySCAY2w4NhtXVBUCmHgmzaxpcg,1681
|
|
23
|
+
mirascope/api/_generated/core/serialization.py,sha256=UO5lcAerNrG-RfFLXPVU5MNV4xCCa9YdMqQ2CjkoulQ,9882
|
|
24
|
+
mirascope/api/_generated/docs/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
|
|
25
|
+
mirascope/api/_generated/docs/client.py,sha256=xeGkT4Oa2iiZruR3Xi7v4rDAx8blIkp6mIqy0RFpzBw,2507
|
|
26
|
+
mirascope/api/_generated/docs/raw_client.py,sha256=GpvLeVDBrti9DqCjb3IHwEucR-vE899HEiDRthVtEDc,4815
|
|
27
|
+
mirascope/api/_generated/errors/__init__.py,sha256=231FpxMihJ3fLHCNdI7nHyV1j0osaRyZsGC862F0O8I,163
|
|
28
|
+
mirascope/api/_generated/errors/bad_request_error.py,sha256=RAVSjgWr8jM993BLo-gO4c7H1ICDBI8a4MJ0UEen45Q,421
|
|
29
|
+
mirascope/api/_generated/health/__init__.py,sha256=UN1u0qzFG8zDGf3CABrpMNNEP467lQZKLQfTOpkwm2E,215
|
|
30
|
+
mirascope/api/_generated/health/client.py,sha256=SvPGUe72VyNoA7feW9iE4RDTzGIQ_pkXiR-d2Bg-cqU,2548
|
|
31
|
+
mirascope/api/_generated/health/raw_client.py,sha256=XRhraAPYg3ur0m9zMtQV86izy-_xdjpF3mDimytfFow,4523
|
|
32
|
+
mirascope/api/_generated/health/types/__init__.py,sha256=dYIZPgww1FuKOKJTeUWMDad1XYTzQaxp8jbwsfI_THI,272
|
|
33
|
+
mirascope/api/_generated/health/types/health_check_response.py,sha256=CcwGy-ROHpWfgKcRxw537fsnO66bxKtT5eo4sealVgo,681
|
|
34
|
+
mirascope/api/_generated/health/types/health_check_response_status.py,sha256=eCSX3a4cA5zETaIbLvtYkSeS3585DuJa9VnM1fw3VxE,155
|
|
35
|
+
mirascope/api/_generated/traces/__init__.py,sha256=SJinJhQCXCPrUYr9OfVMMBkS4qFW2ij9fm7Bc-tDF3o,3543
|
|
36
|
+
mirascope/api/_generated/traces/client.py,sha256=FXZu6X_T-8oWEaN51KG2sTX8zDu2TJkRN3NWfElPKJQ,5374
|
|
37
|
+
mirascope/api/_generated/traces/raw_client.py,sha256=r-QSTNCxvr3SxJe05z_XRvYgWjv9RZvA46EMZSRq1vQ,5982
|
|
38
|
+
mirascope/api/_generated/traces/types/__init__.py,sha256=Us0aBk4mK5yPOPPTjjf6yFRS6h4tTccI_FYUt9FEWCs,5711
|
|
39
|
+
mirascope/api/_generated/traces/types/traces_create_request_resource_spans_item.py,sha256=IatPuLCnf8_BPBwHY1pmGSt0t4B3E63jM5fKe6ptf8c,1247
|
|
40
|
+
mirascope/api/_generated/traces/types/traces_create_request_resource_spans_item_resource.py,sha256=ToxrS_Scb4OiDQXE_0eQom3oo7snNxC0yt2ezzFIGJM,1057
|
|
41
|
+
mirascope/api/_generated/traces/types/traces_create_request_resource_spans_item_resource_attributes_item.py,sha256=Ss1G1LPNsM6XVV5XfXxVUxSbpzPk966A0fa9o62toHs,821
|
|
42
|
+
mirascope/api/_generated/traces/types/traces_create_request_resource_spans_item_resource_attributes_item_value.py,sha256=iJtN2nr3pYapefZtIAP5yPFVPKy7bKIJi6baUtAhQQU,1966
|
|
43
|
+
mirascope/api/_generated/traces/types/traces_create_request_resource_spans_item_resource_attributes_item_value_array_value.py,sha256=-w5dUf9ESdcFdtECmsbXK49u1ypFopgxjvVimK_G-6Y,648
|
|
44
|
+
mirascope/api/_generated/traces/types/traces_create_request_resource_spans_item_resource_attributes_item_value_kvlist_value.py,sha256=8Psmv9Td6m1An81-LDJmxpirb3j6vaIPklTmyLZ0bc0,925
|
|
45
|
+
mirascope/api/_generated/traces/types/traces_create_request_resource_spans_item_resource_attributes_item_value_kvlist_value_values_item.py,sha256=yXQqqFHLA6zKXak_DEk9gKPeKtCjfW5i70B7Ryun27s,665
|
|
46
|
+
mirascope/api/_generated/traces/types/traces_create_request_resource_spans_item_scope_spans_item.py,sha256=DxPIa-BmKZLCtuOEPVfzXLrrPyYsA0YhjFWR7k7JXKw,1246
|
|
47
|
+
mirascope/api/_generated/traces/types/traces_create_request_resource_spans_item_scope_spans_item_scope.py,sha256=nVOKCc1g2qecjPrZ2aPHKMVm_7R6Q7y39pY0TvMIZK8,1181
|
|
48
|
+
mirascope/api/_generated/traces/types/traces_create_request_resource_spans_item_scope_spans_item_scope_attributes_item.py,sha256=pClKwGuQw9As51N7PaSCr9lfBm59Nm3hpkyEpjWcAHs,874
|
|
49
|
+
mirascope/api/_generated/traces/types/traces_create_request_resource_spans_item_scope_spans_item_scope_attributes_item_value.py,sha256=__XgKZpnAqr5fZ6Pxu-AezRgFRuowDkf6s0fjn_SNoA,2049
|
|
50
|
+
mirascope/api/_generated/traces/types/traces_create_request_resource_spans_item_scope_spans_item_scope_attributes_item_value_array_value.py,sha256=ZBmsvqjRn9oArJecRl_Sk2qlv--iXUbB2mH1iPAz2Eo,659
|
|
51
|
+
mirascope/api/_generated/traces/types/traces_create_request_resource_spans_item_scope_spans_item_scope_attributes_item_value_kvlist_value.py,sha256=OZT01ZWxExJgxDkdo2z41ZbBYhXs46e4yXFnuEZL-F0,972
|
|
52
|
+
mirascope/api/_generated/traces/types/traces_create_request_resource_spans_item_scope_spans_item_scope_attributes_item_value_kvlist_value_values_item.py,sha256=H2ujVxiamG2KLUqVwc_me41xLkK5tlqpyOMFUj3Jz30,676
|
|
53
|
+
mirascope/api/_generated/traces/types/traces_create_request_resource_spans_item_scope_spans_item_spans_item.py,sha256=JF383P8Z-NGH2u8EfRzrgG576HKnUfpa-7vIwl3EJxs,2423
|
|
54
|
+
mirascope/api/_generated/traces/types/traces_create_request_resource_spans_item_scope_spans_item_spans_item_attributes_item.py,sha256=r4OzzXKsTFkVbPCRyLYTzkItErxXWugK5bdU15tLKkU,907
|
|
55
|
+
mirascope/api/_generated/traces/types/traces_create_request_resource_spans_item_scope_spans_item_spans_item_attributes_item_value.py,sha256=M_hPkk-XE-1u4UOl9IwLtFGj664Y5hiXaECgBcrbaAI,2079
|
|
56
|
+
mirascope/api/_generated/traces/types/traces_create_request_resource_spans_item_scope_spans_item_spans_item_attributes_item_value_array_value.py,sha256=5sw4Dx4LsiKUcEMuMaIoc5P1EVSLPIC3gpuOMAy3pWA,663
|
|
57
|
+
mirascope/api/_generated/traces/types/traces_create_request_resource_spans_item_scope_spans_item_spans_item_attributes_item_value_kvlist_value.py,sha256=6DjceMB5PFj_l0kr3XZCMHaLiPZXcBkRboKP7un6fSk,989
|
|
58
|
+
mirascope/api/_generated/traces/types/traces_create_request_resource_spans_item_scope_spans_item_spans_item_attributes_item_value_kvlist_value_values_item.py,sha256=JPg6cNdAoAclmx1nJC6KJEHv3RZM9JEsR6pShZEWIKQ,680
|
|
59
|
+
mirascope/api/_generated/traces/types/traces_create_request_resource_spans_item_scope_spans_item_spans_item_status.py,sha256=V5HwPpOY0WCScTE6OJe55hEYkKoTbLM4B6qCFicsUUg,668
|
|
60
|
+
mirascope/api/_generated/traces/types/traces_create_response.py,sha256=LMCVtItwbrnqx9C4v9gkUxYgk4Ut6fJHziyQ_3W8kwE,867
|
|
61
|
+
mirascope/api/_generated/traces/types/traces_create_response_partial_success.py,sha256=9pTxUVArKBy0W3demKDBmfANGRYvhoDN6dt6ZhjjQpU,881
|
|
62
|
+
mirascope/api/_generated/types/__init__.py,sha256=RYBNlOlI5XVJHOoBD6XIw9lrJLNNJFStsxSp0fgM-c4,557
|
|
63
|
+
mirascope/api/_generated/types/http_api_decode_error.py,sha256=ovodKRp3NOb3unLl1CO55-3HGfUN-Z7Cqe63e4Jzb1Q,895
|
|
64
|
+
mirascope/api/_generated/types/http_api_decode_error_tag.py,sha256=4brH10CC1DEuSmruTFmEuy9rVgpucv9Wsde-4g6oYQM,167
|
|
65
|
+
mirascope/api/_generated/types/issue.py,sha256=hIVWBDlk95UqwXjr_kT_h1Nr2AHPX8-XwB7AwoJmAfI,1157
|
|
66
|
+
mirascope/api/_generated/types/issue_tag.py,sha256=C4AQ5_ewX0CacDGg9pHKh6DW4yEDVS4QmckOH3W_TsI,316
|
|
67
|
+
mirascope/api/_generated/types/property_key.py,sha256=KVmanwCdYxRPJOLIcmCoAGrSWH8t5hMjn8O9e0lD-tQ,181
|
|
68
|
+
mirascope/api/_generated/types/property_key_tag.py,sha256=r5sa9IHwLeTm_qCnyeqYtdITkvSnagzDznQy416QsIw,826
|
|
69
|
+
mirascope/api/_generated/types/property_key_tag_tag.py,sha256=yUdDrbnhJ_p_2wyfSq7cvagJrjTKtQG8k_pegrOYSjw,151
|
|
70
|
+
mirascope/llm/__init__.py,sha256=1WFziSHxiu2WlXPxbYdAXQX_4iV0uQf9qTgM0FZiiKk,5075
|
|
71
|
+
mirascope/llm/exceptions.py,sha256=81b5-3jUe68TWmzGDH7OP3jrDli5RoT2yfyBC7ukvoM,3586
|
|
72
|
+
mirascope/llm/calls/__init__.py,sha256=rnQ29w8x_EAEecZhP2i6N6u_qE-TO3sBZGAztF3o2QQ,273
|
|
73
|
+
mirascope/llm/calls/calls.py,sha256=tb0GTfH4dxna5RvRjcrS969QPDgWT45t6J3khHzkQ9s,11783
|
|
74
|
+
mirascope/llm/calls/decorator.py,sha256=F2KN-Ur25NyYZ8ir5yDozKP5X_bZTjQGMKTerEDrFnc,8766
|
|
75
|
+
mirascope/llm/content/__init__.py,sha256=4a5UaoiF8OKfXS9j7INFvOnU7bkNpacpiZ6IlLgC6Lc,1926
|
|
76
|
+
mirascope/llm/content/audio.py,sha256=W6liY1PuQ0pF91eDBnNKW52dr-G7-vnd-rhlSqebx9Y,5311
|
|
77
|
+
mirascope/llm/content/document.py,sha256=oz3LSUEhJh-lEUDCss5p_xkPBDYQhAu9m9SGFr64_pI,2369
|
|
78
|
+
mirascope/llm/content/image.py,sha256=lG0nPvObNEva1XjqUJcZI2T7jZ1xhHaSjqsCncg0XEU,6155
|
|
79
|
+
mirascope/llm/content/text.py,sha256=4lDzXXpDy601RAkv9m85InP_CklvLccFATPThBcY1Ho,1099
|
|
80
|
+
mirascope/llm/content/thought.py,sha256=jWtlVWoS-fDjByD-m2SPdPNNxvQhfwfOio0B95j10qU,1729
|
|
81
|
+
mirascope/llm/content/tool_call.py,sha256=Ogs-_ya50dc4Zb-bfNYFaMVdO5ZHpz4caGmr6ExGrVc,1613
|
|
82
|
+
mirascope/llm/content/tool_output.py,sha256=cCaRvfoR8QFQwnI90rfZjIEkK1GVBia3YJ5BjlOoojs,661
|
|
83
|
+
mirascope/llm/context/__init__.py,sha256=2Bx8CQhTXWbtwMirZ8ppmFKPXjuYezyi10XfmRpAE5I,179
|
|
84
|
+
mirascope/llm/context/_utils.py,sha256=3DbV0NL49m9oZYMUOHJULnVFMu6sO_SXZiriDs1L-vc,1210
|
|
85
|
+
mirascope/llm/context/context.py,sha256=qvmRXsyea34wXP-_0CCe6RwkT3H57dojCw6HHnv8LVc,629
|
|
86
|
+
mirascope/llm/formatting/__init__.py,sha256=N7cvwRFqNC1udcPSZPMLMX-1eNhEtqoZzH1uuAtEX7w,592
|
|
87
|
+
mirascope/llm/formatting/_utils.py,sha256=MDI-MJ1U8ZOaUVg0KE9EFE3MTIejuwlayY1dkJzVA5s,2469
|
|
88
|
+
mirascope/llm/formatting/format.py,sha256=Sv_xAk_6dQ4WY0TqeCMrtELXWN4K-i2Vu4RuQ_C9FQM,3618
|
|
89
|
+
mirascope/llm/formatting/from_call_args.py,sha256=FfnInMf-KCo6VKIPWsppMSzapWqtGlfKwNMJSkzo2ys,917
|
|
90
|
+
mirascope/llm/formatting/partial.py,sha256=_7WlcHvjNJIVrYGVCGphu5Y6UyZQlKyENp05QAtyJ0Q,1785
|
|
91
|
+
mirascope/llm/formatting/types.py,sha256=GSoY82khvf53lwh8qEVIoeslVvoinx8cwLhh_NygB9k,4086
|
|
92
|
+
mirascope/llm/mcp/__init__.py,sha256=qVMSydtTuNezpxv91w5JoV9b3-1s743X-bxh012JmjQ,192
|
|
93
|
+
mirascope/llm/mcp/client.py,sha256=jbOn0QohgEu40JXvjENM7VE7pws8em3Jyx-Yn1YWZ_s,3613
|
|
94
|
+
mirascope/llm/messages/__init__.py,sha256=YJ4D-s_vQd76GTRmRstI2i9Yx561plmURf-zrydKjSo,708
|
|
95
|
+
mirascope/llm/messages/message.py,sha256=GkF556Na5H8AMGSMqA6Y4n-uHI3ZKRaq6K9d9acdtaE,6521
|
|
96
|
+
mirascope/llm/models/__init__.py,sha256=gdd4Bp_oVriaQzUnUJ_WNHz32BxrzFShPvXh-Hn4GvY,505
|
|
97
|
+
mirascope/llm/models/models.py,sha256=u4kGRuMsGRa3rLj1TfecEVic4snhxwTSAvhqBTxYe2I,44722
|
|
98
|
+
mirascope/llm/prompts/__init__.py,sha256=rOtSiZvw6vsJl7vCFWzKZnm3haNhnLtPRzPfdbgoH7U,727
|
|
99
|
+
mirascope/llm/prompts/_utils.py,sha256=kwSUdP4etxapheLoQPtB2UFXJs13o2IACWNdEVb_d_s,1951
|
|
100
|
+
mirascope/llm/prompts/decorator.py,sha256=IcQv2lktag5gioEYp5aPtaIe66ZR-i1gaYpj7jk2qVs,6985
|
|
101
|
+
mirascope/llm/prompts/prompts.py,sha256=VcuGDbqT4Z3mBgJIaa0RsTSGkck1MyaxdufkgKHMVcU,14041
|
|
102
|
+
mirascope/llm/prompts/protocols.py,sha256=auopJnLAfOognCFVVnXrvb4zFj3102Ofi2iVHfublM0,2242
|
|
103
|
+
mirascope/llm/providers/__init__.py,sha256=5DSRSHQ5fppt0MR7HefsJWtUP6tcfg-kQPgwj3kk9dk,902
|
|
104
|
+
mirascope/llm/providers/_missing_import_stubs.py,sha256=CO9FZgM0r1jWoTPOzc6G_fJ8pLUPK1K_c8Pg9OWfoDc,1581
|
|
105
|
+
mirascope/llm/providers/load_provider.py,sha256=Ui4ZRZbIFnsnu092YOe0BENtE93D8l2SHy412qL8Ugc,1837
|
|
106
|
+
mirascope/llm/providers/model_id.py,sha256=qr7RKkP_3Blgxjzw_HvQVJLM1aTzsP-jVFsycz0itI8,292
|
|
107
|
+
mirascope/llm/providers/provider_id.py,sha256=oxi6XRLETdamgzuMcgOyxIsUq6m0n2qBZMZGIS-O6EE,453
|
|
108
|
+
mirascope/llm/providers/provider_registry.py,sha256=bn_a3bPqCCN4bq1BGjRIo0gqKKWdbb-pyGpuUgppLQ4,5554
|
|
109
|
+
mirascope/llm/providers/anthropic/__init__.py,sha256=P98Qc1ktZGa8WqenunmgMV43Fp-fIkwidXOAjDRNOeY,640
|
|
110
|
+
mirascope/llm/providers/anthropic/model_id.py,sha256=aMpVde8oeEvNRCS9A9p73qF5deL4jXNQ_87zDoNRN94,1311
|
|
111
|
+
mirascope/llm/providers/anthropic/provider.py,sha256=BiEnhLz82Wy66t7nUG0NP3pfAmiIfBWX334j920IyQE,15217
|
|
112
|
+
mirascope/llm/providers/anthropic/_utils/__init__.py,sha256=U2VNfEJCaqorAJBZDV7p3rFEp1fyk7vSitYFv_5G5Cs,232
|
|
113
|
+
mirascope/llm/providers/anthropic/_utils/decode.py,sha256=3nQOt8Rh5LEESni2EZLIuFYK5wLCldf5CUI0lBHTUP8,9134
|
|
114
|
+
mirascope/llm/providers/anthropic/_utils/encode.py,sha256=JKF353LVdM5_0dtV5hs27fU5C79f2n1TeclzIZ6BjLU,9509
|
|
115
|
+
mirascope/llm/providers/base/__init__.py,sha256=TdIwuefY-hZmKJWYyMBLOF6iR6dlsJeK7LnOVOn25YE,291
|
|
116
|
+
mirascope/llm/providers/base/_utils.py,sha256=kZHvuDsJoHyySqyEBxSNe9X616-wce2Cvk4H0siXqwo,7015
|
|
117
|
+
mirascope/llm/providers/base/base_provider.py,sha256=y4Vuy9Nezq1IIZXBpLSpSjbJyU1CFFCiVOu8LMqnQUI,46506
|
|
118
|
+
mirascope/llm/providers/base/kwargs.py,sha256=pjaHVqtlmScUBqG8ZAllVaLoepdKE-KYl2eTqzOBXm0,406
|
|
119
|
+
mirascope/llm/providers/base/params.py,sha256=x2WLz0s5rMZ3u3GBGQmRlYGjecePtsLglHSJBLh35YE,3670
|
|
120
|
+
mirascope/llm/providers/google/__init__.py,sha256=FgBiQApWbD0pnZuJlYVvoi_LN-5WRg6rsOtfILJRwlk,596
|
|
121
|
+
mirascope/llm/providers/google/message.py,sha256=ryNsMKPSyBSVXl_H0MQEaSiWC3FFybjxIUuORNSiKTk,179
|
|
122
|
+
mirascope/llm/providers/google/model_id.py,sha256=N17Z4QCI5MiV4fTp9q3LC-d3BL60Cbr37xpEK48fdnU,724
|
|
123
|
+
mirascope/llm/providers/google/provider.py,sha256=TBJUl5N5GusjSlcxeVS0FAR31bgcwWOd2Z4BwbJpF-A,15196
|
|
124
|
+
mirascope/llm/providers/google/_utils/__init__.py,sha256=U2VNfEJCaqorAJBZDV7p3rFEp1fyk7vSitYFv_5G5Cs,232
|
|
125
|
+
mirascope/llm/providers/google/_utils/decode.py,sha256=eBgV38gZg95tnaC11pFTzjfVsNodO2nwaiMZyO_BVLY,9104
|
|
126
|
+
mirascope/llm/providers/google/_utils/encode.py,sha256=us2M48CyIpCe1LFcCDhd031NFT6_0cUrodoevkOVzl0,10888
|
|
127
|
+
mirascope/llm/providers/mlx/__init__.py,sha256=zUYFUn36AVxHaN0hgi-RTwVeO2eydz9B-8OkAsB9aOY,574
|
|
128
|
+
mirascope/llm/providers/mlx/_utils.py,sha256=TPVNIhvqdSD9duhbZw73FgKtfYgs7hs0bS8LvnpBoU8,3321
|
|
129
|
+
mirascope/llm/providers/mlx/mlx.py,sha256=SfNpbKkRpJMW984-wVDyhzgMXfUL5Huo3tQfH3OvbPo,8116
|
|
130
|
+
mirascope/llm/providers/mlx/model_id.py,sha256=oHj-ptT4vTPcatHtjDSw7Z7-xs8ACMfYeRoEsKkM6yE,618
|
|
131
|
+
mirascope/llm/providers/mlx/provider.py,sha256=31uHiA-ar4JGU26FnLKhpHz1h_LN2k87VGZto-MqTyo,13879
|
|
132
|
+
mirascope/llm/providers/mlx/encoding/__init__.py,sha256=qdI7HELeha1wj1OoOn1jH0Xta6yNkI_SDlYbqoWUd0c,163
|
|
133
|
+
mirascope/llm/providers/mlx/encoding/base.py,sha256=5cQX_8RBEgrfiHiUD7waPAmi3Sy_0gkBsFpRvf7VIdE,2228
|
|
134
|
+
mirascope/llm/providers/mlx/encoding/transformers.py,sha256=EosK5v52Bvk233H-G9yW-yCiGUH-5y4OGPHZUMRnZI0,4541
|
|
135
|
+
mirascope/llm/providers/openai/__init__.py,sha256=oxNOUSsX9G7xt9yLImEcOp6E5PFDITOGzXphxFxuWDY,157
|
|
136
|
+
mirascope/llm/providers/openai/model_id.py,sha256=XDQxd2BgG_YIGwzyTRNaySRXoU80-q0AR-xOdtvpB8I,1009
|
|
137
|
+
mirascope/llm/providers/openai/model_info.py,sha256=capCjAHglWgK8ge8YBdDfJnf8FuEnGBROhL0iB6-v1M,7903
|
|
138
|
+
mirascope/llm/providers/openai/provider.py,sha256=Cz-bU71n6E4jU2hQ9lMqPJ-WYkr6ZRabgLGrPOYk-Do,14303
|
|
139
|
+
mirascope/llm/providers/openai/completions/__init__.py,sha256=mr61sdQdbwyy1IKY4LISv3gi8jTfDsx8dXOcCVIsyh4,515
|
|
140
|
+
mirascope/llm/providers/openai/completions/provider.py,sha256=J-Ts_bY7p6EzgbLhBbYCsVEl-gRP0pfPvDdYV1jZjV8,16008
|
|
141
|
+
mirascope/llm/providers/openai/completions/_utils/__init__.py,sha256=j6brTqACyRS71pkZIcL-LxneE5ALhaHkCtUnBUS0448,266
|
|
142
|
+
mirascope/llm/providers/openai/completions/_utils/decode.py,sha256=8SSgLOFIXuCd_8G3QLIl50nM1hKYb8n13cnvgkAW54I,6646
|
|
143
|
+
mirascope/llm/providers/openai/completions/_utils/encode.py,sha256=97J-8sWSsd3g45Zyiyb0b_lnKX3t9cgw9dRPLAJrf8o,13685
|
|
144
|
+
mirascope/llm/providers/openai/responses/__init__.py,sha256=Mo45QmWX111jc0Ws24LrJg3w2gVoFgVGDcby0_iSOLk,506
|
|
145
|
+
mirascope/llm/providers/openai/responses/provider.py,sha256=5bSlMLb4glLwGJtVWlPRe3DLtcpy6vHX-SEl13VNyvs,16344
|
|
146
|
+
mirascope/llm/providers/openai/responses/_utils/__init__.py,sha256=U2VNfEJCaqorAJBZDV7p3rFEp1fyk7vSitYFv_5G5Cs,232
|
|
147
|
+
mirascope/llm/providers/openai/responses/_utils/decode.py,sha256=yTVh8Bqhd1kdn9DK-YDf1Z3pszrAeIuPmPCTHvUgguI,7692
|
|
148
|
+
mirascope/llm/providers/openai/responses/_utils/encode.py,sha256=WI1tlcehyEM5aYwD7-hLTc4DQ-mn_b5rpSitSu5-QNs,12814
|
|
149
|
+
mirascope/llm/providers/openai/shared/__init__.py,sha256=x4koHwL1YsrZ-vzJ-RZks9xEVUUwGuMmthxRXlmQUqc,104
|
|
150
|
+
mirascope/llm/providers/openai/shared/_utils.py,sha256=RbDDbzwgMcTzib1TjhWOcBGUxzQlLxCQiQ-ZozmLTFY,1781
|
|
151
|
+
mirascope/llm/responses/__init__.py,sha256=bWEY1_AkJxBTtq3ML3cJM2arU1XOoDFCv2QvukFz73c,1308
|
|
152
|
+
mirascope/llm/responses/_utils.py,sha256=JkKXzG6-WqAbbmWLKOmbe7gDpp9xwg7xNHXryFbt6ME,1662
|
|
153
|
+
mirascope/llm/responses/base_response.py,sha256=rzhkhhl4T4wDJnqPupvXd_b5hkvETFpgPe2dlel5wXY,4029
|
|
154
|
+
mirascope/llm/responses/base_stream_response.py,sha256=qJ-5KRF5tvNeXSzOK3CElPP8m62q4vh27Fg0qSb1QB4,28110
|
|
155
|
+
mirascope/llm/responses/finish_reason.py,sha256=1iSVaTZP8zlTwc9Pr4r10AzGkMz0iy0om8vKsHJ0OUY,742
|
|
156
|
+
mirascope/llm/responses/response.py,sha256=mHAwk13Au6PXUY3ZbwYyp-YfvAM62qGJkLlnMMyyAKA,12253
|
|
157
|
+
mirascope/llm/responses/root_response.py,sha256=8lldXCaMU2-Xq8s6k8e3w-AobzcDYRdQR8I-7l-Uv3o,6173
|
|
158
|
+
mirascope/llm/responses/stream_response.py,sha256=ut85tOLGbGI3abheHKf55qEndLsRmddo1sEMQk7PtNo,24142
|
|
159
|
+
mirascope/llm/responses/streams.py,sha256=TmEFvLVEWHfVYplik61yUWisxe8JGbaZdh7yC7e-axI,10789
|
|
160
|
+
mirascope/llm/tools/__init__.py,sha256=P9NX6pP5fKScTAuR9K3fODdW17wQ-6fcArVx2klGies,961
|
|
161
|
+
mirascope/llm/tools/_utils.py,sha256=mUi6vUEwYuwu8W9FCQcQ_9h_VE_U-Y3Y2UQ2YptPZL4,1171
|
|
162
|
+
mirascope/llm/tools/decorator.py,sha256=1K-67dJkjCOS1rHAM91lOT8XfShTw54QA-TMEok5eH0,5326
|
|
163
|
+
mirascope/llm/tools/protocols.py,sha256=pUgGuh4TilRuoipeEHfTzu5cXacMnUpz0Q5YXQyAY2I,3050
|
|
164
|
+
mirascope/llm/tools/tool_schema.py,sha256=V22tpF_1YIBoCSQWk-oBJmBtWu8SJDUbNtF-Ub-jrYs,9164
|
|
165
|
+
mirascope/llm/tools/toolkit.py,sha256=pGXchFSO2H7PxFM2sPQYEMDAYHNaX9bhGEyyou_4vsg,4900
|
|
166
|
+
mirascope/llm/tools/tools.py,sha256=7g1CrntiVsBgUzm5MHclHCs_2KzO4Ydu-paHdc7xHmk,5993
|
|
167
|
+
mirascope/llm/types/__init__.py,sha256=lqzi1FkZ-s-D9-KQzVkAHuQQ1zp6B6yM3r9UNo46teE,357
|
|
168
|
+
mirascope/llm/types/dataclass.py,sha256=y4_9M3Yqw_4I-H0V4TwvgGIp6JvRdtpW11NxqufnsJk,247
|
|
169
|
+
mirascope/llm/types/jsonable.py,sha256=KY6l21_RBhlHQRXQ_xy6pUqqbTVb_jVFSU4ykRy_OLU,1104
|
|
170
|
+
mirascope/llm/types/type_vars.py,sha256=OsAcQAZh5T_X8ZTLlP4GC1x3qgVY9rfYSnME8aMTDxw,642
|
|
171
|
+
mirascope/ops/__init__.py,sha256=ryfU8Zn_PRELldrExsjz89eN_Qmk9FoDipaDsgf5CaY,5545
|
|
172
|
+
mirascope/ops/exceptions.py,sha256=N5AES285tTxFJ1THIeJht-_ZEQ7-7_FWoes4EBAu3B8,641
|
|
173
|
+
mirascope/ops/_internal/__init__.py,sha256=yCf8bnHiQFWYsBkwBPyMqknI5apmOwlmyf105mH9EAE,173
|
|
174
|
+
mirascope/ops/_internal/closure.py,sha256=MM2RSGYTV8YH9SUt8itqDCnxpUUeL0Pq3BLDr08Zrbw,40392
|
|
175
|
+
mirascope/ops/_internal/configuration.py,sha256=G_DnUfrAtuPb0-fQQpPts0yFCLdeYW-RqS2Td61pqjg,3616
|
|
176
|
+
mirascope/ops/_internal/context.py,sha256=G0Jiv6XfWjeDyRrh5-Wg6I0UlqiDj17SNMhtQ6Rw3lM,2522
|
|
177
|
+
mirascope/ops/_internal/propagation.py,sha256=2in7uttv2b5MBoe3Ol1mgn6N20TqhH0sErGak7hMUDY,7032
|
|
178
|
+
mirascope/ops/_internal/protocols.py,sha256=QnWuTlC-FC0hB4SFKIbd4bPNtvRHZt7HtjNXaUnWC-k,1666
|
|
179
|
+
mirascope/ops/_internal/session.py,sha256=-7r2TbJiAKeEQ0YaJ9X_2BlumLK7x6h9wP6f8ei-5GA,4105
|
|
180
|
+
mirascope/ops/_internal/spans.py,sha256=Mx4x2sSYYIhibcHKr99TTboUdGrSPV09NpftJD5kkBE,7675
|
|
181
|
+
mirascope/ops/_internal/traced_calls.py,sha256=zMvAD3JMER5RmfScv3R9CaJxAWqQMhel_MTrvDyM1-w,12888
|
|
182
|
+
mirascope/ops/_internal/traced_functions.py,sha256=eGtFaGuaImcpggbXYBmdU9eKtscoNDTcSwGvTt9ixeM,14174
|
|
183
|
+
mirascope/ops/_internal/tracing.py,sha256=d3BQwjR7aUsn1RdsDLoMIDg71CbwR9xo4gqDvXFlaMA,7808
|
|
184
|
+
mirascope/ops/_internal/types.py,sha256=5B1RgChTEbGkLZvdoX8XA2vMKn4bS8BczjGDElxmugI,412
|
|
185
|
+
mirascope/ops/_internal/utils.py,sha256=-qnKlrquo87EPD-_7NstJbzXVUWuuIbhSRnFdMi1ovI,2474
|
|
186
|
+
mirascope/ops/_internal/versioned_calls.py,sha256=7oePDEuf98ph6yrHKJmXSagc1mGz5sdTTJgQnB2CyHM,18445
|
|
187
|
+
mirascope/ops/_internal/versioned_functions.py,sha256=O9J9GfmLlXwBWpk1AH1tFxynS_zCEAp4PjKV6PykvL8,12744
|
|
188
|
+
mirascope/ops/_internal/versioning.py,sha256=MxiezWrGUPiLZxZnwwXDFTR7EMrfTHR7rmd14TuDCL8,8286
|
|
189
|
+
mirascope/ops/_internal/exporters/__init__.py,sha256=3PUd75TczW_8bUImcWgddWyoRmygGf6T_jL7Jo3t_sY,608
|
|
190
|
+
mirascope/ops/_internal/exporters/exporters.py,sha256=YQtV605xMxCT2FixFvHNi2zpxeoTKZGKc7Xn0cjq4x8,12798
|
|
191
|
+
mirascope/ops/_internal/exporters/processors.py,sha256=hkNwA5m0e_KJoPQf_EPUaK6ItZlJ8D5TCBs-JAhGKXo,3511
|
|
192
|
+
mirascope/ops/_internal/exporters/types.py,sha256=1ge7nwNQ3HUH4qVoYeHhSUp3LxohkvDSoqPw2MDLEqw,4057
|
|
193
|
+
mirascope/ops/_internal/exporters/utils.py,sha256=zDZihsj4BxLZH3o2RKCofCvSUf4Nbo8Yro2dqkm0rI4,727
|
|
194
|
+
mirascope/ops/_internal/instrumentation/__init__.py,sha256=Fz2WUX_vFvLqHbMxkuVQAGRXyWkk9Oqug8DcA-oa4p8,180
|
|
195
|
+
mirascope/ops/_internal/instrumentation/llm/__init__.py,sha256=_L6JL3sw6XbW9ICsWe4RZpkT-_BFSIBbh_n00O9h_SM,184
|
|
196
|
+
mirascope/ops/_internal/instrumentation/llm/encode.py,sha256=y8zj51kKDsAQImyNJrhUCeydhEDjUAtCAqX8KiZ320M,8348
|
|
197
|
+
mirascope/ops/_internal/instrumentation/llm/llm.py,sha256=YDIGyFIGZALmZePM77Vue8Va9urxae4bIFBaniHzQgg,39392
|
|
198
|
+
mirascope/ops/_internal/instrumentation/llm/gen_ai_types/__init__.py,sha256=37jQoprefVlma7K9SJih78TbRqvKyx_PDRNLS31Y_kc,813
|
|
199
|
+
mirascope/ops/_internal/instrumentation/llm/gen_ai_types/gen_ai_input_messages.py,sha256=T35Lrskt0OvMu2kF98V2dgVhnQoRy_3ZJ2yTYgyxm48,758
|
|
200
|
+
mirascope/ops/_internal/instrumentation/llm/gen_ai_types/gen_ai_output_messages.py,sha256=qxLxSmwd_2EdymR4a5cDXc9DTSFGQXMhqSHGgS219Y4,957
|
|
201
|
+
mirascope/ops/_internal/instrumentation/llm/gen_ai_types/gen_ai_system_instructions.py,sha256=ZkWNOh6-tG6LtFP_0Hjfdf_8BqAsIFyP3tNybeo1FnY,388
|
|
202
|
+
mirascope/ops/_internal/instrumentation/llm/gen_ai_types/shared.py,sha256=JpmcF1i25EHc8KMv6nkpBwyIU46B_T8v1L71C16n080,3004
|
|
203
|
+
mirascope-2.0.0a3.dist-info/METADATA,sha256=zmSqj2dnZv3sQRC130xwlFvNvYA-i28_ogisQbzT9Q0,8932
|
|
204
|
+
mirascope-2.0.0a3.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
205
|
+
mirascope-2.0.0a3.dist-info/licenses/LICENSE,sha256=LAs5Q8mdawTsVdONpDGukwsoc4KEUBmmonDEL39b23Y,1072
|
|
206
|
+
mirascope-2.0.0a3.dist-info/RECORD,,
|
mirascope/graphs/__init__.py
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
"""The `graphs` module for writing graphs in a declarative style.
|
|
2
|
-
|
|
3
|
-
This module provides graph interfacing for writing graphs as a collection of functions
|
|
4
|
-
that are marked as nodes. Simply calling the function for one node inside of another
|
|
5
|
-
node function indicates an edge.
|
|
6
|
-
|
|
7
|
-
The graph can run uncompiled, in which case it's simply a context management interface
|
|
8
|
-
that makes it easy to access / update a shared context across multiple functions.
|
|
9
|
-
|
|
10
|
-
Compiling the graph will construct the underlying graph represented by the implicit
|
|
11
|
-
edges defined in the code. The way a node function is executed inside of another node
|
|
12
|
-
function will determine the final node and edge structure of the graph.
|
|
13
|
-
|
|
14
|
-
For example, a node that calls another node and returns nothing will operate as it's own
|
|
15
|
-
node with an edge to the node it called. A node that calls another node and stores its
|
|
16
|
-
return value will split into two nodes, one for everything before the call, and one for
|
|
17
|
-
everything after.
|
|
18
|
-
"""
|
|
19
|
-
|
|
20
|
-
from .finite_state_machine import FiniteStateMachine, RunContext
|
|
21
|
-
|
|
22
|
-
__all__ = ["FiniteStateMachine", "RunContext"]
|