ebaml 0.3.0__tar.gz → 0.3.1__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.
- {ebaml-0.3.0 → ebaml-0.3.1}/PKG-INFO +2 -2
- {ebaml-0.3.0 → ebaml-0.3.1}/README.md +1 -1
- {ebaml-0.3.0 → ebaml-0.3.1}/pyproject.toml +1 -1
- {ebaml-0.3.0 → ebaml-0.3.1}/pyproject.toml.orig +1 -1
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/.baml-generator-output.json +4 -4
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/__init__.py +22 -22
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/__init__.pyi +22 -22
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/_baml_sources.py +2 -2
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/_inlinedbaml.py +1 -1
- {ebaml-0.3.0 → ebaml-0.3.1}/src/ebaml/llm/descriptors.py +5 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/ebaml/local/audience.py +7 -3
- {ebaml-0.3.0 → ebaml-0.3.1}/LICENSE +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/.baml-generator-output-root +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/.gitignore +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/_function_registry.py +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/_invocation_types.py +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/_invocation_types.pyi +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/_typemap.py +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/ai/__init__.py +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/ai/__init__.pyi +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/ai/clients/__init__.py +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/ai/clients/__init__.pyi +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/ai/content/__init__.py +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/ai/content/__init__.pyi +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/ai/errors/__init__.py +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/ai/errors/__init__.pyi +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/ai/events/__init__.py +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/ai/events/__init__.pyi +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/ai/internal/__init__.py +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/ai/internal/__init__.pyi +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/ai/mcp/__init__.py +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/ai/mcp/__init__.pyi +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/ai/stream/__init__.py +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/ai/stream/__init__.pyi +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/ai/tools/__init__.py +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/ai/tools/__init__.pyi +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/ai/wire/__init__.py +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/ai/wire/__init__.pyi +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/baml/__init__.py +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/baml/__init__.pyi +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/baml/crypto/__init__.py +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/baml/crypto/__init__.pyi +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/baml/csv/__init__.py +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/baml/csv/__init__.pyi +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/baml/env/__init__.py +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/baml/env/__init__.pyi +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/baml/errors/__init__.py +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/baml/errors/__init__.pyi +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/baml/fs/__init__.py +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/baml/fs/__init__.pyi +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/baml/future/__init__.py +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/baml/future/__init__.pyi +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/baml/glob/__init__.py +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/baml/glob/__init__.pyi +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/baml/hash/__init__.py +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/baml/hash/__init__.pyi +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/baml/host/__init__.py +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/baml/host/__init__.pyi +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/baml/http/__init__.py +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/baml/http/__init__.pyi +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/baml/io/__init__.py +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/baml/io/__init__.pyi +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/baml/iter/__init__.py +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/baml/iter/__init__.pyi +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/baml/json/__init__.py +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/baml/json/__init__.pyi +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/baml/media/__init__.py +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/baml/media/__init__.pyi +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/baml/net/__init__.py +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/baml/net/__init__.pyi +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/baml/ops/__init__.py +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/baml/ops/__init__.pyi +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/baml/panics/__init__.py +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/baml/panics/__init__.pyi +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/baml/random/__init__.py +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/baml/random/__init__.pyi +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/baml/regex/__init__.py +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/baml/regex/__init__.pyi +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/baml/sap/__init__.py +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/baml/sap/__init__.pyi +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/baml/spawn/__init__.py +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/baml/spawn/__init__.pyi +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/baml/sys/__init__.py +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/baml/sys/__init__.pyi +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/baml/time/__init__.py +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/baml/time/__init__.pyi +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/baml/toml/__init__.py +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/baml/toml/__init__.pyi +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/baml/ws/__init__.py +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/baml/ws/__init__.pyi +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/baml/yaml/__init__.py +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/baml/yaml/__init__.pyi +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/experimental/__init__.py +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/experimental/__init__.pyi +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/py.typed +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/reflect/__init__.py +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/reflect/__init__.pyi +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/reflect/class_/__init__.py +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/reflect/class_/__init__.pyi +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/reflect/enum/__init__.py +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/reflect/enum/__init__.pyi +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/reflect/errors/__init__.py +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/reflect/errors/__init__.pyi +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/reflect/function/__init__.py +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/reflect/function/__init__.pyi +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/reflect/interface/__init__.py +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/reflect/interface/__init__.pyi +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/vendor/__init__.py +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/vendor/__init__.pyi +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/vendor/anthropic/__init__.py +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/vendor/anthropic/__init__.pyi +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/vendor/anthropic/internal/__init__.py +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/vendor/anthropic/internal/__init__.pyi +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/vendor/assert_/__init__.py +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/vendor/assert_/__init__.pyi +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/vendor/aws/__init__.py +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/vendor/aws/__init__.pyi +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/vendor/aws/internal/__init__.py +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/vendor/aws/internal/__init__.pyi +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/vendor/claude_code/__init__.py +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/vendor/claude_code/__init__.pyi +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/vendor/claude_code/internal/__init__.py +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/vendor/claude_code/internal/__init__.pyi +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/vendor/google/__init__.py +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/vendor/google/__init__.pyi +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/vendor/google/internal/__init__.py +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/vendor/google/internal/__init__.pyi +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/vendor/openai/__init__.py +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/vendor/openai/__init__.pyi +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/vendor/openai/internal/__init__.py +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/vendor/openai/internal/__init__.pyi +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/vendor/openai/internal/decisions/__init__.py +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/vendor/openai/internal/decisions/__init__.pyi +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/vendor/testing/__init__.py +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/vendor/testing/__init__.pyi +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/vendor/trace/__init__.py +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/vendor/trace/__init__.pyi +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/vendor/typesafeai/__init__.py +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/vendor/typesafeai/__init__.pyi +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/vendor/typesafeai/internal/__init__.py +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/vendor/typesafeai/internal/__init__.pyi +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/vendor/vercel/__init__.py +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/vendor/vercel/__init__.pyi +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/vendor/vercel/internal/__init__.py +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/baml_sdk/vendor/vercel/internal/__init__.pyi +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/ebaml/__init__.py +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/ebaml/benchmark.py +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/ebaml/core/__init__.py +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/ebaml/core/custom_types.py +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/ebaml/core/exceptions.py +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/ebaml/graphs/__init__.py +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/ebaml/graphs/ebm_graph.py +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/ebaml/graphs/graph_text.py +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/ebaml/graphs/model_kinds.py +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/ebaml/graphs/terms.py +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/ebaml/graphs/token_budget.py +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/ebaml/llm/__init__.py +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/ebaml/llm/options.py +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/ebaml/llm/provider_errors.py +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/ebaml/llm/retry.py +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/ebaml/llm/sdk_setup.py +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/ebaml/local/__init__.py +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/ebaml/local/fact_text.py +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/ebaml/local/facts.py +0 -0
- {ebaml-0.3.0 → ebaml-0.3.1}/src/ebaml/py.typed +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ebaml
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.1
|
|
4
4
|
Summary: BAML for Explainable Boosting Machines: talk to your EBM.
|
|
5
5
|
Keywords: baml,llm,explainable-ai,explainable-boosting-machine,interpretml
|
|
6
6
|
Author: Johnny Godoy
|
|
@@ -220,7 +220,7 @@ The facts are computed exactly from the scores and confidence intervals of the E
|
|
|
220
220
|
them in words. They are the three queries of [arXiv:2010.12265](https://arxiv.org/abs/2010.12265): minimum change
|
|
221
221
|
required, minimum sufficient reason and count completions. `audience="layperson"` (default) gives no model numbers;
|
|
222
222
|
`audience="data_scientist"` quotes scores, probabilities and confidence intervals. Subclass `ebaml.Audience` to add a
|
|
223
|
-
reader with its own rules. It supports binary classifiers
|
|
223
|
+
reader with its own rules. Pass `language="French"` (any language name) to get the explanations in that language. It supports binary classifiers
|
|
224
224
|
without interactions, and `explanation.facts` holds the numbers behind the text. The "Local explanations" page of the documentation explains what each explanation means, the options and the limits,
|
|
225
225
|
and `notebooks/local_explanations.py` walks through them on the Titanic data.
|
|
226
226
|
|
|
@@ -192,7 +192,7 @@ The facts are computed exactly from the scores and confidence intervals of the E
|
|
|
192
192
|
them in words. They are the three queries of [arXiv:2010.12265](https://arxiv.org/abs/2010.12265): minimum change
|
|
193
193
|
required, minimum sufficient reason and count completions. `audience="layperson"` (default) gives no model numbers;
|
|
194
194
|
`audience="data_scientist"` quotes scores, probabilities and confidence intervals. Subclass `ebaml.Audience` to add a
|
|
195
|
-
reader with its own rules. It supports binary classifiers
|
|
195
|
+
reader with its own rules. Pass `language="French"` (any language name) to get the explanations in that language. It supports binary classifiers
|
|
196
196
|
without interactions, and `explanation.facts` holds the numbers behind the text. The "Local explanations" page of the documentation explains what each explanation means, the options and the limits,
|
|
197
197
|
and `notebooks/local_explanations.py` walks through them on the Titanic data.
|
|
198
198
|
|
|
@@ -7,15 +7,15 @@
|
|
|
7
7
|
},
|
|
8
8
|
{
|
|
9
9
|
"relative_path": "__init__.py",
|
|
10
|
-
"sha256": "
|
|
10
|
+
"sha256": "cd987ae33762c18e019c2740a626191acca2454e7a35fd52cd6063b6e5d5c42d"
|
|
11
11
|
},
|
|
12
12
|
{
|
|
13
13
|
"relative_path": "__init__.pyi",
|
|
14
|
-
"sha256": "
|
|
14
|
+
"sha256": "d68b10a3c05704baf4a241201249b88bdf4f074927a3fe044c2ecd948b78ff45"
|
|
15
15
|
},
|
|
16
16
|
{
|
|
17
17
|
"relative_path": "_baml_sources.py",
|
|
18
|
-
"sha256": "
|
|
18
|
+
"sha256": "89bee5a4d1cefe54e077aff3b3bc5b32671d534a73f2babdeff6aa57d63a0fe3"
|
|
19
19
|
},
|
|
20
20
|
{
|
|
21
21
|
"relative_path": "_function_registry.py",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
},
|
|
24
24
|
{
|
|
25
25
|
"relative_path": "_inlinedbaml.py",
|
|
26
|
-
"sha256": "
|
|
26
|
+
"sha256": "a627d0980e34c1c28a38c927a23b3fa6f01ad6db8aa2d9eeb127d8ac6af048e9"
|
|
27
27
|
},
|
|
28
28
|
{
|
|
29
29
|
"relative_path": "_invocation_types.py",
|
|
@@ -145,8 +145,8 @@ local_system_msg = _define_function("user.local_system_msg", "sync", ["ex
|
|
|
145
145
|
local_system_msg_async = _define_function("user.local_system_msg", "async", ["expert_description"], binding_name="local_system_msg_async", binding_qualname="local_system_msg_async", binding_module=__name__)
|
|
146
146
|
|
|
147
147
|
|
|
148
|
-
local_user_msg = _define_function("user.local_user_msg", "sync", ["global_explanation", "prediction", "question", "facts", "audience_guidance", "dataset_description"], binding_name="local_user_msg", binding_qualname="local_user_msg", binding_module=__name__)
|
|
149
|
-
local_user_msg_async = _define_function("user.local_user_msg", "async", ["global_explanation", "prediction", "question", "facts", "audience_guidance", "dataset_description"], binding_name="local_user_msg_async", binding_qualname="local_user_msg_async", binding_module=__name__)
|
|
148
|
+
local_user_msg = _define_function("user.local_user_msg", "sync", ["global_explanation", "prediction", "question", "facts", "audience_guidance", "dataset_description"], ["language"], binding_name="local_user_msg", binding_qualname="local_user_msg", binding_module=__name__)
|
|
149
|
+
local_user_msg_async = _define_function("user.local_user_msg", "async", ["global_explanation", "prediction", "question", "facts", "audience_guidance", "dataset_description"], ["language"], binding_name="local_user_msg_async", binding_qualname="local_user_msg_async", binding_module=__name__)
|
|
150
150
|
|
|
151
151
|
|
|
152
152
|
counterfactual_question = _define_function("user.counterfactual_question", "sync", ["num_sentences"], binding_name="counterfactual_question", binding_qualname="counterfactual_question", binding_module=__name__)
|
|
@@ -161,70 +161,70 @@ completions_question = _define_function("user.completions_question", "sync
|
|
|
161
161
|
completions_question_async = _define_function("user.completions_question", "async", ["num_sentences"], binding_name="completions_question_async", binding_qualname="completions_question_async", binding_module=__name__)
|
|
162
162
|
|
|
163
163
|
|
|
164
|
-
LocalCounterfactual = _define_function("user.LocalCounterfactual", "sync", ["global_explanation", "facts", "audience_guidance", "num_sentences", "opts"], ["on_event"], binding_name="LocalCounterfactual", binding_qualname="LocalCounterfactual", binding_module=__name__)
|
|
164
|
+
LocalCounterfactual = _define_function("user.LocalCounterfactual", "sync", ["global_explanation", "facts", "audience_guidance", "num_sentences", "opts"], ["language", "on_event"], binding_name="LocalCounterfactual", binding_qualname="LocalCounterfactual", binding_module=__name__)
|
|
165
165
|
LocalCounterfactual.__doc__ = """Raises:
|
|
166
166
|
CompilationError, InvalidArgument, Io, ParseError, Timeout, UnknownError"""
|
|
167
|
-
LocalCounterfactual_async = _define_function("user.LocalCounterfactual", "async", ["global_explanation", "facts", "audience_guidance", "num_sentences", "opts"], ["on_event"], binding_name="LocalCounterfactual_async", binding_qualname="LocalCounterfactual_async", binding_module=__name__)
|
|
167
|
+
LocalCounterfactual_async = _define_function("user.LocalCounterfactual", "async", ["global_explanation", "facts", "audience_guidance", "num_sentences", "opts"], ["language", "on_event"], binding_name="LocalCounterfactual_async", binding_qualname="LocalCounterfactual_async", binding_module=__name__)
|
|
168
168
|
LocalCounterfactual_async.__doc__ = """Raises:
|
|
169
169
|
CompilationError, InvalidArgument, Io, ParseError, Timeout, UnknownError"""
|
|
170
|
-
LocalCounterfactual_spec = _define_function("user.LocalCounterfactual@spec", "sync", ["global_explanation", "facts", "audience_guidance", "num_sentences", "opts"], binding_name="LocalCounterfactual_spec", binding_qualname="LocalCounterfactual_spec", binding_module=__name__)
|
|
170
|
+
LocalCounterfactual_spec = _define_function("user.LocalCounterfactual@spec", "sync", ["global_explanation", "facts", "audience_guidance", "num_sentences", "opts"], ["language"], binding_name="LocalCounterfactual_spec", binding_qualname="LocalCounterfactual_spec", binding_module=__name__)
|
|
171
171
|
LocalCounterfactual_spec.__doc__ = """Raises:
|
|
172
172
|
InvalidArgument, Io, ParseError, InvalidRequest"""
|
|
173
|
-
LocalCounterfactual_spec_async = _define_function("user.LocalCounterfactual@spec", "async", ["global_explanation", "facts", "audience_guidance", "num_sentences", "opts"], binding_name="LocalCounterfactual_spec_async", binding_qualname="LocalCounterfactual_spec_async", binding_module=__name__)
|
|
173
|
+
LocalCounterfactual_spec_async = _define_function("user.LocalCounterfactual@spec", "async", ["global_explanation", "facts", "audience_guidance", "num_sentences", "opts"], ["language"], binding_name="LocalCounterfactual_spec_async", binding_qualname="LocalCounterfactual_spec_async", binding_module=__name__)
|
|
174
174
|
LocalCounterfactual_spec_async.__doc__ = """Raises:
|
|
175
175
|
InvalidArgument, Io, ParseError, InvalidRequest"""
|
|
176
|
-
LocalCounterfactual_stream = _define_function("user.LocalCounterfactual@stream", "sync", ["global_explanation", "facts", "audience_guidance", "num_sentences", "opts"], ["on_event"], binding_name="LocalCounterfactual_stream", binding_qualname="LocalCounterfactual_stream", binding_module=__name__)
|
|
176
|
+
LocalCounterfactual_stream = _define_function("user.LocalCounterfactual@stream", "sync", ["global_explanation", "facts", "audience_guidance", "num_sentences", "opts"], ["language", "on_event"], binding_name="LocalCounterfactual_stream", binding_qualname="LocalCounterfactual_stream", binding_module=__name__)
|
|
177
177
|
LocalCounterfactual_stream.__doc__ = """Raises:
|
|
178
178
|
CompilationError, SpanError, InvalidArgument, Io, ParseError, Timeout, UnknownError"""
|
|
179
|
-
LocalCounterfactual_stream_async = _define_function("user.LocalCounterfactual@stream", "async", ["global_explanation", "facts", "audience_guidance", "num_sentences", "opts"], ["on_event"], binding_name="LocalCounterfactual_stream_async", binding_qualname="LocalCounterfactual_stream_async", binding_module=__name__)
|
|
179
|
+
LocalCounterfactual_stream_async = _define_function("user.LocalCounterfactual@stream", "async", ["global_explanation", "facts", "audience_guidance", "num_sentences", "opts"], ["language", "on_event"], binding_name="LocalCounterfactual_stream_async", binding_qualname="LocalCounterfactual_stream_async", binding_module=__name__)
|
|
180
180
|
LocalCounterfactual_stream_async.__doc__ = """Raises:
|
|
181
181
|
CompilationError, SpanError, InvalidArgument, Io, ParseError, Timeout, UnknownError"""
|
|
182
182
|
|
|
183
183
|
|
|
184
|
-
LocalSufficientReason = _define_function("user.LocalSufficientReason", "sync", ["global_explanation", "facts", "audience_guidance", "num_sentences", "opts"], ["on_event"], binding_name="LocalSufficientReason", binding_qualname="LocalSufficientReason", binding_module=__name__)
|
|
184
|
+
LocalSufficientReason = _define_function("user.LocalSufficientReason", "sync", ["global_explanation", "facts", "audience_guidance", "num_sentences", "opts"], ["language", "on_event"], binding_name="LocalSufficientReason", binding_qualname="LocalSufficientReason", binding_module=__name__)
|
|
185
185
|
LocalSufficientReason.__doc__ = """Raises:
|
|
186
186
|
CompilationError, InvalidArgument, Io, ParseError, Timeout, UnknownError"""
|
|
187
|
-
LocalSufficientReason_async = _define_function("user.LocalSufficientReason", "async", ["global_explanation", "facts", "audience_guidance", "num_sentences", "opts"], ["on_event"], binding_name="LocalSufficientReason_async", binding_qualname="LocalSufficientReason_async", binding_module=__name__)
|
|
187
|
+
LocalSufficientReason_async = _define_function("user.LocalSufficientReason", "async", ["global_explanation", "facts", "audience_guidance", "num_sentences", "opts"], ["language", "on_event"], binding_name="LocalSufficientReason_async", binding_qualname="LocalSufficientReason_async", binding_module=__name__)
|
|
188
188
|
LocalSufficientReason_async.__doc__ = """Raises:
|
|
189
189
|
CompilationError, InvalidArgument, Io, ParseError, Timeout, UnknownError"""
|
|
190
|
-
LocalSufficientReason_spec = _define_function("user.LocalSufficientReason@spec", "sync", ["global_explanation", "facts", "audience_guidance", "num_sentences", "opts"], binding_name="LocalSufficientReason_spec", binding_qualname="LocalSufficientReason_spec", binding_module=__name__)
|
|
190
|
+
LocalSufficientReason_spec = _define_function("user.LocalSufficientReason@spec", "sync", ["global_explanation", "facts", "audience_guidance", "num_sentences", "opts"], ["language"], binding_name="LocalSufficientReason_spec", binding_qualname="LocalSufficientReason_spec", binding_module=__name__)
|
|
191
191
|
LocalSufficientReason_spec.__doc__ = """Raises:
|
|
192
192
|
InvalidArgument, Io, ParseError, InvalidRequest"""
|
|
193
|
-
LocalSufficientReason_spec_async = _define_function("user.LocalSufficientReason@spec", "async", ["global_explanation", "facts", "audience_guidance", "num_sentences", "opts"], binding_name="LocalSufficientReason_spec_async", binding_qualname="LocalSufficientReason_spec_async", binding_module=__name__)
|
|
193
|
+
LocalSufficientReason_spec_async = _define_function("user.LocalSufficientReason@spec", "async", ["global_explanation", "facts", "audience_guidance", "num_sentences", "opts"], ["language"], binding_name="LocalSufficientReason_spec_async", binding_qualname="LocalSufficientReason_spec_async", binding_module=__name__)
|
|
194
194
|
LocalSufficientReason_spec_async.__doc__ = """Raises:
|
|
195
195
|
InvalidArgument, Io, ParseError, InvalidRequest"""
|
|
196
|
-
LocalSufficientReason_stream = _define_function("user.LocalSufficientReason@stream", "sync", ["global_explanation", "facts", "audience_guidance", "num_sentences", "opts"], ["on_event"], binding_name="LocalSufficientReason_stream", binding_qualname="LocalSufficientReason_stream", binding_module=__name__)
|
|
196
|
+
LocalSufficientReason_stream = _define_function("user.LocalSufficientReason@stream", "sync", ["global_explanation", "facts", "audience_guidance", "num_sentences", "opts"], ["language", "on_event"], binding_name="LocalSufficientReason_stream", binding_qualname="LocalSufficientReason_stream", binding_module=__name__)
|
|
197
197
|
LocalSufficientReason_stream.__doc__ = """Raises:
|
|
198
198
|
CompilationError, SpanError, InvalidArgument, Io, ParseError, Timeout, UnknownError"""
|
|
199
|
-
LocalSufficientReason_stream_async = _define_function("user.LocalSufficientReason@stream", "async", ["global_explanation", "facts", "audience_guidance", "num_sentences", "opts"], ["on_event"], binding_name="LocalSufficientReason_stream_async", binding_qualname="LocalSufficientReason_stream_async", binding_module=__name__)
|
|
199
|
+
LocalSufficientReason_stream_async = _define_function("user.LocalSufficientReason@stream", "async", ["global_explanation", "facts", "audience_guidance", "num_sentences", "opts"], ["language", "on_event"], binding_name="LocalSufficientReason_stream_async", binding_qualname="LocalSufficientReason_stream_async", binding_module=__name__)
|
|
200
200
|
LocalSufficientReason_stream_async.__doc__ = """Raises:
|
|
201
201
|
CompilationError, SpanError, InvalidArgument, Io, ParseError, Timeout, UnknownError"""
|
|
202
202
|
|
|
203
203
|
|
|
204
|
-
LocalCompletions = _define_function("user.LocalCompletions", "sync", ["global_explanation", "facts", "audience_guidance", "num_sentences", "opts"], ["on_event"], binding_name="LocalCompletions", binding_qualname="LocalCompletions", binding_module=__name__)
|
|
204
|
+
LocalCompletions = _define_function("user.LocalCompletions", "sync", ["global_explanation", "facts", "audience_guidance", "num_sentences", "opts"], ["language", "on_event"], binding_name="LocalCompletions", binding_qualname="LocalCompletions", binding_module=__name__)
|
|
205
205
|
LocalCompletions.__doc__ = """Raises:
|
|
206
206
|
CompilationError, InvalidArgument, Io, ParseError, Timeout, UnknownError"""
|
|
207
|
-
LocalCompletions_async = _define_function("user.LocalCompletions", "async", ["global_explanation", "facts", "audience_guidance", "num_sentences", "opts"], ["on_event"], binding_name="LocalCompletions_async", binding_qualname="LocalCompletions_async", binding_module=__name__)
|
|
207
|
+
LocalCompletions_async = _define_function("user.LocalCompletions", "async", ["global_explanation", "facts", "audience_guidance", "num_sentences", "opts"], ["language", "on_event"], binding_name="LocalCompletions_async", binding_qualname="LocalCompletions_async", binding_module=__name__)
|
|
208
208
|
LocalCompletions_async.__doc__ = """Raises:
|
|
209
209
|
CompilationError, InvalidArgument, Io, ParseError, Timeout, UnknownError"""
|
|
210
|
-
LocalCompletions_spec = _define_function("user.LocalCompletions@spec", "sync", ["global_explanation", "facts", "audience_guidance", "num_sentences", "opts"], binding_name="LocalCompletions_spec", binding_qualname="LocalCompletions_spec", binding_module=__name__)
|
|
210
|
+
LocalCompletions_spec = _define_function("user.LocalCompletions@spec", "sync", ["global_explanation", "facts", "audience_guidance", "num_sentences", "opts"], ["language"], binding_name="LocalCompletions_spec", binding_qualname="LocalCompletions_spec", binding_module=__name__)
|
|
211
211
|
LocalCompletions_spec.__doc__ = """Raises:
|
|
212
212
|
InvalidArgument, Io, ParseError, InvalidRequest"""
|
|
213
|
-
LocalCompletions_spec_async = _define_function("user.LocalCompletions@spec", "async", ["global_explanation", "facts", "audience_guidance", "num_sentences", "opts"], binding_name="LocalCompletions_spec_async", binding_qualname="LocalCompletions_spec_async", binding_module=__name__)
|
|
213
|
+
LocalCompletions_spec_async = _define_function("user.LocalCompletions@spec", "async", ["global_explanation", "facts", "audience_guidance", "num_sentences", "opts"], ["language"], binding_name="LocalCompletions_spec_async", binding_qualname="LocalCompletions_spec_async", binding_module=__name__)
|
|
214
214
|
LocalCompletions_spec_async.__doc__ = """Raises:
|
|
215
215
|
InvalidArgument, Io, ParseError, InvalidRequest"""
|
|
216
|
-
LocalCompletions_stream = _define_function("user.LocalCompletions@stream", "sync", ["global_explanation", "facts", "audience_guidance", "num_sentences", "opts"], ["on_event"], binding_name="LocalCompletions_stream", binding_qualname="LocalCompletions_stream", binding_module=__name__)
|
|
216
|
+
LocalCompletions_stream = _define_function("user.LocalCompletions@stream", "sync", ["global_explanation", "facts", "audience_guidance", "num_sentences", "opts"], ["language", "on_event"], binding_name="LocalCompletions_stream", binding_qualname="LocalCompletions_stream", binding_module=__name__)
|
|
217
217
|
LocalCompletions_stream.__doc__ = """Raises:
|
|
218
218
|
CompilationError, SpanError, InvalidArgument, Io, ParseError, Timeout, UnknownError"""
|
|
219
|
-
LocalCompletions_stream_async = _define_function("user.LocalCompletions@stream", "async", ["global_explanation", "facts", "audience_guidance", "num_sentences", "opts"], ["on_event"], binding_name="LocalCompletions_stream_async", binding_qualname="LocalCompletions_stream_async", binding_module=__name__)
|
|
219
|
+
LocalCompletions_stream_async = _define_function("user.LocalCompletions@stream", "async", ["global_explanation", "facts", "audience_guidance", "num_sentences", "opts"], ["language", "on_event"], binding_name="LocalCompletions_stream_async", binding_qualname="LocalCompletions_stream_async", binding_module=__name__)
|
|
220
220
|
LocalCompletions_stream_async.__doc__ = """Raises:
|
|
221
221
|
CompilationError, SpanError, InvalidArgument, Io, ParseError, Timeout, UnknownError"""
|
|
222
222
|
|
|
223
223
|
|
|
224
|
-
explain_local = _define_function("user.explain_local", "sync", ["global_explanation", "facts", "audience_guidance", "num_sentences", "opts"], ["client", "model"], binding_name="explain_local", binding_qualname="explain_local", binding_module=__name__)
|
|
224
|
+
explain_local = _define_function("user.explain_local", "sync", ["global_explanation", "facts", "audience_guidance", "num_sentences", "opts"], ["language", "client", "model"], binding_name="explain_local", binding_qualname="explain_local", binding_module=__name__)
|
|
225
225
|
explain_local.__doc__ = """Raises:
|
|
226
226
|
CompilationError, InvalidArgument, Io, ParseError, Timeout, UnknownError"""
|
|
227
|
-
explain_local_async = _define_function("user.explain_local", "async", ["global_explanation", "facts", "audience_guidance", "num_sentences", "opts"], ["client", "model"], binding_name="explain_local_async", binding_qualname="explain_local_async", binding_module=__name__)
|
|
227
|
+
explain_local_async = _define_function("user.explain_local", "async", ["global_explanation", "facts", "audience_guidance", "num_sentences", "opts"], ["language", "client", "model"], binding_name="explain_local_async", binding_qualname="explain_local_async", binding_module=__name__)
|
|
228
228
|
explain_local_async.__doc__ = """Raises:
|
|
229
229
|
CompilationError, InvalidArgument, Io, ParseError, Timeout, UnknownError"""
|
|
230
230
|
|
|
@@ -116,8 +116,8 @@ def local_system_msg(expert_description: str, *, _baml: _BamlOptions | None = No
|
|
|
116
116
|
async def local_system_msg_async(expert_description: str, *, _baml: _BamlOptions | None = None) -> str: ...
|
|
117
117
|
|
|
118
118
|
|
|
119
|
-
def local_user_msg(global_explanation: str, prediction: str, question: str, facts: str, audience_guidance: str, dataset_description: str, *, _baml: _BamlOptions | None = None) -> str: ...
|
|
120
|
-
async def local_user_msg_async(global_explanation: str, prediction: str, question: str, facts: str, audience_guidance: str, dataset_description: str, *, _baml: _BamlOptions | None = None) -> str: ...
|
|
119
|
+
def local_user_msg(global_explanation: str, prediction: str, question: str, facts: str, audience_guidance: str, dataset_description: str, *, language: typing.Union[str, UNSET] = "English", _baml: _BamlOptions | None = None) -> str: ...
|
|
120
|
+
async def local_user_msg_async(global_explanation: str, prediction: str, question: str, facts: str, audience_guidance: str, dataset_description: str, *, language: typing.Union[str, UNSET] = "English", _baml: _BamlOptions | None = None) -> str: ...
|
|
121
121
|
|
|
122
122
|
|
|
123
123
|
def counterfactual_question(num_sentences: int, *, _baml: _BamlOptions | None = None) -> str: ...
|
|
@@ -132,70 +132,70 @@ def completions_question(num_sentences: int, *, _baml: _BamlOptions | None = Non
|
|
|
132
132
|
async def completions_question_async(num_sentences: int, *, _baml: _BamlOptions | None = None) -> str: ...
|
|
133
133
|
|
|
134
134
|
|
|
135
|
-
def LocalCounterfactual(global_explanation: str, facts: LocalFactTexts, audience_guidance: str, num_sentences: int, opts: GraphPromptOptions, *, on_event: typing.Union[typing.Callable[[ai.events.Event], None], None, UNSET] = None, _baml: _BamlOptions | None = None) -> str:
|
|
135
|
+
def LocalCounterfactual(global_explanation: str, facts: LocalFactTexts, audience_guidance: str, num_sentences: int, opts: GraphPromptOptions, *, language: typing.Union[str, UNSET] = "English", on_event: typing.Union[typing.Callable[[ai.events.Event], None], None, UNSET] = None, _baml: _BamlOptions | None = None) -> str:
|
|
136
136
|
"""Raises:
|
|
137
137
|
CompilationError, InvalidArgument, Io, ParseError, Timeout, UnknownError"""
|
|
138
|
-
async def LocalCounterfactual_async(global_explanation: str, facts: LocalFactTexts, audience_guidance: str, num_sentences: int, opts: GraphPromptOptions, *, on_event: typing.Union[typing.Callable[[ai.events.Event], None], None, UNSET] = None, _baml: _BamlOptions | None = None) -> str:
|
|
138
|
+
async def LocalCounterfactual_async(global_explanation: str, facts: LocalFactTexts, audience_guidance: str, num_sentences: int, opts: GraphPromptOptions, *, language: typing.Union[str, UNSET] = "English", on_event: typing.Union[typing.Callable[[ai.events.Event], None], None, UNSET] = None, _baml: _BamlOptions | None = None) -> str:
|
|
139
139
|
"""Raises:
|
|
140
140
|
CompilationError, InvalidArgument, Io, ParseError, Timeout, UnknownError"""
|
|
141
|
-
def LocalCounterfactual_spec(global_explanation: str, facts: LocalFactTexts, audience_guidance: str, num_sentences: int, opts: GraphPromptOptions, *, _baml: _BamlOptions | None = None) -> ai.FunctionSpec[str]:
|
|
141
|
+
def LocalCounterfactual_spec(global_explanation: str, facts: LocalFactTexts, audience_guidance: str, num_sentences: int, opts: GraphPromptOptions, *, language: typing.Union[str, UNSET] = "English", _baml: _BamlOptions | None = None) -> ai.FunctionSpec[str]:
|
|
142
142
|
"""Raises:
|
|
143
143
|
InvalidArgument, Io, ParseError, InvalidRequest"""
|
|
144
|
-
async def LocalCounterfactual_spec_async(global_explanation: str, facts: LocalFactTexts, audience_guidance: str, num_sentences: int, opts: GraphPromptOptions, *, _baml: _BamlOptions | None = None) -> ai.FunctionSpec[str]:
|
|
144
|
+
async def LocalCounterfactual_spec_async(global_explanation: str, facts: LocalFactTexts, audience_guidance: str, num_sentences: int, opts: GraphPromptOptions, *, language: typing.Union[str, UNSET] = "English", _baml: _BamlOptions | None = None) -> ai.FunctionSpec[str]:
|
|
145
145
|
"""Raises:
|
|
146
146
|
InvalidArgument, Io, ParseError, InvalidRequest"""
|
|
147
|
-
def LocalCounterfactual_stream(global_explanation: str, facts: LocalFactTexts, audience_guidance: str, num_sentences: int, opts: GraphPromptOptions, *, on_event: typing.Union[typing.Callable[[ai.events.Event], None], None, UNSET] = None, _baml: _BamlOptions | None = None) -> _BamlStream[typing.Union[str, _BamlStreamDone], str, str]:
|
|
147
|
+
def LocalCounterfactual_stream(global_explanation: str, facts: LocalFactTexts, audience_guidance: str, num_sentences: int, opts: GraphPromptOptions, *, language: typing.Union[str, UNSET] = "English", on_event: typing.Union[typing.Callable[[ai.events.Event], None], None, UNSET] = None, _baml: _BamlOptions | None = None) -> _BamlStream[typing.Union[str, _BamlStreamDone], str, str]:
|
|
148
148
|
"""Raises:
|
|
149
149
|
CompilationError, SpanError, InvalidArgument, Io, ParseError, Timeout, UnknownError"""
|
|
150
|
-
async def LocalCounterfactual_stream_async(global_explanation: str, facts: LocalFactTexts, audience_guidance: str, num_sentences: int, opts: GraphPromptOptions, *, on_event: typing.Union[typing.Callable[[ai.events.Event], None], None, UNSET] = None, _baml: _BamlOptions | None = None) -> _BamlStream[typing.Union[str, _BamlStreamDone], str, str]:
|
|
150
|
+
async def LocalCounterfactual_stream_async(global_explanation: str, facts: LocalFactTexts, audience_guidance: str, num_sentences: int, opts: GraphPromptOptions, *, language: typing.Union[str, UNSET] = "English", on_event: typing.Union[typing.Callable[[ai.events.Event], None], None, UNSET] = None, _baml: _BamlOptions | None = None) -> _BamlStream[typing.Union[str, _BamlStreamDone], str, str]:
|
|
151
151
|
"""Raises:
|
|
152
152
|
CompilationError, SpanError, InvalidArgument, Io, ParseError, Timeout, UnknownError"""
|
|
153
153
|
|
|
154
154
|
|
|
155
|
-
def LocalSufficientReason(global_explanation: str, facts: LocalFactTexts, audience_guidance: str, num_sentences: int, opts: GraphPromptOptions, *, on_event: typing.Union[typing.Callable[[ai.events.Event], None], None, UNSET] = None, _baml: _BamlOptions | None = None) -> str:
|
|
155
|
+
def LocalSufficientReason(global_explanation: str, facts: LocalFactTexts, audience_guidance: str, num_sentences: int, opts: GraphPromptOptions, *, language: typing.Union[str, UNSET] = "English", on_event: typing.Union[typing.Callable[[ai.events.Event], None], None, UNSET] = None, _baml: _BamlOptions | None = None) -> str:
|
|
156
156
|
"""Raises:
|
|
157
157
|
CompilationError, InvalidArgument, Io, ParseError, Timeout, UnknownError"""
|
|
158
|
-
async def LocalSufficientReason_async(global_explanation: str, facts: LocalFactTexts, audience_guidance: str, num_sentences: int, opts: GraphPromptOptions, *, on_event: typing.Union[typing.Callable[[ai.events.Event], None], None, UNSET] = None, _baml: _BamlOptions | None = None) -> str:
|
|
158
|
+
async def LocalSufficientReason_async(global_explanation: str, facts: LocalFactTexts, audience_guidance: str, num_sentences: int, opts: GraphPromptOptions, *, language: typing.Union[str, UNSET] = "English", on_event: typing.Union[typing.Callable[[ai.events.Event], None], None, UNSET] = None, _baml: _BamlOptions | None = None) -> str:
|
|
159
159
|
"""Raises:
|
|
160
160
|
CompilationError, InvalidArgument, Io, ParseError, Timeout, UnknownError"""
|
|
161
|
-
def LocalSufficientReason_spec(global_explanation: str, facts: LocalFactTexts, audience_guidance: str, num_sentences: int, opts: GraphPromptOptions, *, _baml: _BamlOptions | None = None) -> ai.FunctionSpec[str]:
|
|
161
|
+
def LocalSufficientReason_spec(global_explanation: str, facts: LocalFactTexts, audience_guidance: str, num_sentences: int, opts: GraphPromptOptions, *, language: typing.Union[str, UNSET] = "English", _baml: _BamlOptions | None = None) -> ai.FunctionSpec[str]:
|
|
162
162
|
"""Raises:
|
|
163
163
|
InvalidArgument, Io, ParseError, InvalidRequest"""
|
|
164
|
-
async def LocalSufficientReason_spec_async(global_explanation: str, facts: LocalFactTexts, audience_guidance: str, num_sentences: int, opts: GraphPromptOptions, *, _baml: _BamlOptions | None = None) -> ai.FunctionSpec[str]:
|
|
164
|
+
async def LocalSufficientReason_spec_async(global_explanation: str, facts: LocalFactTexts, audience_guidance: str, num_sentences: int, opts: GraphPromptOptions, *, language: typing.Union[str, UNSET] = "English", _baml: _BamlOptions | None = None) -> ai.FunctionSpec[str]:
|
|
165
165
|
"""Raises:
|
|
166
166
|
InvalidArgument, Io, ParseError, InvalidRequest"""
|
|
167
|
-
def LocalSufficientReason_stream(global_explanation: str, facts: LocalFactTexts, audience_guidance: str, num_sentences: int, opts: GraphPromptOptions, *, on_event: typing.Union[typing.Callable[[ai.events.Event], None], None, UNSET] = None, _baml: _BamlOptions | None = None) -> _BamlStream[typing.Union[str, _BamlStreamDone], str, str]:
|
|
167
|
+
def LocalSufficientReason_stream(global_explanation: str, facts: LocalFactTexts, audience_guidance: str, num_sentences: int, opts: GraphPromptOptions, *, language: typing.Union[str, UNSET] = "English", on_event: typing.Union[typing.Callable[[ai.events.Event], None], None, UNSET] = None, _baml: _BamlOptions | None = None) -> _BamlStream[typing.Union[str, _BamlStreamDone], str, str]:
|
|
168
168
|
"""Raises:
|
|
169
169
|
CompilationError, SpanError, InvalidArgument, Io, ParseError, Timeout, UnknownError"""
|
|
170
|
-
async def LocalSufficientReason_stream_async(global_explanation: str, facts: LocalFactTexts, audience_guidance: str, num_sentences: int, opts: GraphPromptOptions, *, on_event: typing.Union[typing.Callable[[ai.events.Event], None], None, UNSET] = None, _baml: _BamlOptions | None = None) -> _BamlStream[typing.Union[str, _BamlStreamDone], str, str]:
|
|
170
|
+
async def LocalSufficientReason_stream_async(global_explanation: str, facts: LocalFactTexts, audience_guidance: str, num_sentences: int, opts: GraphPromptOptions, *, language: typing.Union[str, UNSET] = "English", on_event: typing.Union[typing.Callable[[ai.events.Event], None], None, UNSET] = None, _baml: _BamlOptions | None = None) -> _BamlStream[typing.Union[str, _BamlStreamDone], str, str]:
|
|
171
171
|
"""Raises:
|
|
172
172
|
CompilationError, SpanError, InvalidArgument, Io, ParseError, Timeout, UnknownError"""
|
|
173
173
|
|
|
174
174
|
|
|
175
|
-
def LocalCompletions(global_explanation: str, facts: LocalFactTexts, audience_guidance: str, num_sentences: int, opts: GraphPromptOptions, *, on_event: typing.Union[typing.Callable[[ai.events.Event], None], None, UNSET] = None, _baml: _BamlOptions | None = None) -> str:
|
|
175
|
+
def LocalCompletions(global_explanation: str, facts: LocalFactTexts, audience_guidance: str, num_sentences: int, opts: GraphPromptOptions, *, language: typing.Union[str, UNSET] = "English", on_event: typing.Union[typing.Callable[[ai.events.Event], None], None, UNSET] = None, _baml: _BamlOptions | None = None) -> str:
|
|
176
176
|
"""Raises:
|
|
177
177
|
CompilationError, InvalidArgument, Io, ParseError, Timeout, UnknownError"""
|
|
178
|
-
async def LocalCompletions_async(global_explanation: str, facts: LocalFactTexts, audience_guidance: str, num_sentences: int, opts: GraphPromptOptions, *, on_event: typing.Union[typing.Callable[[ai.events.Event], None], None, UNSET] = None, _baml: _BamlOptions | None = None) -> str:
|
|
178
|
+
async def LocalCompletions_async(global_explanation: str, facts: LocalFactTexts, audience_guidance: str, num_sentences: int, opts: GraphPromptOptions, *, language: typing.Union[str, UNSET] = "English", on_event: typing.Union[typing.Callable[[ai.events.Event], None], None, UNSET] = None, _baml: _BamlOptions | None = None) -> str:
|
|
179
179
|
"""Raises:
|
|
180
180
|
CompilationError, InvalidArgument, Io, ParseError, Timeout, UnknownError"""
|
|
181
|
-
def LocalCompletions_spec(global_explanation: str, facts: LocalFactTexts, audience_guidance: str, num_sentences: int, opts: GraphPromptOptions, *, _baml: _BamlOptions | None = None) -> ai.FunctionSpec[str]:
|
|
181
|
+
def LocalCompletions_spec(global_explanation: str, facts: LocalFactTexts, audience_guidance: str, num_sentences: int, opts: GraphPromptOptions, *, language: typing.Union[str, UNSET] = "English", _baml: _BamlOptions | None = None) -> ai.FunctionSpec[str]:
|
|
182
182
|
"""Raises:
|
|
183
183
|
InvalidArgument, Io, ParseError, InvalidRequest"""
|
|
184
|
-
async def LocalCompletions_spec_async(global_explanation: str, facts: LocalFactTexts, audience_guidance: str, num_sentences: int, opts: GraphPromptOptions, *, _baml: _BamlOptions | None = None) -> ai.FunctionSpec[str]:
|
|
184
|
+
async def LocalCompletions_spec_async(global_explanation: str, facts: LocalFactTexts, audience_guidance: str, num_sentences: int, opts: GraphPromptOptions, *, language: typing.Union[str, UNSET] = "English", _baml: _BamlOptions | None = None) -> ai.FunctionSpec[str]:
|
|
185
185
|
"""Raises:
|
|
186
186
|
InvalidArgument, Io, ParseError, InvalidRequest"""
|
|
187
|
-
def LocalCompletions_stream(global_explanation: str, facts: LocalFactTexts, audience_guidance: str, num_sentences: int, opts: GraphPromptOptions, *, on_event: typing.Union[typing.Callable[[ai.events.Event], None], None, UNSET] = None, _baml: _BamlOptions | None = None) -> _BamlStream[typing.Union[str, _BamlStreamDone], str, str]:
|
|
187
|
+
def LocalCompletions_stream(global_explanation: str, facts: LocalFactTexts, audience_guidance: str, num_sentences: int, opts: GraphPromptOptions, *, language: typing.Union[str, UNSET] = "English", on_event: typing.Union[typing.Callable[[ai.events.Event], None], None, UNSET] = None, _baml: _BamlOptions | None = None) -> _BamlStream[typing.Union[str, _BamlStreamDone], str, str]:
|
|
188
188
|
"""Raises:
|
|
189
189
|
CompilationError, SpanError, InvalidArgument, Io, ParseError, Timeout, UnknownError"""
|
|
190
|
-
async def LocalCompletions_stream_async(global_explanation: str, facts: LocalFactTexts, audience_guidance: str, num_sentences: int, opts: GraphPromptOptions, *, on_event: typing.Union[typing.Callable[[ai.events.Event], None], None, UNSET] = None, _baml: _BamlOptions | None = None) -> _BamlStream[typing.Union[str, _BamlStreamDone], str, str]:
|
|
190
|
+
async def LocalCompletions_stream_async(global_explanation: str, facts: LocalFactTexts, audience_guidance: str, num_sentences: int, opts: GraphPromptOptions, *, language: typing.Union[str, UNSET] = "English", on_event: typing.Union[typing.Callable[[ai.events.Event], None], None, UNSET] = None, _baml: _BamlOptions | None = None) -> _BamlStream[typing.Union[str, _BamlStreamDone], str, str]:
|
|
191
191
|
"""Raises:
|
|
192
192
|
CompilationError, SpanError, InvalidArgument, Io, ParseError, Timeout, UnknownError"""
|
|
193
193
|
|
|
194
194
|
|
|
195
|
-
def explain_local(global_explanation: str, facts: LocalFactTexts, audience_guidance: str, num_sentences: int, opts: GraphPromptOptions, *, client: typing.Union[typing.Any, None, UNSET] = None, model: typing.Union[ModelSpec, None, UNSET] = None, _baml: _BamlOptions | None = None) -> LocalExplanationText:
|
|
195
|
+
def explain_local(global_explanation: str, facts: LocalFactTexts, audience_guidance: str, num_sentences: int, opts: GraphPromptOptions, *, language: typing.Union[str, UNSET] = "English", client: typing.Union[typing.Any, None, UNSET] = None, model: typing.Union[ModelSpec, None, UNSET] = None, _baml: _BamlOptions | None = None) -> LocalExplanationText:
|
|
196
196
|
"""Raises:
|
|
197
197
|
CompilationError, InvalidArgument, Io, ParseError, Timeout, UnknownError"""
|
|
198
|
-
async def explain_local_async(global_explanation: str, facts: LocalFactTexts, audience_guidance: str, num_sentences: int, opts: GraphPromptOptions, *, client: typing.Union[typing.Any, None, UNSET] = None, model: typing.Union[ModelSpec, None, UNSET] = None, _baml: _BamlOptions | None = None) -> LocalExplanationText:
|
|
198
|
+
async def explain_local_async(global_explanation: str, facts: LocalFactTexts, audience_guidance: str, num_sentences: int, opts: GraphPromptOptions, *, language: typing.Union[str, UNSET] = "English", client: typing.Union[typing.Any, None, UNSET] = None, model: typing.Union[ModelSpec, None, UNSET] = None, _baml: _BamlOptions | None = None) -> LocalExplanationText:
|
|
199
199
|
"""Raises:
|
|
200
200
|
CompilationError, InvalidArgument, Io, ParseError, Timeout, UnknownError"""
|
|
201
201
|
|