From 7d53f08db0cc02525916216221e83eb57a9c9a9e Mon Sep 17 00:00:00 2001 From: unify-dev-bot Date: Thu, 27 Feb 2025 09:59:08 +0000 Subject: [PATCH] updated docs --- python/classes/logging/dataset/Dataset.mdx | 54 +++--- python/classes/logging/logs/ColumnContext.mdx | 8 +- python/classes/logging/logs/Entries.mdx | 8 +- python/classes/logging/logs/Experiment.mdx | 8 +- python/classes/logging/logs/Log.mdx | 38 ++-- .../classes/logging/logs/LogTransformer.mdx | 12 +- python/classes/logging/logs/Params.mdx | 8 +- .../utils/async_logger/AsyncLoggerManager.mdx | 12 +- .../classes/universal_api/chatbot/ChatBot.mdx | 12 +- .../clients/multi_llm/AsyncMultiUnify.mdx | 164 ++++++++--------- .../clients/multi_llm/MultiUnify.mdx | 164 ++++++++--------- .../clients/uni_llm/AsyncUnify.mdx | 168 +++++++++--------- .../universal_api/clients/uni_llm/Unify.mdx | 168 +++++++++--------- .../universal_api/types/prompt/Prompt.mdx | 4 +- .../utils/endpoint_metrics/Metrics.mdx | 8 +- .../functions/logging/logs/log_decorator.mdx | 2 +- python/functions/logging/logs/traced.mdx | 2 +- .../utils/artifacts/add_project_artifacts.mdx | 2 +- .../artifacts/delete_project_artifact.mdx | 2 +- .../utils/artifacts/get_project_artifacts.mdx | 2 +- .../compositions/get_experiment_name.mdx | 2 +- .../compositions/get_experiment_version.mdx | 2 +- .../utils/compositions/get_param_by_value.mdx | 2 +- .../compositions/get_param_by_version.mdx | 2 +- .../logging/utils/compositions/get_source.mdx | 2 +- .../utils/contexts/add_logs_to_context.mdx | 2 +- .../logging/utils/contexts/create_context.mdx | 2 +- .../logging/utils/contexts/delete_context.mdx | 2 +- .../logging/utils/contexts/get_contexts.mdx | 2 +- .../utils/datasets/add_dataset_entries.mdx | 2 +- .../logging/utils/datasets/delete_dataset.mdx | 2 +- .../utils/datasets/download_dataset.mdx | 2 +- .../logging/utils/datasets/list_datasets.mdx | 2 +- .../logging/utils/datasets/upload_dataset.mdx | 2 +- .../logging/utils/logs/add_log_entries.mdx | 2 +- .../logging/utils/logs/add_log_params.mdx | 2 +- .../logging/utils/logs/create_logs.mdx | 2 +- .../logging/utils/logs/delete_log_fields.mdx | 2 +- .../logging/utils/logs/delete_logs.mdx | 2 +- .../logging/utils/logs/get_groups.mdx | 2 +- .../logging/utils/logs/get_log_by_id.mdx | 2 +- .../functions/logging/utils/logs/get_logs.mdx | 2 +- .../logging/utils/logs/get_logs_metric.mdx | 2 +- .../utils/logs/initialize_async_logger.mdx | 2 +- python/functions/logging/utils/logs/log.mdx | 2 +- .../logging/utils/logs/set_user_logging.mdx | 2 +- .../utils/logs/shutdown_async_logger.mdx | 2 +- .../logging/utils/logs/update_logs.mdx | 2 +- .../logging/utils/projects/create_project.mdx | 2 +- .../logging/utils/projects/delete_project.mdx | 2 +- .../logging/utils/projects/list_projects.mdx | 2 +- .../logging/utils/projects/rename_project.mdx | 2 +- .../functions/universal_api/casting/cast.mdx | 2 +- .../universal_api/casting/try_cast.mdx | 2 +- .../universal_api/usage/with_logging.mdx | 2 +- .../utils/credits/get_credits.mdx | 2 +- .../custom_api_keys/create_custom_api_key.mdx | 2 +- .../custom_api_keys/delete_custom_api_key.mdx | 2 +- .../custom_api_keys/get_custom_api_key.mdx | 2 +- .../custom_api_keys/list_custom_api_keys.mdx | 2 +- .../custom_api_keys/rename_custom_api_key.mdx | 2 +- .../create_custom_endpoint.mdx | 2 +- .../delete_custom_endpoint.mdx | 2 +- .../list_custom_endpoints.mdx | 2 +- .../rename_custom_endpoint.mdx | 2 +- .../delete_endpoint_metrics.mdx | 2 +- .../endpoint_metrics/get_endpoint_metrics.mdx | 2 +- .../endpoint_metrics/log_endpoint_metric.mdx | 2 +- .../utils/queries/get_queries.mdx | 2 +- .../utils/queries/get_query_metrics.mdx | 2 +- .../utils/queries/get_query_tags.mdx | 2 +- .../universal_api/utils/queries/log_query.mdx | 2 +- .../supported_endpoints/list_endpoints.mdx | 2 +- .../utils/supported_endpoints/list_models.mdx | 2 +- .../supported_endpoints/list_providers.mdx | 2 +- python/functions/utils/map/map.mdx | 2 +- 76 files changed, 479 insertions(+), 479 deletions(-) diff --git a/python/classes/logging/dataset/Dataset.mdx b/python/classes/logging/dataset/Dataset.mdx index e95b1c8a2..8acd20d61 100644 --- a/python/classes/logging/dataset/Dataset.mdx +++ b/python/classes/logging/dataset/Dataset.mdx @@ -6,13 +6,13 @@ title: 'Dataset' class Dataset ``` -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/dataset.py#L19)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/dataset.py#L19)

### \_\_init\_\_ -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/dataset.py#L20)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/dataset.py#L20)

```python def __init__( @@ -46,7 +46,7 @@ Initialize a local dataset. ### allow\_duplicates -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/dataset.py#L73)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/dataset.py#L73)

```python def allow_duplicates(self) -> bool: @@ -58,7 +58,7 @@ Whether to allow duplicates in the dataset. ### name -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/dataset.py#L66)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/dataset.py#L66)

```python def name(self) -> str: @@ -72,7 +72,7 @@ Name of the dataset. ### set\_allow\_duplicates -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/dataset.py#L106)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/dataset.py#L106)

```python def set_allow_duplicates(self, allow_duplicates: bool) -> Self: @@ -94,7 +94,7 @@ This dataset, useful for chaining methods. ### set\_name -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/dataset.py#L93)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/dataset.py#L93)

```python def set_name(self, name: str) -> Self: @@ -118,7 +118,7 @@ This dataset, useful for chaining methods. ### add -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/dataset.py#L260)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/dataset.py#L260)

```python def add( @@ -151,7 +151,7 @@ The new dataset following the addition. ### download -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/dataset.py#L180)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/dataset.py#L180)

```python def download(self, overwrite: bool = False) -> Self: @@ -176,7 +176,7 @@ This dataset after the in-place download, useful for chaining methods. ### from\_upstream -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/dataset.py#L119)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/dataset.py#L119)

```python def from_upstream( @@ -208,7 +208,7 @@ The dataset, with contents downloaded from upstream. ### inplace\_add -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/dataset.py#L309)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/dataset.py#L309)

```python def inplace_add( @@ -241,7 +241,7 @@ This dataset following the in-place addition. ### inplace\_sub -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/dataset.py#L336)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/dataset.py#L336)

```python def inplace_sub( @@ -267,7 +267,7 @@ This dataset following the in-place subtraction. ### sub -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/dataset.py#L287)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/dataset.py#L287)

```python def sub( @@ -293,7 +293,7 @@ The new dataset following the subtraction. ### sync -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/dataset.py#L220)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/dataset.py#L220)

```python def sync(self) -> Self: @@ -310,7 +310,7 @@ This dataset after the in-place sync, useful for chaining methods. ### upload -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/dataset.py#L155)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/dataset.py#L155)

```python def upload(self, overwrite: bool = False) -> Self: @@ -335,7 +335,7 @@ This dataset, useful for chaining methods. ### upstream\_diff -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/dataset.py#L232)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/dataset.py#L232)

```python def upstream_diff(self) -> Self: @@ -353,7 +353,7 @@ This dataset after printing the diff, useful for chaining methods. ### \_\_add\_\_ -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/dataset.py#L358)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/dataset.py#L358)

```python def __add__( @@ -380,7 +380,7 @@ The new dataset following the addition. ### \_\_contains\_\_ -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/dataset.py#L479)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/dataset.py#L479)

```python def __contains__( @@ -407,7 +407,7 @@ Boolean, whether the passed Dataset is a subset of this one. ### \_\_getitem\_\_ -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/dataset.py#L529)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/dataset.py#L529)

```python def __getitem__(self, item: Union[int, slice]) -> Union[Any, Dataset]: @@ -431,7 +431,7 @@ An individual item or Dataset slice, for int and slice queries respectively. ### \_\_iadd\_\_ -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/dataset.py#L402)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/dataset.py#L402)

```python def __iadd__( @@ -457,7 +457,7 @@ This dataset following the in-place addition. ### \_\_isub\_\_ -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/dataset.py#L453)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/dataset.py#L453)

```python def __isub__( @@ -483,7 +483,7 @@ This dataset following the in-place subtraction. ### \_\_iter\_\_ -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/dataset.py#L469)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/dataset.py#L469)

```python def __iter__(self) -> Any: @@ -499,7 +499,7 @@ The next instance in the dataset. ### \_\_len\_\_ -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/dataset.py#L520)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/dataset.py#L520)

```python def __len__(self) -> int: @@ -515,7 +515,7 @@ The number of entries in the dataset. ### \_\_radd\_\_ -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/dataset.py#L375)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/dataset.py#L375)

```python def __radd__( @@ -550,7 +550,7 @@ The new dataset following the addition. ### \_\_repr\_\_ -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/dataset.py#L572)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/dataset.py#L572)

```python def __repr__(self): @@ -562,7 +562,7 @@ def __repr__(self): ### \_\_rsub\_\_ -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/dataset.py#L435)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/dataset.py#L435)

```python def __rsub__( @@ -590,7 +590,7 @@ The new dataset following the subtraction. ### \_\_setitem\_\_ -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/dataset.py#L550)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/dataset.py#L550)

```python def __setitem__(self, item: Union[int, slice], value: Union[Any, Dataset]): @@ -602,7 +602,7 @@ def __setitem__(self, item: Union[int, slice], value: Union[Any, Dataset]): ### \_\_sub\_\_ -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/dataset.py#L418)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/dataset.py#L418)

```python def __sub__( diff --git a/python/classes/logging/logs/ColumnContext.mdx b/python/classes/logging/logs/ColumnContext.mdx index 707e92ff7..f9cfcebce 100644 --- a/python/classes/logging/logs/ColumnContext.mdx +++ b/python/classes/logging/logs/ColumnContext.mdx @@ -6,13 +6,13 @@ title: 'ColumnContext' class ColumnContext ``` -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/logs.py#L147)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/logs.py#L147)

### \_\_init\_\_ -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/logs.py#L148)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/logs.py#L148)

```python def __init__(self, context: str): @@ -26,7 +26,7 @@ def __init__(self, context: str): ### \_\_enter\_\_ -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/logs.py#L151)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/logs.py#L151)

```python def __enter__(self): @@ -38,7 +38,7 @@ def __enter__(self): ### \_\_exit\_\_ -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/logs.py#L156)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/logs.py#L156)

```python def __exit__(self, *args, **kwargs): diff --git a/python/classes/logging/logs/Entries.mdx b/python/classes/logging/logs/Entries.mdx index c1df946db..c503f39b1 100644 --- a/python/classes/logging/logs/Entries.mdx +++ b/python/classes/logging/logs/Entries.mdx @@ -6,13 +6,13 @@ title: 'Entries' class Entries ``` -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/logs.py#L160)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/logs.py#L160)

### \_\_init\_\_ -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/logs.py#L161)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/logs.py#L161)

```python def __init__(self, **entries): @@ -26,7 +26,7 @@ def __init__(self, **entries): ### \_\_enter\_\_ -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/logs.py#L164)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/logs.py#L164)

```python def __enter__(self): @@ -38,7 +38,7 @@ def __enter__(self): ### \_\_exit\_\_ -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/logs.py#L172)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/logs.py#L172)

```python def __exit__(self, *args, **kwargs): diff --git a/python/classes/logging/logs/Experiment.mdx b/python/classes/logging/logs/Experiment.mdx index 8b5230173..e472f8909 100644 --- a/python/classes/logging/logs/Experiment.mdx +++ b/python/classes/logging/logs/Experiment.mdx @@ -6,13 +6,13 @@ title: 'Experiment' class Experiment ``` -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/logs.py#L198)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/logs.py#L198)

### \_\_init\_\_ -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/logs.py#L199)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/logs.py#L199)

```python def __init__(self, name: Optional[Union[str, int]] = None, overwrite: bool = False): @@ -26,7 +26,7 @@ def __init__(self, name: Optional[Union[str, int]] = None, overwrite: bool = Fal ### \_\_enter\_\_ -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/logs.py#L213)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/logs.py#L213)

```python def __enter__(self): @@ -38,7 +38,7 @@ def __enter__(self): ### \_\_exit\_\_ -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/logs.py#L224)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/logs.py#L224)

```python def __exit__(self, *args, **kwargs): diff --git a/python/classes/logging/logs/Log.mdx b/python/classes/logging/logs/Log.mdx index 1d1d8b0ff..3142e1593 100644 --- a/python/classes/logging/logs/Log.mdx +++ b/python/classes/logging/logs/Log.mdx @@ -6,13 +6,13 @@ title: 'Log' class Log ``` -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/logs.py#L20)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/logs.py#L20)

### \_\_init\_\_ -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/logs.py#L21)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/logs.py#L21)

```python def __init__( @@ -37,7 +37,7 @@ def __init__( ### context -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/logs.py#L49)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/logs.py#L49)

```python def context(self) -> Optional[str]: @@ -49,7 +49,7 @@ def context(self) -> Optional[str]: ### entries -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/logs.py#L63)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/logs.py#L63)

```python def entries(self) -> Dict[str, Any]: @@ -61,7 +61,7 @@ def entries(self) -> Dict[str, Any]: ### id -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/logs.py#L53)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/logs.py#L53)

```python def id(self) -> int: @@ -73,7 +73,7 @@ def id(self) -> int: ### params -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/logs.py#L67)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/logs.py#L67)

```python def params(self) -> Dict[str, Tuple[str, Any]]: @@ -85,7 +85,7 @@ def params(self) -> Dict[str, Tuple[str, Any]]: ### ts -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/logs.py#L59)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/logs.py#L59)

```python def ts(self) -> Optional[datetime]: @@ -99,7 +99,7 @@ def ts(self) -> Optional[datetime]: ### set\_id -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/logs.py#L44)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/logs.py#L44)

```python def set_id(self, id: int) -> None: @@ -113,7 +113,7 @@ def set_id(self, id: int) -> None: ### add\_entries -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/logs.py#L96)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/logs.py#L96)

```python def add_entries(self, **entries) -> None: @@ -125,7 +125,7 @@ def add_entries(self, **entries) -> None: ### delete -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/logs.py#L108)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/logs.py#L108)

```python def delete(self) -> None: @@ -137,7 +137,7 @@ def delete(self) -> None: ### delete\_entries -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/logs.py#L100)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/logs.py#L100)

```python def delete_entries( @@ -152,7 +152,7 @@ def delete_entries( ### download -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/logs.py#L88)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/logs.py#L88)

```python def download(self): @@ -164,7 +164,7 @@ def download(self): ### from\_json -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/logs.py#L120)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/logs.py#L120)

```python def from_json(state): @@ -176,7 +176,7 @@ def from_json(state): ### to\_json -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/logs.py#L111)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/logs.py#L111)

```python def to_json(self): @@ -190,7 +190,7 @@ def to_json(self): ### \_\_enter\_\_ -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/logs.py#L129)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/logs.py#L129)

```python def __enter__(self): @@ -202,7 +202,7 @@ def __enter__(self): ### \_\_eq\_\_ -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/logs.py#L73)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/logs.py#L73)

```python def __eq__(self, other: Union[dict, Log]) -> bool: @@ -214,7 +214,7 @@ def __eq__(self, other: Union[dict, Log]) -> bool: ### \_\_exit\_\_ -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/logs.py#L141)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/logs.py#L141)

```python def __exit__(self, exc_type, exc_val, exc_tb): @@ -226,7 +226,7 @@ def __exit__(self, exc_type, exc_val, exc_tb): ### \_\_len\_\_ -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/logs.py#L80)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/logs.py#L80)

```python def __len__(self): @@ -238,7 +238,7 @@ def __len__(self): ### \_\_repr\_\_ -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/logs.py#L83)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/logs.py#L83)

```python def __repr__(self) -> str: diff --git a/python/classes/logging/logs/LogTransformer.mdx b/python/classes/logging/logs/LogTransformer.mdx index 1bb4c9fd0..6802e9bcb 100644 --- a/python/classes/logging/logs/LogTransformer.mdx +++ b/python/classes/logging/logs/LogTransformer.mdx @@ -6,13 +6,13 @@ title: 'LogTransformer' class LogTransformer ``` -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/logs.py#L413)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/logs.py#L415)

### \_\_init\_\_ -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/logs.py#L414)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/logs.py#L416)

```python def __init__(self): @@ -26,7 +26,7 @@ def __init__(self): ### visit\_Assign -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/logs.py#L452)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/logs.py#L454)

```python def visit_Assign(self, node: ast.Assign): @@ -38,7 +38,7 @@ def visit_Assign(self, node: ast.Assign): ### visit\_AsyncFunctionDef -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/logs.py#L441)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/logs.py#L443)

```python def visit_AsyncFunctionDef(self, node: ast.AsyncFunctionDef): @@ -50,7 +50,7 @@ def visit_AsyncFunctionDef(self, node: ast.AsyncFunctionDef): ### visit\_FunctionDef -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/logs.py#L420)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/logs.py#L422)

```python def visit_FunctionDef(self, node: ast.FunctionDef): @@ -62,7 +62,7 @@ def visit_FunctionDef(self, node: ast.FunctionDef): ### visit\_Return -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/logs.py#L462)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/logs.py#L464)

```python def visit_Return(self, node: ast.Return): diff --git a/python/classes/logging/logs/Params.mdx b/python/classes/logging/logs/Params.mdx index 675a8f6eb..ce89990d0 100644 --- a/python/classes/logging/logs/Params.mdx +++ b/python/classes/logging/logs/Params.mdx @@ -6,13 +6,13 @@ title: 'Params' class Params ``` -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/logs.py#L179)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/logs.py#L179)

### \_\_init\_\_ -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/logs.py#L180)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/logs.py#L180)

```python def __init__(self, **params): @@ -26,7 +26,7 @@ def __init__(self, **params): ### \_\_enter\_\_ -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/logs.py#L183)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/logs.py#L183)

```python def __enter__(self): @@ -38,7 +38,7 @@ def __enter__(self): ### \_\_exit\_\_ -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/logs.py#L191)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/logs.py#L191)

```python def __exit__(self, *args, **kwargs): diff --git a/python/classes/logging/utils/async_logger/AsyncLoggerManager.mdx b/python/classes/logging/utils/async_logger/AsyncLoggerManager.mdx index 7e9d97988..44a4b6db9 100644 --- a/python/classes/logging/utils/async_logger/AsyncLoggerManager.mdx +++ b/python/classes/logging/utils/async_logger/AsyncLoggerManager.mdx @@ -6,13 +6,13 @@ title: 'AsyncLoggerManager' class AsyncLoggerManager ``` -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/utils/async_logger.py#L16)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/utils/async_logger.py#L16)

### \_\_init\_\_ -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/utils/async_logger.py#L17)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/utils/async_logger.py#L17)

```python def __init__( @@ -33,7 +33,7 @@ def __init__( ### log\_create -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/utils/async_logger.py#L79)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/utils/async_logger.py#L79)

```python def log_create( @@ -51,7 +51,7 @@ Enqueue a log creation event and return a Future that will be resolved with the ### log\_update -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/utils/async_logger.py#L104)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/utils/async_logger.py#L104)

```python def log_update( @@ -72,7 +72,7 @@ Enqueue a log update event. ### start -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/utils/async_logger.py#L46)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/utils/async_logger.py#L46)

```python def start(self): @@ -84,7 +84,7 @@ Start the background worker thread. ### stop -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/utils/async_logger.py#L57)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/utils/async_logger.py#L57)

```python def stop(self): diff --git a/python/classes/universal_api/chatbot/ChatBot.mdx b/python/classes/universal_api/chatbot/ChatBot.mdx index 95a7beb6b..528481bda 100644 --- a/python/classes/universal_api/chatbot/ChatBot.mdx +++ b/python/classes/universal_api/chatbot/ChatBot.mdx @@ -6,13 +6,13 @@ title: 'ChatBot' class ChatBot ``` -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/chatbot.py#L9)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/chatbot.py#L9)

Agent class represents an LLM chat agent. ### \_\_init\_\_ -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/chatbot.py#L12)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/chatbot.py#L12)

```python def __init__( @@ -33,7 +33,7 @@ Initializes the ChatBot object, wrapped around a client. ### client -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/chatbot.py#L30)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/chatbot.py#L30)

```python def client(self) -> _Client: @@ -51,7 +51,7 @@ The client. ### set\_client -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/chatbot.py#L40)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/chatbot.py#L40)

```python def set_client(self, value: client) -> None: @@ -69,7 +69,7 @@ Set the client. ### clear\_chat\_history -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/chatbot.py#L95)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/chatbot.py#L95)

```python def clear_chat_history(self) -> None: @@ -81,7 +81,7 @@ Clears the chat history. ### run -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/chatbot.py#L157)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/chatbot.py#L157)

```python def run(self, show_credits: bool = False, show_endpoint: bool = False) -> None: diff --git a/python/classes/universal_api/clients/multi_llm/AsyncMultiUnify.mdx b/python/classes/universal_api/clients/multi_llm/AsyncMultiUnify.mdx index a5098070b..220fa6c53 100644 --- a/python/classes/universal_api/clients/multi_llm/AsyncMultiUnify.mdx +++ b/python/classes/universal_api/clients/multi_llm/AsyncMultiUnify.mdx @@ -6,13 +6,13 @@ title: 'AsyncMultiUnify' class AsyncMultiUnify ``` -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/multi_llm.py#L910)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/multi_llm.py#L910)

### \_\_init\_\_ -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/multi_llm.py#L32)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/multi_llm.py#L32)

```python def __init__( @@ -109,7 +109,7 @@ Initialize the Multi LLM Unify client. ### cache -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L436)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L436)

```python def cache(self) -> bool: @@ -125,7 +125,7 @@ The default cache bool. ### clients -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/multi_llm.py#L453)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/multi_llm.py#L453)

```python def clients(self) -> Dict[str, _UniClient]: @@ -142,7 +142,7 @@ The dictionary of clients. ### drop\_params -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L366)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L366)

```python def drop_params(self) -> Optional[bool]: @@ -158,7 +158,7 @@ The default drop_params bool. ### endpoints -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/multi_llm.py#L443)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/multi_llm.py#L443)

```python def endpoints(self) -> Tuple[str, ...]: @@ -174,7 +174,7 @@ The tuple of endpoints. ### extra\_body -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L466)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L466)

```python def extra_body(self) -> Optional[Mapping[str, str]]: @@ -190,7 +190,7 @@ The default extra body. ### extra\_headers -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L446)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L446)

```python def extra_headers(self) -> Optional[Headers]: @@ -206,7 +206,7 @@ The default extra headers. ### extra\_query -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L456)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L456)

```python def extra_query(self) -> Optional[Query]: @@ -222,7 +222,7 @@ The default extra query. ### frequency\_penalty -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L176)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L176)

```python def frequency_penalty(self) -> Optional[float]: @@ -238,7 +238,7 @@ The default frequency penalty. ### input\_cost -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/multi_llm.py#L424)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/multi_llm.py#L424)

```python def input_cost(self) -> Dict[str, float]: @@ -250,7 +250,7 @@ def input_cost(self) -> Dict[str, float]: ### itl -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/multi_llm.py#L436)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/multi_llm.py#L436)

```python def itl(self) -> Dict[str, float]: @@ -262,7 +262,7 @@ def itl(self) -> Dict[str, float]: ### log\_query\_body -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L386)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L386)

```python def log_query_body(self) -> Optional[bool]: @@ -278,7 +278,7 @@ The default log query body bool. ### log\_response\_body -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L396)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L396)

```python def log_response_body(self) -> Optional[bool]: @@ -294,7 +294,7 @@ The default log response body bool. ### logit\_bias -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L186)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L186)

```python def logit_bias(self) -> Optional[Dict[str, int]]: @@ -310,7 +310,7 @@ The default logit bias. ### logprobs -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L196)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L196)

```python def logprobs(self) -> Optional[bool]: @@ -326,7 +326,7 @@ The default logprobs. ### max\_completion\_tokens -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L216)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L216)

```python def max_completion_tokens(self) -> Optional[int]: @@ -342,7 +342,7 @@ The default max tokens. ### messages -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L159)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L159)

```python def messages( @@ -365,7 +365,7 @@ The default messages. ### n -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L226)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L226)

```python def n(self) -> Optional[int]: @@ -381,7 +381,7 @@ The default n value. ### output\_cost -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/multi_llm.py#L428)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/multi_llm.py#L428)

```python def output_cost(self) -> Dict[str, float]: @@ -393,7 +393,7 @@ def output_cost(self) -> Dict[str, float]: ### parallel\_tool\_calls -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L336)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L336)

```python def parallel_tool_calls(self) -> Optional[bool]: @@ -409,7 +409,7 @@ The default parallel tool calls bool. ### presence\_penalty -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L236)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L236)

```python def presence_penalty(self) -> Optional[float]: @@ -425,7 +425,7 @@ The default presence penalty. ### region -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L376)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L376)

```python def region(self) -> Optional[str]: @@ -441,7 +441,7 @@ The default region. ### response\_format -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L246)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L246)

```python def response_format(self) -> Optional[Union[Type[BaseModel], Dict[str, str]]]: @@ -457,7 +457,7 @@ The default response format. ### return\_full\_completion -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L416)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L416)

```python def return_full_completion(self) -> bool: @@ -473,7 +473,7 @@ The default return full completion bool. ### seed -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L256)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L256)

```python def seed(self) -> Optional[int]: @@ -489,7 +489,7 @@ The default seed value. ### stateful -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L406)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L406)

```python def stateful(self) -> bool: @@ -505,7 +505,7 @@ The default stateful bool. ### stop -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L266)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L266)

```python def stop(self) -> Union[Optional[str], List[str]]: @@ -521,7 +521,7 @@ The default stop value. ### stream -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L276)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L276)

```python def stream(self) -> Optional[bool]: @@ -537,7 +537,7 @@ The default stream bool. ### stream\_options -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L286)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L286)

```python def stream_options(self) -> Optional[ChatCompletionStreamOptionsParam]: @@ -553,7 +553,7 @@ The default stream options. ### system\_message -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L149)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L149)

```python def system_message(self) -> Optional[str]: @@ -569,7 +569,7 @@ The default system message. ### tags -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L356)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L356)

```python def tags(self) -> Optional[List[str]]: @@ -585,7 +585,7 @@ The default tags. ### temperature -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L296)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L296)

```python def temperature(self) -> Optional[float]: @@ -601,7 +601,7 @@ The default temperature. ### tool\_choice -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L326)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L326)

```python def tool_choice(self) -> Optional[ChatCompletionToolChoiceOptionParam]: @@ -617,7 +617,7 @@ The default tool choice. ### tools -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L316)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L316)

```python def tools(self) -> Optional[Iterable[ChatCompletionToolParam]]: @@ -633,7 +633,7 @@ The default tools. ### top\_logprobs -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L206)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L206)

```python def top_logprobs(self) -> Optional[int]: @@ -649,7 +649,7 @@ The default top logprobs. ### top\_p -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L306)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L306)

```python def top_p(self) -> Optional[float]: @@ -665,7 +665,7 @@ The default top p value. ### traced -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L426)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L426)

```python def traced(self) -> bool: @@ -681,7 +681,7 @@ The default traced bool. ### ttft -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/multi_llm.py#L432)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/multi_llm.py#L432)

```python def ttft(self) -> Dict[str, float]: @@ -693,7 +693,7 @@ def ttft(self) -> Dict[str, float]: ### use\_custom\_keys -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L346)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L346)

```python def use_custom_keys(self) -> bool: @@ -711,7 +711,7 @@ The default use custom keys bool. ### set\_cache -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L895)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L895)

```python def set_cache(self, value: bool) -> Self: @@ -733,7 +733,7 @@ This client, useful for chaining inplace calls. ### set\_drop\_params -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L803)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L803)

```python def set_drop_params(self, value: bool) -> Self: @@ -755,7 +755,7 @@ This client, useful for chaining inplace calls. ### set\_extra\_body -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L934)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L934)

```python def set_extra_body(self, value: Body) -> Self: @@ -777,7 +777,7 @@ This client, useful for chaining inplace calls. ### set\_extra\_headers -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L908)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L908)

```python def set_extra_headers(self, value: Headers) -> Self: @@ -799,7 +799,7 @@ This client, useful for chaining inplace calls. ### set\_extra\_query -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L921)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L921)

```python def set_extra_query(self, value: Query) -> Self: @@ -821,7 +821,7 @@ This client, useful for chaining inplace calls. ### set\_frequency\_penalty -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L553)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L553)

```python def set_frequency_penalty(self, value: float) -> Self: @@ -843,7 +843,7 @@ This client, useful for chaining inplace calls. ### set\_log\_query\_body -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L829)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L829)

```python def set_log_query_body(self, value: bool) -> Self: @@ -865,7 +865,7 @@ This client, useful for chaining inplace calls. ### set\_log\_response\_body -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L842)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L842)

```python def set_log_response_body(self, value: bool) -> Self: @@ -887,7 +887,7 @@ This client, useful for chaining inplace calls. ### set\_logit\_bias -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L566)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L566)

```python def set_logit_bias(self, value: Dict[str, int]) -> Self: @@ -909,7 +909,7 @@ This client, useful for chaining inplace calls. ### set\_logprobs -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L579)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L579)

```python def set_logprobs(self, value: bool) -> Self: @@ -931,7 +931,7 @@ This client, useful for chaining inplace calls. ### set\_max\_completion\_tokens -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L605)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L605)

```python def set_max_completion_tokens(self, value: int) -> Self: @@ -953,7 +953,7 @@ This client, useful for chaining inplace calls. ### set\_messages -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L511)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L511)

```python def set_messages( @@ -981,7 +981,7 @@ This client, useful for chaining inplace calls. ### set\_n -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L618)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L618)

```python def set_n(self, value: int) -> Self: @@ -1003,7 +1003,7 @@ This client, useful for chaining inplace calls. ### set\_parallel\_tool\_calls -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L764)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L764)

```python def set_parallel_tool_calls(self, value: bool) -> Self: @@ -1025,7 +1025,7 @@ This client, useful for chaining inplace calls. ### set\_presence\_penalty -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L631)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L631)

```python def set_presence_penalty(self, value: float) -> Self: @@ -1047,7 +1047,7 @@ This client, useful for chaining inplace calls. ### set\_region -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L816)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L816)

```python def set_region(self, value: str) -> Self: @@ -1069,7 +1069,7 @@ This client, useful for chaining inplace calls. ### set\_response\_format -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L644)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L644)

```python def set_response_format( @@ -1094,7 +1094,7 @@ This client, useful for chaining inplace calls. ### set\_return\_full\_completion -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L868)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L868)

```python def set_return_full_completion(self, value: bool) -> Self: @@ -1116,7 +1116,7 @@ This client, useful for chaining inplace calls. ### set\_seed -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L660)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L660)

```python def set_seed(self, value: Optional[int]) -> Self: @@ -1138,7 +1138,7 @@ This client, useful for chaining inplace calls. ### set\_stateful -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L855)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L855)

```python def set_stateful(self, value: bool) -> Self: @@ -1160,7 +1160,7 @@ This client, useful for chaining inplace calls. ### set\_stop -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L673)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L673)

```python def set_stop(self, value: Union[str, List[str]]) -> Self: @@ -1182,7 +1182,7 @@ This client, useful for chaining inplace calls. ### set\_stream -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L686)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L686)

```python def set_stream(self, value: bool) -> Self: @@ -1204,7 +1204,7 @@ This client, useful for chaining inplace calls. ### set\_stream\_options -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L699)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L699)

```python def set_stream_options(self, value: ChatCompletionStreamOptionsParam) -> Self: @@ -1226,7 +1226,7 @@ This client, useful for chaining inplace calls. ### set\_system\_message -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L479)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L479)

```python def set_system_message(self, value: str) -> Self: @@ -1248,7 +1248,7 @@ This client, useful for chaining inplace calls. ### set\_tags -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L790)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L790)

```python def set_tags(self, value: List[str]) -> Self: @@ -1270,7 +1270,7 @@ This client, useful for chaining inplace calls. ### set\_temperature -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L712)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L712)

```python def set_temperature(self, value: float) -> Self: @@ -1292,7 +1292,7 @@ This client, useful for chaining inplace calls. ### set\_tool\_choice -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L751)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L751)

```python def set_tool_choice(self, value: ChatCompletionToolChoiceOptionParam) -> Self: @@ -1314,7 +1314,7 @@ This client, useful for chaining inplace calls. ### set\_tools -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L738)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L738)

```python def set_tools(self, value: Iterable[ChatCompletionToolParam]) -> Self: @@ -1336,7 +1336,7 @@ This client, useful for chaining inplace calls. ### set\_top\_logprobs -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L592)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L592)

```python def set_top_logprobs(self, value: int) -> Self: @@ -1358,7 +1358,7 @@ This client, useful for chaining inplace calls. ### set\_top\_p -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L725)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L725)

```python def set_top_p(self, value: float) -> Self: @@ -1380,7 +1380,7 @@ This client, useful for chaining inplace calls. ### set\_traced -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L882)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L882)

```python def set_traced(self, value: bool) -> Self: @@ -1402,7 +1402,7 @@ This client, useful for chaining inplace calls. ### set\_use\_custom\_keys -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L777)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L777)

```python def set_use_custom_keys(self, value: bool) -> Self: @@ -1426,7 +1426,7 @@ This client, useful for chaining inplace calls. ### add\_endpoints -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/multi_llm.py#L312)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/multi_llm.py#L312)

```python def add_endpoints( @@ -1453,7 +1453,7 @@ This client, useful for chaining inplace calls. ### append\_messages -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L532)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L532)

```python def append_messages( @@ -1481,7 +1481,7 @@ This client, useful for chaining inplace calls. ### copy -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L981)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L981)

```python def copy(self): @@ -1493,7 +1493,7 @@ def copy(self): ### generate -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/multi_llm.py#L476)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/multi_llm.py#L476)

```python def generate( @@ -1600,7 +1600,7 @@ If stream is False, returns a single string response. ### get\_credit\_balance -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/multi_llm.py#L390)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/multi_llm.py#L390)

```python def get_credit_balance(self) -> Union[float, None]: @@ -1621,7 +1621,7 @@ ValueError: If there was an error parsing the JSON response. ### json -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L1027)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L1027)

```python def json(self): @@ -1633,7 +1633,7 @@ def json(self): ### remove\_endpoints -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/multi_llm.py#L350)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/multi_llm.py#L350)

```python def remove_endpoints( @@ -1661,7 +1661,7 @@ This client, useful for chaining inplace calls. ### to\_sync\_client -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/multi_llm.py#L987)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/multi_llm.py#L987)

```python def to_sync_client(self): @@ -1681,7 +1681,7 @@ instance. ### \_\_repr\_\_ -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/multi_llm.py#L467)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/multi_llm.py#L467)

```python def __repr__(self): @@ -1693,7 +1693,7 @@ def __repr__(self): ### \_\_str\_\_ -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/multi_llm.py#L470)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/multi_llm.py#L470)

```python def __str__(self): diff --git a/python/classes/universal_api/clients/multi_llm/MultiUnify.mdx b/python/classes/universal_api/clients/multi_llm/MultiUnify.mdx index 0ebb5b044..17cf89d96 100644 --- a/python/classes/universal_api/clients/multi_llm/MultiUnify.mdx +++ b/python/classes/universal_api/clients/multi_llm/MultiUnify.mdx @@ -6,13 +6,13 @@ title: 'MultiUnify' class MultiUnify ``` -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/multi_llm.py#L755)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/multi_llm.py#L755)

### \_\_init\_\_ -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/multi_llm.py#L32)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/multi_llm.py#L32)

```python def __init__( @@ -109,7 +109,7 @@ Initialize the Multi LLM Unify client. ### cache -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L436)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L436)

```python def cache(self) -> bool: @@ -125,7 +125,7 @@ The default cache bool. ### clients -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/multi_llm.py#L453)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/multi_llm.py#L453)

```python def clients(self) -> Dict[str, _UniClient]: @@ -142,7 +142,7 @@ The dictionary of clients. ### drop\_params -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L366)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L366)

```python def drop_params(self) -> Optional[bool]: @@ -158,7 +158,7 @@ The default drop_params bool. ### endpoints -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/multi_llm.py#L443)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/multi_llm.py#L443)

```python def endpoints(self) -> Tuple[str, ...]: @@ -174,7 +174,7 @@ The tuple of endpoints. ### extra\_body -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L466)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L466)

```python def extra_body(self) -> Optional[Mapping[str, str]]: @@ -190,7 +190,7 @@ The default extra body. ### extra\_headers -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L446)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L446)

```python def extra_headers(self) -> Optional[Headers]: @@ -206,7 +206,7 @@ The default extra headers. ### extra\_query -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L456)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L456)

```python def extra_query(self) -> Optional[Query]: @@ -222,7 +222,7 @@ The default extra query. ### frequency\_penalty -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L176)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L176)

```python def frequency_penalty(self) -> Optional[float]: @@ -238,7 +238,7 @@ The default frequency penalty. ### input\_cost -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/multi_llm.py#L424)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/multi_llm.py#L424)

```python def input_cost(self) -> Dict[str, float]: @@ -250,7 +250,7 @@ def input_cost(self) -> Dict[str, float]: ### itl -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/multi_llm.py#L436)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/multi_llm.py#L436)

```python def itl(self) -> Dict[str, float]: @@ -262,7 +262,7 @@ def itl(self) -> Dict[str, float]: ### log\_query\_body -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L386)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L386)

```python def log_query_body(self) -> Optional[bool]: @@ -278,7 +278,7 @@ The default log query body bool. ### log\_response\_body -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L396)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L396)

```python def log_response_body(self) -> Optional[bool]: @@ -294,7 +294,7 @@ The default log response body bool. ### logit\_bias -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L186)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L186)

```python def logit_bias(self) -> Optional[Dict[str, int]]: @@ -310,7 +310,7 @@ The default logit bias. ### logprobs -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L196)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L196)

```python def logprobs(self) -> Optional[bool]: @@ -326,7 +326,7 @@ The default logprobs. ### max\_completion\_tokens -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L216)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L216)

```python def max_completion_tokens(self) -> Optional[int]: @@ -342,7 +342,7 @@ The default max tokens. ### messages -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L159)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L159)

```python def messages( @@ -365,7 +365,7 @@ The default messages. ### n -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L226)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L226)

```python def n(self) -> Optional[int]: @@ -381,7 +381,7 @@ The default n value. ### output\_cost -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/multi_llm.py#L428)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/multi_llm.py#L428)

```python def output_cost(self) -> Dict[str, float]: @@ -393,7 +393,7 @@ def output_cost(self) -> Dict[str, float]: ### parallel\_tool\_calls -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L336)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L336)

```python def parallel_tool_calls(self) -> Optional[bool]: @@ -409,7 +409,7 @@ The default parallel tool calls bool. ### presence\_penalty -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L236)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L236)

```python def presence_penalty(self) -> Optional[float]: @@ -425,7 +425,7 @@ The default presence penalty. ### region -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L376)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L376)

```python def region(self) -> Optional[str]: @@ -441,7 +441,7 @@ The default region. ### response\_format -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L246)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L246)

```python def response_format(self) -> Optional[Union[Type[BaseModel], Dict[str, str]]]: @@ -457,7 +457,7 @@ The default response format. ### return\_full\_completion -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L416)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L416)

```python def return_full_completion(self) -> bool: @@ -473,7 +473,7 @@ The default return full completion bool. ### seed -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L256)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L256)

```python def seed(self) -> Optional[int]: @@ -489,7 +489,7 @@ The default seed value. ### stateful -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L406)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L406)

```python def stateful(self) -> bool: @@ -505,7 +505,7 @@ The default stateful bool. ### stop -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L266)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L266)

```python def stop(self) -> Union[Optional[str], List[str]]: @@ -521,7 +521,7 @@ The default stop value. ### stream -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L276)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L276)

```python def stream(self) -> Optional[bool]: @@ -537,7 +537,7 @@ The default stream bool. ### stream\_options -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L286)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L286)

```python def stream_options(self) -> Optional[ChatCompletionStreamOptionsParam]: @@ -553,7 +553,7 @@ The default stream options. ### system\_message -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L149)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L149)

```python def system_message(self) -> Optional[str]: @@ -569,7 +569,7 @@ The default system message. ### tags -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L356)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L356)

```python def tags(self) -> Optional[List[str]]: @@ -585,7 +585,7 @@ The default tags. ### temperature -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L296)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L296)

```python def temperature(self) -> Optional[float]: @@ -601,7 +601,7 @@ The default temperature. ### tool\_choice -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L326)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L326)

```python def tool_choice(self) -> Optional[ChatCompletionToolChoiceOptionParam]: @@ -617,7 +617,7 @@ The default tool choice. ### tools -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L316)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L316)

```python def tools(self) -> Optional[Iterable[ChatCompletionToolParam]]: @@ -633,7 +633,7 @@ The default tools. ### top\_logprobs -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L206)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L206)

```python def top_logprobs(self) -> Optional[int]: @@ -649,7 +649,7 @@ The default top logprobs. ### top\_p -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L306)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L306)

```python def top_p(self) -> Optional[float]: @@ -665,7 +665,7 @@ The default top p value. ### traced -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L426)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L426)

```python def traced(self) -> bool: @@ -681,7 +681,7 @@ The default traced bool. ### ttft -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/multi_llm.py#L432)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/multi_llm.py#L432)

```python def ttft(self) -> Dict[str, float]: @@ -693,7 +693,7 @@ def ttft(self) -> Dict[str, float]: ### use\_custom\_keys -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L346)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L346)

```python def use_custom_keys(self) -> bool: @@ -711,7 +711,7 @@ The default use custom keys bool. ### set\_cache -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L895)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L895)

```python def set_cache(self, value: bool) -> Self: @@ -733,7 +733,7 @@ This client, useful for chaining inplace calls. ### set\_drop\_params -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L803)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L803)

```python def set_drop_params(self, value: bool) -> Self: @@ -755,7 +755,7 @@ This client, useful for chaining inplace calls. ### set\_extra\_body -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L934)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L934)

```python def set_extra_body(self, value: Body) -> Self: @@ -777,7 +777,7 @@ This client, useful for chaining inplace calls. ### set\_extra\_headers -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L908)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L908)

```python def set_extra_headers(self, value: Headers) -> Self: @@ -799,7 +799,7 @@ This client, useful for chaining inplace calls. ### set\_extra\_query -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L921)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L921)

```python def set_extra_query(self, value: Query) -> Self: @@ -821,7 +821,7 @@ This client, useful for chaining inplace calls. ### set\_frequency\_penalty -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L553)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L553)

```python def set_frequency_penalty(self, value: float) -> Self: @@ -843,7 +843,7 @@ This client, useful for chaining inplace calls. ### set\_log\_query\_body -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L829)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L829)

```python def set_log_query_body(self, value: bool) -> Self: @@ -865,7 +865,7 @@ This client, useful for chaining inplace calls. ### set\_log\_response\_body -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L842)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L842)

```python def set_log_response_body(self, value: bool) -> Self: @@ -887,7 +887,7 @@ This client, useful for chaining inplace calls. ### set\_logit\_bias -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L566)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L566)

```python def set_logit_bias(self, value: Dict[str, int]) -> Self: @@ -909,7 +909,7 @@ This client, useful for chaining inplace calls. ### set\_logprobs -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L579)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L579)

```python def set_logprobs(self, value: bool) -> Self: @@ -931,7 +931,7 @@ This client, useful for chaining inplace calls. ### set\_max\_completion\_tokens -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L605)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L605)

```python def set_max_completion_tokens(self, value: int) -> Self: @@ -953,7 +953,7 @@ This client, useful for chaining inplace calls. ### set\_messages -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L511)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L511)

```python def set_messages( @@ -981,7 +981,7 @@ This client, useful for chaining inplace calls. ### set\_n -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L618)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L618)

```python def set_n(self, value: int) -> Self: @@ -1003,7 +1003,7 @@ This client, useful for chaining inplace calls. ### set\_parallel\_tool\_calls -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L764)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L764)

```python def set_parallel_tool_calls(self, value: bool) -> Self: @@ -1025,7 +1025,7 @@ This client, useful for chaining inplace calls. ### set\_presence\_penalty -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L631)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L631)

```python def set_presence_penalty(self, value: float) -> Self: @@ -1047,7 +1047,7 @@ This client, useful for chaining inplace calls. ### set\_region -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L816)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L816)

```python def set_region(self, value: str) -> Self: @@ -1069,7 +1069,7 @@ This client, useful for chaining inplace calls. ### set\_response\_format -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L644)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L644)

```python def set_response_format( @@ -1094,7 +1094,7 @@ This client, useful for chaining inplace calls. ### set\_return\_full\_completion -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L868)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L868)

```python def set_return_full_completion(self, value: bool) -> Self: @@ -1116,7 +1116,7 @@ This client, useful for chaining inplace calls. ### set\_seed -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L660)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L660)

```python def set_seed(self, value: Optional[int]) -> Self: @@ -1138,7 +1138,7 @@ This client, useful for chaining inplace calls. ### set\_stateful -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L855)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L855)

```python def set_stateful(self, value: bool) -> Self: @@ -1160,7 +1160,7 @@ This client, useful for chaining inplace calls. ### set\_stop -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L673)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L673)

```python def set_stop(self, value: Union[str, List[str]]) -> Self: @@ -1182,7 +1182,7 @@ This client, useful for chaining inplace calls. ### set\_stream -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L686)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L686)

```python def set_stream(self, value: bool) -> Self: @@ -1204,7 +1204,7 @@ This client, useful for chaining inplace calls. ### set\_stream\_options -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L699)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L699)

```python def set_stream_options(self, value: ChatCompletionStreamOptionsParam) -> Self: @@ -1226,7 +1226,7 @@ This client, useful for chaining inplace calls. ### set\_system\_message -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L479)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L479)

```python def set_system_message(self, value: str) -> Self: @@ -1248,7 +1248,7 @@ This client, useful for chaining inplace calls. ### set\_tags -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L790)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L790)

```python def set_tags(self, value: List[str]) -> Self: @@ -1270,7 +1270,7 @@ This client, useful for chaining inplace calls. ### set\_temperature -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L712)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L712)

```python def set_temperature(self, value: float) -> Self: @@ -1292,7 +1292,7 @@ This client, useful for chaining inplace calls. ### set\_tool\_choice -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L751)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L751)

```python def set_tool_choice(self, value: ChatCompletionToolChoiceOptionParam) -> Self: @@ -1314,7 +1314,7 @@ This client, useful for chaining inplace calls. ### set\_tools -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L738)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L738)

```python def set_tools(self, value: Iterable[ChatCompletionToolParam]) -> Self: @@ -1336,7 +1336,7 @@ This client, useful for chaining inplace calls. ### set\_top\_logprobs -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L592)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L592)

```python def set_top_logprobs(self, value: int) -> Self: @@ -1358,7 +1358,7 @@ This client, useful for chaining inplace calls. ### set\_top\_p -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L725)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L725)

```python def set_top_p(self, value: float) -> Self: @@ -1380,7 +1380,7 @@ This client, useful for chaining inplace calls. ### set\_traced -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L882)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L882)

```python def set_traced(self, value: bool) -> Self: @@ -1402,7 +1402,7 @@ This client, useful for chaining inplace calls. ### set\_use\_custom\_keys -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L777)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L777)

```python def set_use_custom_keys(self, value: bool) -> Self: @@ -1426,7 +1426,7 @@ This client, useful for chaining inplace calls. ### add\_endpoints -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/multi_llm.py#L312)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/multi_llm.py#L312)

```python def add_endpoints( @@ -1453,7 +1453,7 @@ This client, useful for chaining inplace calls. ### append\_messages -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L532)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L532)

```python def append_messages( @@ -1481,7 +1481,7 @@ This client, useful for chaining inplace calls. ### copy -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L981)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L981)

```python def copy(self): @@ -1493,7 +1493,7 @@ def copy(self): ### generate -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/multi_llm.py#L476)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/multi_llm.py#L476)

```python def generate( @@ -1600,7 +1600,7 @@ If stream is False, returns a single string response. ### get\_credit\_balance -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/multi_llm.py#L390)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/multi_llm.py#L390)

```python def get_credit_balance(self) -> Union[float, None]: @@ -1621,7 +1621,7 @@ ValueError: If there was an error parsing the JSON response. ### json -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L1027)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L1027)

```python def json(self): @@ -1633,7 +1633,7 @@ def json(self): ### remove\_endpoints -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/multi_llm.py#L350)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/multi_llm.py#L350)

```python def remove_endpoints( @@ -1661,7 +1661,7 @@ This client, useful for chaining inplace calls. ### to\_async\_client -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/multi_llm.py#L898)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/multi_llm.py#L898)

```python def to_async_client(self): @@ -1681,7 +1681,7 @@ instance. ### \_\_repr\_\_ -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/multi_llm.py#L467)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/multi_llm.py#L467)

```python def __repr__(self): @@ -1693,7 +1693,7 @@ def __repr__(self): ### \_\_str\_\_ -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/multi_llm.py#L470)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/multi_llm.py#L470)

```python def __str__(self): diff --git a/python/classes/universal_api/clients/uni_llm/AsyncUnify.mdx b/python/classes/universal_api/clients/uni_llm/AsyncUnify.mdx index 6e8eff295..1adfae7ac 100644 --- a/python/classes/universal_api/clients/uni_llm/AsyncUnify.mdx +++ b/python/classes/universal_api/clients/uni_llm/AsyncUnify.mdx @@ -6,14 +6,14 @@ title: 'AsyncUnify' class AsyncUnify ``` -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/uni_llm.py#L1012)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/uni_llm.py#L1012)

Class for interacting with the Unify chat completions endpoint in a synchronous manner. ### \_\_init\_\_ -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/uni_llm.py#L47)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/uni_llm.py#L47)

```python def __init__( @@ -114,7 +114,7 @@ Initialize the Uni LLM Unify client. ### cache -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L436)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L436)

```python def cache(self) -> bool: @@ -130,7 +130,7 @@ The default cache bool. ### drop\_params -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L366)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L366)

```python def drop_params(self) -> Optional[bool]: @@ -146,7 +146,7 @@ The default drop_params bool. ### endpoint -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/uni_llm.py#L330)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/uni_llm.py#L330)

```python def endpoint(self) -> str: @@ -162,7 +162,7 @@ The endpoint name. ### extra\_body -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L466)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L466)

```python def extra_body(self) -> Optional[Mapping[str, str]]: @@ -178,7 +178,7 @@ The default extra body. ### extra\_headers -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L446)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L446)

```python def extra_headers(self) -> Optional[Headers]: @@ -194,7 +194,7 @@ The default extra headers. ### extra\_query -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L456)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L456)

```python def extra_query(self) -> Optional[Query]: @@ -210,7 +210,7 @@ The default extra query. ### frequency\_penalty -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L176)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L176)

```python def frequency_penalty(self) -> Optional[float]: @@ -226,7 +226,7 @@ The default frequency penalty. ### input\_cost -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/uni_llm.py#L311)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/uni_llm.py#L311)

```python def input_cost(self) -> float: @@ -238,7 +238,7 @@ def input_cost(self) -> float: ### itl -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/uni_llm.py#L323)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/uni_llm.py#L323)

```python def itl(self) -> float: @@ -250,7 +250,7 @@ def itl(self) -> float: ### log\_query\_body -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L386)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L386)

```python def log_query_body(self) -> Optional[bool]: @@ -266,7 +266,7 @@ The default log query body bool. ### log\_response\_body -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L396)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L396)

```python def log_response_body(self) -> Optional[bool]: @@ -282,7 +282,7 @@ The default log response body bool. ### logit\_bias -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L186)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L186)

```python def logit_bias(self) -> Optional[Dict[str, int]]: @@ -298,7 +298,7 @@ The default logit bias. ### logprobs -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L196)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L196)

```python def logprobs(self) -> Optional[bool]: @@ -314,7 +314,7 @@ The default logprobs. ### max\_completion\_tokens -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L216)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L216)

```python def max_completion_tokens(self) -> Optional[int]: @@ -330,7 +330,7 @@ The default max tokens. ### messages -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L159)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L159)

```python def messages( @@ -353,7 +353,7 @@ The default messages. ### model -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/uni_llm.py#L340)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/uni_llm.py#L340)

```python def model(self) -> str: @@ -369,7 +369,7 @@ The model name. ### n -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L226)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L226)

```python def n(self) -> Optional[int]: @@ -385,7 +385,7 @@ The default n value. ### output\_cost -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/uni_llm.py#L315)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/uni_llm.py#L315)

```python def output_cost(self) -> float: @@ -397,7 +397,7 @@ def output_cost(self) -> float: ### parallel\_tool\_calls -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L336)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L336)

```python def parallel_tool_calls(self) -> Optional[bool]: @@ -413,7 +413,7 @@ The default parallel tool calls bool. ### presence\_penalty -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L236)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L236)

```python def presence_penalty(self) -> Optional[float]: @@ -429,7 +429,7 @@ The default presence penalty. ### provider -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/uni_llm.py#L350)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/uni_llm.py#L350)

```python def provider(self) -> str: @@ -445,7 +445,7 @@ The provider name. ### region -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L376)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L376)

```python def region(self) -> Optional[str]: @@ -461,7 +461,7 @@ The default region. ### response\_format -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L246)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L246)

```python def response_format(self) -> Optional[Union[Type[BaseModel], Dict[str, str]]]: @@ -477,7 +477,7 @@ The default response format. ### return\_full\_completion -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L416)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L416)

```python def return_full_completion(self) -> bool: @@ -493,7 +493,7 @@ The default return full completion bool. ### seed -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L256)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L256)

```python def seed(self) -> Optional[int]: @@ -509,7 +509,7 @@ The default seed value. ### stateful -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L406)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L406)

```python def stateful(self) -> bool: @@ -525,7 +525,7 @@ The default stateful bool. ### stop -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L266)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L266)

```python def stop(self) -> Union[Optional[str], List[str]]: @@ -541,7 +541,7 @@ The default stop value. ### stream -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L276)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L276)

```python def stream(self) -> Optional[bool]: @@ -557,7 +557,7 @@ The default stream bool. ### stream\_options -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L286)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L286)

```python def stream_options(self) -> Optional[ChatCompletionStreamOptionsParam]: @@ -573,7 +573,7 @@ The default stream options. ### system\_message -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L149)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L149)

```python def system_message(self) -> Optional[str]: @@ -589,7 +589,7 @@ The default system message. ### tags -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L356)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L356)

```python def tags(self) -> Optional[List[str]]: @@ -605,7 +605,7 @@ The default tags. ### temperature -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L296)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L296)

```python def temperature(self) -> Optional[float]: @@ -621,7 +621,7 @@ The default temperature. ### tool\_choice -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L326)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L326)

```python def tool_choice(self) -> Optional[ChatCompletionToolChoiceOptionParam]: @@ -637,7 +637,7 @@ The default tool choice. ### tools -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L316)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L316)

```python def tools(self) -> Optional[Iterable[ChatCompletionToolParam]]: @@ -653,7 +653,7 @@ The default tools. ### top\_logprobs -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L206)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L206)

```python def top_logprobs(self) -> Optional[int]: @@ -669,7 +669,7 @@ The default top logprobs. ### top\_p -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L306)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L306)

```python def top_p(self) -> Optional[float]: @@ -685,7 +685,7 @@ The default top p value. ### traced -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L426)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L426)

```python def traced(self) -> bool: @@ -701,7 +701,7 @@ The default traced bool. ### ttft -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/uni_llm.py#L319)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/uni_llm.py#L319)

```python def ttft(self) -> float: @@ -713,7 +713,7 @@ def ttft(self) -> float: ### use\_custom\_keys -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L346)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L346)

```python def use_custom_keys(self) -> bool: @@ -731,7 +731,7 @@ The default use custom keys bool. ### set\_cache -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L895)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L895)

```python def set_cache(self, value: bool) -> Self: @@ -753,7 +753,7 @@ This client, useful for chaining inplace calls. ### set\_drop\_params -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L803)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L803)

```python def set_drop_params(self, value: bool) -> Self: @@ -775,7 +775,7 @@ This client, useful for chaining inplace calls. ### set\_endpoint -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/uni_llm.py#L363)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/uni_llm.py#L363)

```python def set_endpoint(self, value: str) -> Self: @@ -797,7 +797,7 @@ This client, useful for chaining inplace calls. ### set\_extra\_body -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L934)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L934)

```python def set_extra_body(self, value: Body) -> Self: @@ -819,7 +819,7 @@ This client, useful for chaining inplace calls. ### set\_extra\_headers -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L908)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L908)

```python def set_extra_headers(self, value: Headers) -> Self: @@ -841,7 +841,7 @@ This client, useful for chaining inplace calls. ### set\_extra\_query -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L921)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L921)

```python def set_extra_query(self, value: Query) -> Self: @@ -863,7 +863,7 @@ This client, useful for chaining inplace calls. ### set\_frequency\_penalty -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L553)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L553)

```python def set_frequency_penalty(self, value: float) -> Self: @@ -885,7 +885,7 @@ This client, useful for chaining inplace calls. ### set\_log\_query\_body -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L829)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L829)

```python def set_log_query_body(self, value: bool) -> Self: @@ -907,7 +907,7 @@ This client, useful for chaining inplace calls. ### set\_log\_response\_body -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L842)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L842)

```python def set_log_response_body(self, value: bool) -> Self: @@ -929,7 +929,7 @@ This client, useful for chaining inplace calls. ### set\_logit\_bias -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L566)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L566)

```python def set_logit_bias(self, value: Dict[str, int]) -> Self: @@ -951,7 +951,7 @@ This client, useful for chaining inplace calls. ### set\_logprobs -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L579)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L579)

```python def set_logprobs(self, value: bool) -> Self: @@ -973,7 +973,7 @@ This client, useful for chaining inplace calls. ### set\_max\_completion\_tokens -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L605)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L605)

```python def set_max_completion_tokens(self, value: int) -> Self: @@ -995,7 +995,7 @@ This client, useful for chaining inplace calls. ### set\_messages -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L511)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L511)

```python def set_messages( @@ -1023,7 +1023,7 @@ This client, useful for chaining inplace calls. ### set\_model -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/uni_llm.py#L383)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/uni_llm.py#L383)

```python def set_model(self, value: str) -> Self: @@ -1045,7 +1045,7 @@ This client, useful for chaining inplace calls. ### set\_n -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L618)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L618)

```python def set_n(self, value: int) -> Self: @@ -1067,7 +1067,7 @@ This client, useful for chaining inplace calls. ### set\_parallel\_tool\_calls -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L764)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L764)

```python def set_parallel_tool_calls(self, value: bool) -> Self: @@ -1089,7 +1089,7 @@ This client, useful for chaining inplace calls. ### set\_presence\_penalty -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L631)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L631)

```python def set_presence_penalty(self, value: float) -> Self: @@ -1111,7 +1111,7 @@ This client, useful for chaining inplace calls. ### set\_provider -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/uni_llm.py#L403)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/uni_llm.py#L403)

```python def set_provider(self, value: str) -> Self: @@ -1133,7 +1133,7 @@ This client, useful for chaining inplace calls. ### set\_region -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L816)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L816)

```python def set_region(self, value: str) -> Self: @@ -1155,7 +1155,7 @@ This client, useful for chaining inplace calls. ### set\_response\_format -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L644)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L644)

```python def set_response_format( @@ -1180,7 +1180,7 @@ This client, useful for chaining inplace calls. ### set\_return\_full\_completion -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L868)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L868)

```python def set_return_full_completion(self, value: bool) -> Self: @@ -1202,7 +1202,7 @@ This client, useful for chaining inplace calls. ### set\_seed -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L660)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L660)

```python def set_seed(self, value: Optional[int]) -> Self: @@ -1224,7 +1224,7 @@ This client, useful for chaining inplace calls. ### set\_stateful -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L855)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L855)

```python def set_stateful(self, value: bool) -> Self: @@ -1246,7 +1246,7 @@ This client, useful for chaining inplace calls. ### set\_stop -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L673)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L673)

```python def set_stop(self, value: Union[str, List[str]]) -> Self: @@ -1268,7 +1268,7 @@ This client, useful for chaining inplace calls. ### set\_stream -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L686)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L686)

```python def set_stream(self, value: bool) -> Self: @@ -1290,7 +1290,7 @@ This client, useful for chaining inplace calls. ### set\_stream\_options -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L699)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L699)

```python def set_stream_options(self, value: ChatCompletionStreamOptionsParam) -> Self: @@ -1312,7 +1312,7 @@ This client, useful for chaining inplace calls. ### set\_system\_message -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L479)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L479)

```python def set_system_message(self, value: str) -> Self: @@ -1334,7 +1334,7 @@ This client, useful for chaining inplace calls. ### set\_tags -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L790)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L790)

```python def set_tags(self, value: List[str]) -> Self: @@ -1356,7 +1356,7 @@ This client, useful for chaining inplace calls. ### set\_temperature -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L712)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L712)

```python def set_temperature(self, value: float) -> Self: @@ -1378,7 +1378,7 @@ This client, useful for chaining inplace calls. ### set\_tool\_choice -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L751)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L751)

```python def set_tool_choice(self, value: ChatCompletionToolChoiceOptionParam) -> Self: @@ -1400,7 +1400,7 @@ This client, useful for chaining inplace calls. ### set\_tools -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L738)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L738)

```python def set_tools(self, value: Iterable[ChatCompletionToolParam]) -> Self: @@ -1422,7 +1422,7 @@ This client, useful for chaining inplace calls. ### set\_top\_logprobs -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L592)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L592)

```python def set_top_logprobs(self, value: int) -> Self: @@ -1444,7 +1444,7 @@ This client, useful for chaining inplace calls. ### set\_top\_p -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L725)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L725)

```python def set_top_p(self, value: float) -> Self: @@ -1466,7 +1466,7 @@ This client, useful for chaining inplace calls. ### set\_traced -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L882)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L882)

```python def set_traced(self, value: bool) -> Self: @@ -1488,7 +1488,7 @@ This client, useful for chaining inplace calls. ### set\_use\_custom\_keys -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L777)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L777)

```python def set_use_custom_keys(self, value: bool) -> Self: @@ -1512,7 +1512,7 @@ This client, useful for chaining inplace calls. ### append\_messages -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L532)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L532)

```python def append_messages( @@ -1540,7 +1540,7 @@ This client, useful for chaining inplace calls. ### copy -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L981)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L981)

```python def copy(self): @@ -1552,7 +1552,7 @@ def copy(self): ### generate -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/uni_llm.py#L476)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/uni_llm.py#L476)

```python def generate( @@ -1657,7 +1657,7 @@ If stream is False, returns a single string response. ### get\_credit\_balance -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L950)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L950)

```python def get_credit_balance(self) -> Union[float, None]: @@ -1678,7 +1678,7 @@ ValueError: If there was an error parsing the JSON response. ### json -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L1027)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L1027)

```python def json(self): @@ -1690,7 +1690,7 @@ def json(self): ### to\_sync\_client -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/uni_llm.py#L1243)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/uni_llm.py#L1243)

```python def to_sync_client(self): @@ -1710,7 +1710,7 @@ instance. ### \_\_repr\_\_ -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/uni_llm.py#L460)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/uni_llm.py#L460)

```python def __repr__(self): @@ -1722,7 +1722,7 @@ def __repr__(self): ### \_\_str\_\_ -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/uni_llm.py#L463)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/uni_llm.py#L463)

```python def __str__(self): diff --git a/python/classes/universal_api/clients/uni_llm/Unify.mdx b/python/classes/universal_api/clients/uni_llm/Unify.mdx index b55aea849..fca267c7c 100644 --- a/python/classes/universal_api/clients/uni_llm/Unify.mdx +++ b/python/classes/universal_api/clients/uni_llm/Unify.mdx @@ -6,14 +6,14 @@ title: 'Unify' class Unify ``` -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/uni_llm.py#L749)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/uni_llm.py#L749)

Class for interacting with the Unify chat completions endpoint in a synchronous manner. ### \_\_init\_\_ -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/uni_llm.py#L47)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/uni_llm.py#L47)

```python def __init__( @@ -114,7 +114,7 @@ Initialize the Uni LLM Unify client. ### cache -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L436)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L436)

```python def cache(self) -> bool: @@ -130,7 +130,7 @@ The default cache bool. ### drop\_params -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L366)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L366)

```python def drop_params(self) -> Optional[bool]: @@ -146,7 +146,7 @@ The default drop_params bool. ### endpoint -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/uni_llm.py#L330)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/uni_llm.py#L330)

```python def endpoint(self) -> str: @@ -162,7 +162,7 @@ The endpoint name. ### extra\_body -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L466)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L466)

```python def extra_body(self) -> Optional[Mapping[str, str]]: @@ -178,7 +178,7 @@ The default extra body. ### extra\_headers -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L446)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L446)

```python def extra_headers(self) -> Optional[Headers]: @@ -194,7 +194,7 @@ The default extra headers. ### extra\_query -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L456)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L456)

```python def extra_query(self) -> Optional[Query]: @@ -210,7 +210,7 @@ The default extra query. ### frequency\_penalty -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L176)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L176)

```python def frequency_penalty(self) -> Optional[float]: @@ -226,7 +226,7 @@ The default frequency penalty. ### input\_cost -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/uni_llm.py#L311)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/uni_llm.py#L311)

```python def input_cost(self) -> float: @@ -238,7 +238,7 @@ def input_cost(self) -> float: ### itl -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/uni_llm.py#L323)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/uni_llm.py#L323)

```python def itl(self) -> float: @@ -250,7 +250,7 @@ def itl(self) -> float: ### log\_query\_body -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L386)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L386)

```python def log_query_body(self) -> Optional[bool]: @@ -266,7 +266,7 @@ The default log query body bool. ### log\_response\_body -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L396)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L396)

```python def log_response_body(self) -> Optional[bool]: @@ -282,7 +282,7 @@ The default log response body bool. ### logit\_bias -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L186)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L186)

```python def logit_bias(self) -> Optional[Dict[str, int]]: @@ -298,7 +298,7 @@ The default logit bias. ### logprobs -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L196)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L196)

```python def logprobs(self) -> Optional[bool]: @@ -314,7 +314,7 @@ The default logprobs. ### max\_completion\_tokens -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L216)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L216)

```python def max_completion_tokens(self) -> Optional[int]: @@ -330,7 +330,7 @@ The default max tokens. ### messages -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L159)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L159)

```python def messages( @@ -353,7 +353,7 @@ The default messages. ### model -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/uni_llm.py#L340)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/uni_llm.py#L340)

```python def model(self) -> str: @@ -369,7 +369,7 @@ The model name. ### n -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L226)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L226)

```python def n(self) -> Optional[int]: @@ -385,7 +385,7 @@ The default n value. ### output\_cost -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/uni_llm.py#L315)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/uni_llm.py#L315)

```python def output_cost(self) -> float: @@ -397,7 +397,7 @@ def output_cost(self) -> float: ### parallel\_tool\_calls -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L336)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L336)

```python def parallel_tool_calls(self) -> Optional[bool]: @@ -413,7 +413,7 @@ The default parallel tool calls bool. ### presence\_penalty -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L236)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L236)

```python def presence_penalty(self) -> Optional[float]: @@ -429,7 +429,7 @@ The default presence penalty. ### provider -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/uni_llm.py#L350)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/uni_llm.py#L350)

```python def provider(self) -> str: @@ -445,7 +445,7 @@ The provider name. ### region -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L376)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L376)

```python def region(self) -> Optional[str]: @@ -461,7 +461,7 @@ The default region. ### response\_format -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L246)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L246)

```python def response_format(self) -> Optional[Union[Type[BaseModel], Dict[str, str]]]: @@ -477,7 +477,7 @@ The default response format. ### return\_full\_completion -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L416)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L416)

```python def return_full_completion(self) -> bool: @@ -493,7 +493,7 @@ The default return full completion bool. ### seed -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L256)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L256)

```python def seed(self) -> Optional[int]: @@ -509,7 +509,7 @@ The default seed value. ### stateful -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L406)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L406)

```python def stateful(self) -> bool: @@ -525,7 +525,7 @@ The default stateful bool. ### stop -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L266)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L266)

```python def stop(self) -> Union[Optional[str], List[str]]: @@ -541,7 +541,7 @@ The default stop value. ### stream -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L276)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L276)

```python def stream(self) -> Optional[bool]: @@ -557,7 +557,7 @@ The default stream bool. ### stream\_options -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L286)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L286)

```python def stream_options(self) -> Optional[ChatCompletionStreamOptionsParam]: @@ -573,7 +573,7 @@ The default stream options. ### system\_message -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L149)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L149)

```python def system_message(self) -> Optional[str]: @@ -589,7 +589,7 @@ The default system message. ### tags -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L356)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L356)

```python def tags(self) -> Optional[List[str]]: @@ -605,7 +605,7 @@ The default tags. ### temperature -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L296)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L296)

```python def temperature(self) -> Optional[float]: @@ -621,7 +621,7 @@ The default temperature. ### tool\_choice -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L326)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L326)

```python def tool_choice(self) -> Optional[ChatCompletionToolChoiceOptionParam]: @@ -637,7 +637,7 @@ The default tool choice. ### tools -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L316)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L316)

```python def tools(self) -> Optional[Iterable[ChatCompletionToolParam]]: @@ -653,7 +653,7 @@ The default tools. ### top\_logprobs -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L206)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L206)

```python def top_logprobs(self) -> Optional[int]: @@ -669,7 +669,7 @@ The default top logprobs. ### top\_p -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L306)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L306)

```python def top_p(self) -> Optional[float]: @@ -685,7 +685,7 @@ The default top p value. ### traced -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L426)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L426)

```python def traced(self) -> bool: @@ -701,7 +701,7 @@ The default traced bool. ### ttft -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/uni_llm.py#L319)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/uni_llm.py#L319)

```python def ttft(self) -> float: @@ -713,7 +713,7 @@ def ttft(self) -> float: ### use\_custom\_keys -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L346)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L346)

```python def use_custom_keys(self) -> bool: @@ -731,7 +731,7 @@ The default use custom keys bool. ### set\_cache -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L895)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L895)

```python def set_cache(self, value: bool) -> Self: @@ -753,7 +753,7 @@ This client, useful for chaining inplace calls. ### set\_drop\_params -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L803)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L803)

```python def set_drop_params(self, value: bool) -> Self: @@ -775,7 +775,7 @@ This client, useful for chaining inplace calls. ### set\_endpoint -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/uni_llm.py#L363)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/uni_llm.py#L363)

```python def set_endpoint(self, value: str) -> Self: @@ -797,7 +797,7 @@ This client, useful for chaining inplace calls. ### set\_extra\_body -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L934)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L934)

```python def set_extra_body(self, value: Body) -> Self: @@ -819,7 +819,7 @@ This client, useful for chaining inplace calls. ### set\_extra\_headers -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L908)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L908)

```python def set_extra_headers(self, value: Headers) -> Self: @@ -841,7 +841,7 @@ This client, useful for chaining inplace calls. ### set\_extra\_query -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L921)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L921)

```python def set_extra_query(self, value: Query) -> Self: @@ -863,7 +863,7 @@ This client, useful for chaining inplace calls. ### set\_frequency\_penalty -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L553)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L553)

```python def set_frequency_penalty(self, value: float) -> Self: @@ -885,7 +885,7 @@ This client, useful for chaining inplace calls. ### set\_log\_query\_body -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L829)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L829)

```python def set_log_query_body(self, value: bool) -> Self: @@ -907,7 +907,7 @@ This client, useful for chaining inplace calls. ### set\_log\_response\_body -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L842)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L842)

```python def set_log_response_body(self, value: bool) -> Self: @@ -929,7 +929,7 @@ This client, useful for chaining inplace calls. ### set\_logit\_bias -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L566)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L566)

```python def set_logit_bias(self, value: Dict[str, int]) -> Self: @@ -951,7 +951,7 @@ This client, useful for chaining inplace calls. ### set\_logprobs -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L579)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L579)

```python def set_logprobs(self, value: bool) -> Self: @@ -973,7 +973,7 @@ This client, useful for chaining inplace calls. ### set\_max\_completion\_tokens -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L605)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L605)

```python def set_max_completion_tokens(self, value: int) -> Self: @@ -995,7 +995,7 @@ This client, useful for chaining inplace calls. ### set\_messages -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L511)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L511)

```python def set_messages( @@ -1023,7 +1023,7 @@ This client, useful for chaining inplace calls. ### set\_model -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/uni_llm.py#L383)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/uni_llm.py#L383)

```python def set_model(self, value: str) -> Self: @@ -1045,7 +1045,7 @@ This client, useful for chaining inplace calls. ### set\_n -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L618)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L618)

```python def set_n(self, value: int) -> Self: @@ -1067,7 +1067,7 @@ This client, useful for chaining inplace calls. ### set\_parallel\_tool\_calls -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L764)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L764)

```python def set_parallel_tool_calls(self, value: bool) -> Self: @@ -1089,7 +1089,7 @@ This client, useful for chaining inplace calls. ### set\_presence\_penalty -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L631)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L631)

```python def set_presence_penalty(self, value: float) -> Self: @@ -1111,7 +1111,7 @@ This client, useful for chaining inplace calls. ### set\_provider -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/uni_llm.py#L403)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/uni_llm.py#L403)

```python def set_provider(self, value: str) -> Self: @@ -1133,7 +1133,7 @@ This client, useful for chaining inplace calls. ### set\_region -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L816)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L816)

```python def set_region(self, value: str) -> Self: @@ -1155,7 +1155,7 @@ This client, useful for chaining inplace calls. ### set\_response\_format -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L644)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L644)

```python def set_response_format( @@ -1180,7 +1180,7 @@ This client, useful for chaining inplace calls. ### set\_return\_full\_completion -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L868)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L868)

```python def set_return_full_completion(self, value: bool) -> Self: @@ -1202,7 +1202,7 @@ This client, useful for chaining inplace calls. ### set\_seed -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L660)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L660)

```python def set_seed(self, value: Optional[int]) -> Self: @@ -1224,7 +1224,7 @@ This client, useful for chaining inplace calls. ### set\_stateful -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L855)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L855)

```python def set_stateful(self, value: bool) -> Self: @@ -1246,7 +1246,7 @@ This client, useful for chaining inplace calls. ### set\_stop -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L673)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L673)

```python def set_stop(self, value: Union[str, List[str]]) -> Self: @@ -1268,7 +1268,7 @@ This client, useful for chaining inplace calls. ### set\_stream -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L686)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L686)

```python def set_stream(self, value: bool) -> Self: @@ -1290,7 +1290,7 @@ This client, useful for chaining inplace calls. ### set\_stream\_options -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L699)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L699)

```python def set_stream_options(self, value: ChatCompletionStreamOptionsParam) -> Self: @@ -1312,7 +1312,7 @@ This client, useful for chaining inplace calls. ### set\_system\_message -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L479)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L479)

```python def set_system_message(self, value: str) -> Self: @@ -1334,7 +1334,7 @@ This client, useful for chaining inplace calls. ### set\_tags -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L790)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L790)

```python def set_tags(self, value: List[str]) -> Self: @@ -1356,7 +1356,7 @@ This client, useful for chaining inplace calls. ### set\_temperature -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L712)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L712)

```python def set_temperature(self, value: float) -> Self: @@ -1378,7 +1378,7 @@ This client, useful for chaining inplace calls. ### set\_tool\_choice -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L751)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L751)

```python def set_tool_choice(self, value: ChatCompletionToolChoiceOptionParam) -> Self: @@ -1400,7 +1400,7 @@ This client, useful for chaining inplace calls. ### set\_tools -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L738)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L738)

```python def set_tools(self, value: Iterable[ChatCompletionToolParam]) -> Self: @@ -1422,7 +1422,7 @@ This client, useful for chaining inplace calls. ### set\_top\_logprobs -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L592)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L592)

```python def set_top_logprobs(self, value: int) -> Self: @@ -1444,7 +1444,7 @@ This client, useful for chaining inplace calls. ### set\_top\_p -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L725)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L725)

```python def set_top_p(self, value: float) -> Self: @@ -1466,7 +1466,7 @@ This client, useful for chaining inplace calls. ### set\_traced -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L882)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L882)

```python def set_traced(self, value: bool) -> Self: @@ -1488,7 +1488,7 @@ This client, useful for chaining inplace calls. ### set\_use\_custom\_keys -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L777)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L777)

```python def set_use_custom_keys(self, value: bool) -> Self: @@ -1512,7 +1512,7 @@ This client, useful for chaining inplace calls. ### append\_messages -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L532)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L532)

```python def append_messages( @@ -1540,7 +1540,7 @@ This client, useful for chaining inplace calls. ### copy -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L981)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L981)

```python def copy(self): @@ -1552,7 +1552,7 @@ def copy(self): ### generate -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/uni_llm.py#L476)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/uni_llm.py#L476)

```python def generate( @@ -1657,7 +1657,7 @@ If stream is False, returns a single string response. ### get\_credit\_balance -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L950)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L950)

```python def get_credit_balance(self) -> Union[float, None]: @@ -1678,7 +1678,7 @@ ValueError: If there was an error parsing the JSON response. ### json -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/base.py#L1027)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/base.py#L1027)

```python def json(self): @@ -1690,7 +1690,7 @@ def json(self): ### to\_async\_client -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/uni_llm.py#L1000)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/uni_llm.py#L1000)

```python def to_async_client(self): @@ -1710,7 +1710,7 @@ instance. ### \_\_repr\_\_ -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/uni_llm.py#L460)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/uni_llm.py#L460)

```python def __repr__(self): @@ -1722,7 +1722,7 @@ def __repr__(self): ### \_\_str\_\_ -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/clients/uni_llm.py#L463)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/clients/uni_llm.py#L463)

```python def __str__(self): diff --git a/python/classes/universal_api/types/prompt/Prompt.mdx b/python/classes/universal_api/types/prompt/Prompt.mdx index f8efb3f75..ad2418283 100644 --- a/python/classes/universal_api/types/prompt/Prompt.mdx +++ b/python/classes/universal_api/types/prompt/Prompt.mdx @@ -6,13 +6,13 @@ title: 'Prompt' class Prompt ``` -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/types/prompt.py#L1)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/types/prompt.py#L1)

### \_\_init\_\_ -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/types/prompt.py#L2)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/types/prompt.py#L2)

```python def __init__( diff --git a/python/classes/universal_api/utils/endpoint_metrics/Metrics.mdx b/python/classes/universal_api/utils/endpoint_metrics/Metrics.mdx index 280080d51..b079f9050 100644 --- a/python/classes/universal_api/utils/endpoint_metrics/Metrics.mdx +++ b/python/classes/universal_api/utils/endpoint_metrics/Metrics.mdx @@ -6,7 +6,7 @@ title: 'Metrics' class Metrics ``` -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/utils/endpoint_metrics.py#L11)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/utils/endpoint_metrics.py#L11)

@@ -16,7 +16,7 @@ class Metrics ### \_\_fields\_set\_\_ -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/pydantic/main.py#L1142)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/pydantic/main.py#L1142)

```python def __fields_set__(self) -> set[str]: @@ -28,7 +28,7 @@ def __fields_set__(self) -> set[str]: ### model\_extra -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/pydantic/main.py#L260)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/pydantic/main.py#L260)

```python def model_extra(self) -> dict[str, Any] | None: @@ -44,7 +44,7 @@ A dictionary of extra fields, or `None` if `config.extra` is not set to `"allow" ### model\_fields\_set -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/pydantic/main.py#L269)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/pydantic/main.py#L269)

```python def model_fields_set(self) -> set[str]: diff --git a/python/functions/logging/logs/log_decorator.mdx b/python/functions/logging/logs/log_decorator.mdx index e1cb6dcd9..7c5bd5c71 100644 --- a/python/functions/logging/logs/log_decorator.mdx +++ b/python/functions/logging/logs/log_decorator.mdx @@ -6,7 +6,7 @@ title: 'log_decorator' def log_decorator(func): ``` -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/logs.py#L536)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/logs.py#L538)

Decorator that rewrites the function's AST so that it logs non-underscore parameters, and assigned variables. \ No newline at end of file diff --git a/python/functions/logging/logs/traced.mdx b/python/functions/logging/logs/traced.mdx index b25b394e2..f385d0d8e 100644 --- a/python/functions/logging/logs/traced.mdx +++ b/python/functions/logging/logs/traced.mdx @@ -13,5 +13,5 @@ def traced( ): ``` -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/logs.py#L245)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/logs.py#L247)

diff --git a/python/functions/logging/utils/artifacts/add_project_artifacts.mdx b/python/functions/logging/utils/artifacts/add_project_artifacts.mdx index e3f13c629..0a5ecd19b 100644 --- a/python/functions/logging/utils/artifacts/add_project_artifacts.mdx +++ b/python/functions/logging/utils/artifacts/add_project_artifacts.mdx @@ -11,7 +11,7 @@ def add_project_artifacts( ) -> Dict[str, str]: ``` -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/utils/artifacts.py#L12)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/utils/artifacts.py#L12)

Creates one or more artifacts associated to a project. Artifacts are project-level metadata that don’t depend on other variables. diff --git a/python/functions/logging/utils/artifacts/delete_project_artifact.mdx b/python/functions/logging/utils/artifacts/delete_project_artifact.mdx index 4016562ad..fb5b6a50a 100644 --- a/python/functions/logging/utils/artifacts/delete_project_artifact.mdx +++ b/python/functions/logging/utils/artifacts/delete_project_artifact.mdx @@ -11,7 +11,7 @@ def delete_project_artifact( ) -> str: ``` -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/utils/artifacts.py#L51)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/utils/artifacts.py#L51)

Deletes an artifact from a project. diff --git a/python/functions/logging/utils/artifacts/get_project_artifacts.mdx b/python/functions/logging/utils/artifacts/get_project_artifacts.mdx index 44b3d3396..4c4444415 100644 --- a/python/functions/logging/utils/artifacts/get_project_artifacts.mdx +++ b/python/functions/logging/utils/artifacts/get_project_artifacts.mdx @@ -10,7 +10,7 @@ def get_project_artifacts( ) -> Dict[str, Any]: ``` -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/utils/artifacts.py#L86)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/utils/artifacts.py#L86)

Returns the key-value pairs for all artifacts in a project. diff --git a/python/functions/logging/utils/compositions/get_experiment_name.mdx b/python/functions/logging/utils/compositions/get_experiment_name.mdx index a4887ccf7..26aae86f5 100644 --- a/python/functions/logging/utils/compositions/get_experiment_name.mdx +++ b/python/functions/logging/utils/compositions/get_experiment_name.mdx @@ -6,7 +6,7 @@ title: 'get_experiment_name' def get_experiment_name(version: int, api_key: Optional[str] = None) -> str: ``` -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/utils/compositions.py#L78)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/utils/compositions.py#L78)

Gets the experiment name (by version). diff --git a/python/functions/logging/utils/compositions/get_experiment_version.mdx b/python/functions/logging/utils/compositions/get_experiment_version.mdx index 51388c97b..5b724308e 100644 --- a/python/functions/logging/utils/compositions/get_experiment_version.mdx +++ b/python/functions/logging/utils/compositions/get_experiment_version.mdx @@ -6,7 +6,7 @@ title: 'get_experiment_version' def get_experiment_version(name: str, api_key: Optional[str] = None) -> int: ``` -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/utils/compositions.py#L101)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/utils/compositions.py#L101)

Gets the experiment version (by name). diff --git a/python/functions/logging/utils/compositions/get_param_by_value.mdx b/python/functions/logging/utils/compositions/get_param_by_value.mdx index b05c2cfa4..d86312d92 100644 --- a/python/functions/logging/utils/compositions/get_param_by_value.mdx +++ b/python/functions/logging/utils/compositions/get_param_by_value.mdx @@ -10,7 +10,7 @@ def get_param_by_value( ) -> Any: ``` -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/utils/compositions.py#L37)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/utils/compositions.py#L37)

Gets the parameter by value. diff --git a/python/functions/logging/utils/compositions/get_param_by_version.mdx b/python/functions/logging/utils/compositions/get_param_by_version.mdx index ff26d744b..c84398722 100644 --- a/python/functions/logging/utils/compositions/get_param_by_version.mdx +++ b/python/functions/logging/utils/compositions/get_param_by_version.mdx @@ -10,7 +10,7 @@ def get_param_by_version( ) -> Any: ``` -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/utils/compositions.py#L12)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/utils/compositions.py#L12)

Gets the parameter by version. diff --git a/python/functions/logging/utils/compositions/get_source.mdx b/python/functions/logging/utils/compositions/get_source.mdx index 22f3c4323..34e4064de 100644 --- a/python/functions/logging/utils/compositions/get_source.mdx +++ b/python/functions/logging/utils/compositions/get_source.mdx @@ -6,7 +6,7 @@ title: 'get_source' def get_source() -> str: ``` -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/utils/compositions.py#L61)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/utils/compositions.py#L61)

Extracts the source code for the file from where this function was called. diff --git a/python/functions/logging/utils/contexts/add_logs_to_context.mdx b/python/functions/logging/utils/contexts/add_logs_to_context.mdx index 778d195da..4dbd05406 100644 --- a/python/functions/logging/utils/contexts/add_logs_to_context.mdx +++ b/python/functions/logging/utils/contexts/add_logs_to_context.mdx @@ -12,7 +12,7 @@ def add_logs_to_context( ) -> None: ``` -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/utils/contexts.py#L150)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/utils/contexts.py#L150)

Add logs to a context. diff --git a/python/functions/logging/utils/contexts/create_context.mdx b/python/functions/logging/utils/contexts/create_context.mdx index 99d6197aa..73000d760 100644 --- a/python/functions/logging/utils/contexts/create_context.mdx +++ b/python/functions/logging/utils/contexts/create_context.mdx @@ -13,7 +13,7 @@ def create_context( ) -> None: ``` -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/utils/contexts.py#L12)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/utils/contexts.py#L12)

Create a context. diff --git a/python/functions/logging/utils/contexts/delete_context.mdx b/python/functions/logging/utils/contexts/delete_context.mdx index 5dcc7480b..6af5a270f 100644 --- a/python/functions/logging/utils/contexts/delete_context.mdx +++ b/python/functions/logging/utils/contexts/delete_context.mdx @@ -11,7 +11,7 @@ def delete_context( ) -> None: ``` -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/utils/contexts.py#L113)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/utils/contexts.py#L113)

Delete a context from the server. diff --git a/python/functions/logging/utils/contexts/get_contexts.mdx b/python/functions/logging/utils/contexts/get_contexts.mdx index d3fe75abb..0cb426ff1 100644 --- a/python/functions/logging/utils/contexts/get_contexts.mdx +++ b/python/functions/logging/utils/contexts/get_contexts.mdx @@ -11,7 +11,7 @@ def get_contexts( ) -> Dict[str, str]: ``` -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/utils/contexts.py#L63)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/utils/contexts.py#L63)

Gets all contexts associated with a project, with the corresponding prefix. diff --git a/python/functions/logging/utils/datasets/add_dataset_entries.mdx b/python/functions/logging/utils/datasets/add_dataset_entries.mdx index a51830b55..2cb345c4c 100644 --- a/python/functions/logging/utils/datasets/add_dataset_entries.mdx +++ b/python/functions/logging/utils/datasets/add_dataset_entries.mdx @@ -12,7 +12,7 @@ def add_dataset_entries( ) -> List[int]: ``` -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/utils/datasets.py#L202)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/utils/datasets.py#L202)

Adds entries to an existing dataset in the server. diff --git a/python/functions/logging/utils/datasets/delete_dataset.mdx b/python/functions/logging/utils/datasets/delete_dataset.mdx index cb717ec25..12438389b 100644 --- a/python/functions/logging/utils/datasets/delete_dataset.mdx +++ b/python/functions/logging/utils/datasets/delete_dataset.mdx @@ -11,7 +11,7 @@ def delete_dataset( ) -> None: ``` -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/utils/datasets.py#L180)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/utils/datasets.py#L180)

Delete a dataset from the server. diff --git a/python/functions/logging/utils/datasets/download_dataset.mdx b/python/functions/logging/utils/datasets/download_dataset.mdx index 7b3b13038..e9577ac8f 100644 --- a/python/functions/logging/utils/datasets/download_dataset.mdx +++ b/python/functions/logging/utils/datasets/download_dataset.mdx @@ -11,7 +11,7 @@ def download_dataset( ) -> List[Log]: ``` -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/utils/datasets.py#L154)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/utils/datasets.py#L154)

Download a dataset from the server. diff --git a/python/functions/logging/utils/datasets/list_datasets.mdx b/python/functions/logging/utils/datasets/list_datasets.mdx index 68fa08d1c..7b32ce443 100644 --- a/python/functions/logging/utils/datasets/list_datasets.mdx +++ b/python/functions/logging/utils/datasets/list_datasets.mdx @@ -11,7 +11,7 @@ def list_datasets( ) -> Dict[str, str]: ``` -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/utils/datasets.py#L12)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/utils/datasets.py#L12)

List all datasets associated with a project and context. diff --git a/python/functions/logging/utils/datasets/upload_dataset.mdx b/python/functions/logging/utils/datasets/upload_dataset.mdx index 742dd4a8d..93312520a 100644 --- a/python/functions/logging/utils/datasets/upload_dataset.mdx +++ b/python/functions/logging/utils/datasets/upload_dataset.mdx @@ -14,7 +14,7 @@ def upload_dataset( ) -> List[int]: ``` -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/utils/datasets.py#L44)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/utils/datasets.py#L44)

Upload a dataset to the server. diff --git a/python/functions/logging/utils/logs/add_log_entries.mdx b/python/functions/logging/utils/logs/add_log_entries.mdx index eadf19d9c..9f5d1ae56 100644 --- a/python/functions/logging/utils/logs/add_log_entries.mdx +++ b/python/functions/logging/utils/logs/add_log_entries.mdx @@ -6,5 +6,5 @@ title: 'add_log_entries' def wrapped(*args, **kwargs): ``` -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/utils/logs.py#L638)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/utils/logs.py#L638)

diff --git a/python/functions/logging/utils/logs/add_log_params.mdx b/python/functions/logging/utils/logs/add_log_params.mdx index 56158e3a8..5c9598427 100644 --- a/python/functions/logging/utils/logs/add_log_params.mdx +++ b/python/functions/logging/utils/logs/add_log_params.mdx @@ -6,5 +6,5 @@ title: 'add_log_params' def wrapped(*args, **kwargs): ``` -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/utils/logs.py#L597)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/utils/logs.py#L597)

diff --git a/python/functions/logging/utils/logs/create_logs.mdx b/python/functions/logging/utils/logs/create_logs.mdx index b74a38fdf..fedd51969 100644 --- a/python/functions/logging/utils/logs/create_logs.mdx +++ b/python/functions/logging/utils/logs/create_logs.mdx @@ -6,5 +6,5 @@ title: 'create_logs' def wrapped(*args, **kwargs): ``` -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/utils/logs.py#L436)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/utils/logs.py#L436)

diff --git a/python/functions/logging/utils/logs/delete_log_fields.mdx b/python/functions/logging/utils/logs/delete_log_fields.mdx index 7df6bb98b..44f1f13b8 100644 --- a/python/functions/logging/utils/logs/delete_log_fields.mdx +++ b/python/functions/logging/utils/logs/delete_log_fields.mdx @@ -6,5 +6,5 @@ title: 'delete_log_fields' def wrapped(*args, **kwargs): ``` -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/utils/logs.py#L760)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/utils/logs.py#L760)

diff --git a/python/functions/logging/utils/logs/delete_logs.mdx b/python/functions/logging/utils/logs/delete_logs.mdx index 2a131f856..332ab4da7 100644 --- a/python/functions/logging/utils/logs/delete_logs.mdx +++ b/python/functions/logging/utils/logs/delete_logs.mdx @@ -6,5 +6,5 @@ title: 'delete_logs' def wrapped(*args, **kwargs): ``` -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/utils/logs.py#L719)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/utils/logs.py#L719)

diff --git a/python/functions/logging/utils/logs/get_groups.mdx b/python/functions/logging/utils/logs/get_groups.mdx index 09c7c7f9e..7d289a95c 100644 --- a/python/functions/logging/utils/logs/get_groups.mdx +++ b/python/functions/logging/utils/logs/get_groups.mdx @@ -11,7 +11,7 @@ def get_groups( ) -> Dict[str, List[Dict[str, Any]]]: ``` -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/utils/logs.py#L970)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/utils/logs.py#L970)

Returns a list of the different version/values of one entry within a given project based on its key. diff --git a/python/functions/logging/utils/logs/get_log_by_id.mdx b/python/functions/logging/utils/logs/get_log_by_id.mdx index 401b18e8d..1351175e1 100644 --- a/python/functions/logging/utils/logs/get_log_by_id.mdx +++ b/python/functions/logging/utils/logs/get_log_by_id.mdx @@ -11,7 +11,7 @@ def get_log_by_id( ) -> unify.Log: ``` -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/utils/logs.py#L876)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/utils/logs.py#L876)

Returns the log associated with a given id. diff --git a/python/functions/logging/utils/logs/get_logs.mdx b/python/functions/logging/utils/logs/get_logs.mdx index bc130dbd5..5eede37e5 100644 --- a/python/functions/logging/utils/logs/get_logs.mdx +++ b/python/functions/logging/utils/logs/get_logs.mdx @@ -15,7 +15,7 @@ def get_logs( ) -> List[unify.Log]: ``` -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/utils/logs.py#L806)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/utils/logs.py#L806)

Returns a list of filtered logs from a project. diff --git a/python/functions/logging/utils/logs/get_logs_metric.mdx b/python/functions/logging/utils/logs/get_logs_metric.mdx index c37467149..9e35a2546 100644 --- a/python/functions/logging/utils/logs/get_logs_metric.mdx +++ b/python/functions/logging/utils/logs/get_logs_metric.mdx @@ -13,7 +13,7 @@ def get_logs_metric( ) -> Union[float, int, bool]: ``` -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/utils/logs.py#L923)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/utils/logs.py#L923)

Retrieve a set of log metrics across a project, after applying the filtering. diff --git a/python/functions/logging/utils/logs/initialize_async_logger.mdx b/python/functions/logging/utils/logs/initialize_async_logger.mdx index eb2910466..eb14b72af 100644 --- a/python/functions/logging/utils/logs/initialize_async_logger.mdx +++ b/python/functions/logging/utils/logs/initialize_async_logger.mdx @@ -11,7 +11,7 @@ def initialize_async_logger( ) -> None: ``` -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/utils/logs.py#L78)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/utils/logs.py#L78)

Initialize the async logger with the specified configuration. diff --git a/python/functions/logging/utils/logs/log.mdx b/python/functions/logging/utils/logs/log.mdx index 99c4168e0..0f2d95a9d 100644 --- a/python/functions/logging/utils/logs/log.mdx +++ b/python/functions/logging/utils/logs/log.mdx @@ -6,5 +6,5 @@ title: 'log' def wrapped(*args, **kwargs): ``` -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/utils/logs.py#L264)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/utils/logs.py#L264)

diff --git a/python/functions/logging/utils/logs/set_user_logging.mdx b/python/functions/logging/utils/logs/set_user_logging.mdx index 916fea395..0a15ae7ff 100644 --- a/python/functions/logging/utils/logs/set_user_logging.mdx +++ b/python/functions/logging/utils/logs/set_user_logging.mdx @@ -6,5 +6,5 @@ title: 'set_user_logging' def set_user_logging(value: bool): ``` -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/utils/logs.py#L1009)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/utils/logs.py#L1009)

diff --git a/python/functions/logging/utils/logs/shutdown_async_logger.mdx b/python/functions/logging/utils/logs/shutdown_async_logger.mdx index 96c231cc8..8e2469dd0 100644 --- a/python/functions/logging/utils/logs/shutdown_async_logger.mdx +++ b/python/functions/logging/utils/logs/shutdown_async_logger.mdx @@ -6,6 +6,6 @@ title: 'shutdown_async_logger' def shutdown_async_logger() -> None: ``` -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/utils/logs.py#L112)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/utils/logs.py#L112)

Gracefully shutdown the async logger, ensuring all pending logs are flushed. \ No newline at end of file diff --git a/python/functions/logging/utils/logs/update_logs.mdx b/python/functions/logging/utils/logs/update_logs.mdx index 0592e2079..18747f69a 100644 --- a/python/functions/logging/utils/logs/update_logs.mdx +++ b/python/functions/logging/utils/logs/update_logs.mdx @@ -6,5 +6,5 @@ title: 'update_logs' def wrapped(*args, **kwargs): ``` -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/utils/logs.py#L684)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/utils/logs.py#L684)

diff --git a/python/functions/logging/utils/projects/create_project.mdx b/python/functions/logging/utils/projects/create_project.mdx index a94bef1b7..5292308bb 100644 --- a/python/functions/logging/utils/projects/create_project.mdx +++ b/python/functions/logging/utils/projects/create_project.mdx @@ -11,7 +11,7 @@ def create_project( ) -> Dict[str, str]: ``` -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/utils/projects.py#L12)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/utils/projects.py#L12)

Creates a logging project and adds this to your account. This project will have a set of logs associated with it. diff --git a/python/functions/logging/utils/projects/delete_project.mdx b/python/functions/logging/utils/projects/delete_project.mdx index b84a2b78c..b514d20bf 100644 --- a/python/functions/logging/utils/projects/delete_project.mdx +++ b/python/functions/logging/utils/projects/delete_project.mdx @@ -10,7 +10,7 @@ def delete_project( ) -> str: ``` -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/utils/projects.py#L80)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/utils/projects.py#L80)

Deletes a project from your account. diff --git a/python/functions/logging/utils/projects/list_projects.mdx b/python/functions/logging/utils/projects/list_projects.mdx index 22ce0a70c..d4ec1fd7b 100644 --- a/python/functions/logging/utils/projects/list_projects.mdx +++ b/python/functions/logging/utils/projects/list_projects.mdx @@ -9,7 +9,7 @@ def list_projects( ) -> List[str]: ``` -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/utils/projects.py#L108)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/utils/projects.py#L108)

Returns the names of all projects stored in your account. diff --git a/python/functions/logging/utils/projects/rename_project.mdx b/python/functions/logging/utils/projects/rename_project.mdx index 5adc82a4d..e25c2205b 100644 --- a/python/functions/logging/utils/projects/rename_project.mdx +++ b/python/functions/logging/utils/projects/rename_project.mdx @@ -11,7 +11,7 @@ def rename_project( ) -> Dict[str, str]: ``` -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/logging/utils/projects.py#L48)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/logging/utils/projects.py#L48)

Renames a project from `name` to `new_name` in your account. diff --git a/python/functions/universal_api/casting/cast.mdx b/python/functions/universal_api/casting/cast.mdx index e85404095..374c28b67 100644 --- a/python/functions/universal_api/casting/cast.mdx +++ b/python/functions/universal_api/casting/cast.mdx @@ -12,7 +12,7 @@ def cast( ) -> Union[str, bool, float, Prompt, ChatCompletion]: ``` -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/casting.py#L79)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/casting.py#L79)

Cast the input to the specified type. diff --git a/python/functions/universal_api/casting/try_cast.mdx b/python/functions/universal_api/casting/try_cast.mdx index 6fc5005ae..ecaa1cc6c 100644 --- a/python/functions/universal_api/casting/try_cast.mdx +++ b/python/functions/universal_api/casting/try_cast.mdx @@ -12,5 +12,5 @@ def try_cast( ) -> Union[str, bool, float, Prompt, ChatCompletion]: ``` -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/casting.py#L105)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/casting.py#L105)

diff --git a/python/functions/universal_api/usage/with_logging.mdx b/python/functions/universal_api/usage/with_logging.mdx index f6304f5c6..91497f320 100644 --- a/python/functions/universal_api/usage/with_logging.mdx +++ b/python/functions/universal_api/usage/with_logging.mdx @@ -15,7 +15,7 @@ def with_logging( ): ``` -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/usage.py#L9)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/usage.py#L9)

Wrap a local model callable with logging of the queries. diff --git a/python/functions/universal_api/utils/credits/get_credits.mdx b/python/functions/universal_api/utils/credits/get_credits.mdx index a81d71db0..e86e29132 100644 --- a/python/functions/universal_api/utils/credits/get_credits.mdx +++ b/python/functions/universal_api/utils/credits/get_credits.mdx @@ -6,7 +6,7 @@ title: 'get_credits' def get_credits(*, api_key: Optional[str] = None) -> float: ``` -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/utils/credits.py#L9)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/utils/credits.py#L9)

Returns the credits remaining in the user account, in USD. diff --git a/python/functions/universal_api/utils/custom_api_keys/create_custom_api_key.mdx b/python/functions/universal_api/utils/custom_api_keys/create_custom_api_key.mdx index 5124fa2ae..475b0fe1d 100644 --- a/python/functions/universal_api/utils/custom_api_keys/create_custom_api_key.mdx +++ b/python/functions/universal_api/utils/custom_api_keys/create_custom_api_key.mdx @@ -11,7 +11,7 @@ def create_custom_api_key( ) -> Dict[str, str]: ``` -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/utils/custom_api_keys.py#L9)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/utils/custom_api_keys.py#L9)

Create a custom API key. diff --git a/python/functions/universal_api/utils/custom_api_keys/delete_custom_api_key.mdx b/python/functions/universal_api/utils/custom_api_keys/delete_custom_api_key.mdx index f0932c8d3..53e3ede94 100644 --- a/python/functions/universal_api/utils/custom_api_keys/delete_custom_api_key.mdx +++ b/python/functions/universal_api/utils/custom_api_keys/delete_custom_api_key.mdx @@ -10,7 +10,7 @@ def delete_custom_api_key( ) -> Dict[str, str]: ``` -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/utils/custom_api_keys.py#L78)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/utils/custom_api_keys.py#L78)

Delete a custom API key. diff --git a/python/functions/universal_api/utils/custom_api_keys/get_custom_api_key.mdx b/python/functions/universal_api/utils/custom_api_keys/get_custom_api_key.mdx index 8da3b7f3b..5ed51beae 100644 --- a/python/functions/universal_api/utils/custom_api_keys/get_custom_api_key.mdx +++ b/python/functions/universal_api/utils/custom_api_keys/get_custom_api_key.mdx @@ -10,7 +10,7 @@ def get_custom_api_key( ) -> Dict[str, Any]: ``` -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/utils/custom_api_keys.py#L44)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/utils/custom_api_keys.py#L44)

Get the value of a custom API key. diff --git a/python/functions/universal_api/utils/custom_api_keys/list_custom_api_keys.mdx b/python/functions/universal_api/utils/custom_api_keys/list_custom_api_keys.mdx index 2e9e623ef..e41856495 100644 --- a/python/functions/universal_api/utils/custom_api_keys/list_custom_api_keys.mdx +++ b/python/functions/universal_api/utils/custom_api_keys/list_custom_api_keys.mdx @@ -9,7 +9,7 @@ def list_custom_api_keys( ) -> List[Dict[str, str]]: ``` -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/utils/custom_api_keys.py#L156)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/utils/custom_api_keys.py#L156)

Get a list of custom API keys associated with the user's account. diff --git a/python/functions/universal_api/utils/custom_api_keys/rename_custom_api_key.mdx b/python/functions/universal_api/utils/custom_api_keys/rename_custom_api_key.mdx index 49d81282c..49f2e4a15 100644 --- a/python/functions/universal_api/utils/custom_api_keys/rename_custom_api_key.mdx +++ b/python/functions/universal_api/utils/custom_api_keys/rename_custom_api_key.mdx @@ -11,7 +11,7 @@ def rename_custom_api_key( ) -> Dict[str, Any]: ``` -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/utils/custom_api_keys.py#L118)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/utils/custom_api_keys.py#L118)

Rename a custom API key. diff --git a/python/functions/universal_api/utils/custom_endpoints/create_custom_endpoint.mdx b/python/functions/universal_api/utils/custom_endpoints/create_custom_endpoint.mdx index 2f4c55815..0893f3569 100644 --- a/python/functions/universal_api/utils/custom_endpoints/create_custom_endpoint.mdx +++ b/python/functions/universal_api/utils/custom_endpoints/create_custom_endpoint.mdx @@ -14,7 +14,7 @@ def create_custom_endpoint( ) -> Dict[str, Any]: ``` -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/utils/custom_endpoints.py#L9)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/utils/custom_endpoints.py#L9)

Create a custom endpoint for API calls. diff --git a/python/functions/universal_api/utils/custom_endpoints/delete_custom_endpoint.mdx b/python/functions/universal_api/utils/custom_endpoints/delete_custom_endpoint.mdx index 18052076e..061c1e524 100644 --- a/python/functions/universal_api/utils/custom_endpoints/delete_custom_endpoint.mdx +++ b/python/functions/universal_api/utils/custom_endpoints/delete_custom_endpoint.mdx @@ -10,7 +10,7 @@ def delete_custom_endpoint( ) -> Dict[str, str]: ``` -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/utils/custom_endpoints.py#L65)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/utils/custom_endpoints.py#L65)

Delete a custom endpoint. diff --git a/python/functions/universal_api/utils/custom_endpoints/list_custom_endpoints.mdx b/python/functions/universal_api/utils/custom_endpoints/list_custom_endpoints.mdx index 55bc5b503..155609a24 100644 --- a/python/functions/universal_api/utils/custom_endpoints/list_custom_endpoints.mdx +++ b/python/functions/universal_api/utils/custom_endpoints/list_custom_endpoints.mdx @@ -9,7 +9,7 @@ def list_custom_endpoints( ) -> List[Dict[str, str]]: ``` -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/utils/custom_endpoints.py#L137)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/utils/custom_endpoints.py#L137)

Get a list of custom endpoints for the authenticated user. diff --git a/python/functions/universal_api/utils/custom_endpoints/rename_custom_endpoint.mdx b/python/functions/universal_api/utils/custom_endpoints/rename_custom_endpoint.mdx index 5ce0e647b..f120ad1b9 100644 --- a/python/functions/universal_api/utils/custom_endpoints/rename_custom_endpoint.mdx +++ b/python/functions/universal_api/utils/custom_endpoints/rename_custom_endpoint.mdx @@ -11,7 +11,7 @@ def rename_custom_endpoint( ) -> Dict[str, Any]: ``` -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/utils/custom_endpoints.py#L100)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/utils/custom_endpoints.py#L100)

Rename a custom endpoint. diff --git a/python/functions/universal_api/utils/endpoint_metrics/delete_endpoint_metrics.mdx b/python/functions/universal_api/utils/endpoint_metrics/delete_endpoint_metrics.mdx index 9d7989b44..63ab2008c 100644 --- a/python/functions/universal_api/utils/endpoint_metrics/delete_endpoint_metrics.mdx +++ b/python/functions/universal_api/utils/endpoint_metrics/delete_endpoint_metrics.mdx @@ -11,5 +11,5 @@ def delete_endpoint_metrics( ) -> Dict[str, str]: ``` -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/utils/endpoint_metrics.py#L121)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/utils/endpoint_metrics.py#L121)

diff --git a/python/functions/universal_api/utils/endpoint_metrics/get_endpoint_metrics.mdx b/python/functions/universal_api/utils/endpoint_metrics/get_endpoint_metrics.mdx index 54f1bbe4e..08e98d809 100644 --- a/python/functions/universal_api/utils/endpoint_metrics/get_endpoint_metrics.mdx +++ b/python/functions/universal_api/utils/endpoint_metrics/get_endpoint_metrics.mdx @@ -12,7 +12,7 @@ def get_endpoint_metrics( ) -> List[Metrics]: ``` -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/utils/endpoint_metrics.py#L19)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/utils/endpoint_metrics.py#L19)

Retrieve the set of cost and speed metrics for the specified endpoint. diff --git a/python/functions/universal_api/utils/endpoint_metrics/log_endpoint_metric.mdx b/python/functions/universal_api/utils/endpoint_metrics/log_endpoint_metric.mdx index 3d170d2a6..0c529734b 100644 --- a/python/functions/universal_api/utils/endpoint_metrics/log_endpoint_metric.mdx +++ b/python/functions/universal_api/utils/endpoint_metrics/log_endpoint_metric.mdx @@ -13,7 +13,7 @@ def log_endpoint_metric( ) -> Dict[str, str]: ``` -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/utils/endpoint_metrics.py#L74)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/utils/endpoint_metrics.py#L74)

Append speed or cost data to the standardized time-series benchmarks for a custom endpoint (only custom endpoints are publishable by end users). diff --git a/python/functions/universal_api/utils/queries/get_queries.mdx b/python/functions/universal_api/utils/queries/get_queries.mdx index 4bc54f1c1..6f034d446 100644 --- a/python/functions/universal_api/utils/queries/get_queries.mdx +++ b/python/functions/universal_api/utils/queries/get_queries.mdx @@ -15,7 +15,7 @@ def get_queries( ) -> Dict[str, Any]: ``` -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/utils/queries.py#L37)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/utils/queries.py#L37)

Get query history based on specified filters. diff --git a/python/functions/universal_api/utils/queries/get_query_metrics.mdx b/python/functions/universal_api/utils/queries/get_query_metrics.mdx index 4b2e18766..d77b601c4 100644 --- a/python/functions/universal_api/utils/queries/get_query_metrics.mdx +++ b/python/functions/universal_api/utils/queries/get_query_metrics.mdx @@ -15,7 +15,7 @@ def get_query_metrics( ) -> Dict[str, Any]: ``` -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/utils/queries.py#L156)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/utils/queries.py#L156)

Get query metrics for specified parameters. diff --git a/python/functions/universal_api/utils/queries/get_query_tags.mdx b/python/functions/universal_api/utils/queries/get_query_tags.mdx index 15f93f0b1..3602a4904 100644 --- a/python/functions/universal_api/utils/queries/get_query_tags.mdx +++ b/python/functions/universal_api/utils/queries/get_query_tags.mdx @@ -9,7 +9,7 @@ def get_query_tags( ) -> List[str]: ``` -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/utils/queries.py#L10)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/utils/queries.py#L10)

Get a list of available query tags. diff --git a/python/functions/universal_api/utils/queries/log_query.mdx b/python/functions/universal_api/utils/queries/log_query.mdx index 02790887d..6d68038ad 100644 --- a/python/functions/universal_api/utils/queries/log_query.mdx +++ b/python/functions/universal_api/utils/queries/log_query.mdx @@ -14,7 +14,7 @@ def log_query( ): ``` -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/utils/queries.py#L102)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/utils/queries.py#L102)

Log a query (and optionally response) for a locally deployed (non-Unify-registered) model, with tagging (default None) and timestamp (default datetime.now() also diff --git a/python/functions/universal_api/utils/supported_endpoints/list_endpoints.mdx b/python/functions/universal_api/utils/supported_endpoints/list_endpoints.mdx index ad903047b..d3d8791c3 100644 --- a/python/functions/universal_api/utils/supported_endpoints/list_endpoints.mdx +++ b/python/functions/universal_api/utils/supported_endpoints/list_endpoints.mdx @@ -11,7 +11,7 @@ def list_endpoints( ) -> List[str]: ``` -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/utils/supported_endpoints.py#L80)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/utils/supported_endpoints.py#L80)

Get a list of available endpoint, either in total or for a specific model or provider. diff --git a/python/functions/universal_api/utils/supported_endpoints/list_models.mdx b/python/functions/universal_api/utils/supported_endpoints/list_models.mdx index fa67836a8..bd754a984 100644 --- a/python/functions/universal_api/utils/supported_endpoints/list_models.mdx +++ b/python/functions/universal_api/utils/supported_endpoints/list_models.mdx @@ -10,7 +10,7 @@ def list_models( ) -> List[str]: ``` -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/utils/supported_endpoints.py#L45)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/utils/supported_endpoints.py#L45)

Get a list of available models, either in total or for a specific provider. diff --git a/python/functions/universal_api/utils/supported_endpoints/list_providers.mdx b/python/functions/universal_api/utils/supported_endpoints/list_providers.mdx index 52d016291..990bbc5cf 100644 --- a/python/functions/universal_api/utils/supported_endpoints/list_providers.mdx +++ b/python/functions/universal_api/utils/supported_endpoints/list_providers.mdx @@ -10,7 +10,7 @@ def list_providers( ) -> List[str]: ``` -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/universal_api/utils/supported_endpoints.py#L9)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/universal_api/utils/supported_endpoints.py#L9)

Get a list of available providers, either in total or for a specific model. diff --git a/python/functions/utils/map/map.mdx b/python/functions/utils/map/map.mdx index 6f672d060..bb31c5998 100644 --- a/python/functions/utils/map/map.mdx +++ b/python/functions/utils/map/map.mdx @@ -13,5 +13,5 @@ def map( ) -> Any: ``` -

[source code](https://github.com/unifyai/unify/tree/09eed19cb2f7345e846baeb4ba46bfa082a39a97/unify/utils/map.py#L18)

+

[source code](https://github.com/unifyai/unify/tree/af419f366ac1aad32f7ebba036baa1e4b6a82017/unify/utils/map.py#L18)