From 4acd4f3f1cca339f434f2d5730c0ce2b5570423b Mon Sep 17 00:00:00 2001 From: unify-dev-bot Date: Wed, 22 Jan 2025 12:24:48 +0000 Subject: [PATCH] updated docs --- .../llm_queries/chat_completions.mdx | 6 +- api-reference/openapi.json | 4 +- python/classes/interfaces/dataset/Dataset.mdx | 46 ++--- python/classes/interfaces/logs/Context.mdx | 8 +- python/classes/interfaces/logs/Entries.mdx | 8 +- python/classes/interfaces/logs/Experiment.mdx | 8 +- python/classes/interfaces/logs/Log.mdx | 40 ++--- python/classes/interfaces/logs/Params.mdx | 8 +- .../classes/universal_api/chatbot/ChatBot.mdx | 12 +- .../clients/multi_llm/AsyncMultiUnify.mdx | 160 ++++++++--------- .../clients/multi_llm/MultiUnify.mdx | 160 ++++++++--------- .../clients/uni_llm/AsyncUnify.mdx | 164 +++++++++--------- .../universal_api/clients/uni_llm/Unify.mdx | 164 +++++++++--------- .../universal_api/types/prompt/Prompt.mdx | 4 +- .../utils/endpoint_metrics/Metrics.mdx | 8 +- python/functions/interfaces/logs/traced.mdx | 2 +- .../utils/artifacts/add_project_artifacts.mdx | 2 +- .../artifacts/delete_project_artifact.mdx | 2 +- .../utils/artifacts/get_project_artifacts.mdx | 2 +- .../utils/compositions/add_params.mdx | 2 +- .../compositions/delete_logs_by_value.mdx | 2 +- .../utils/compositions/get_log_by_value.mdx | 2 +- .../utils/compositions/get_logs_by_id.mdx | 2 +- .../utils/compositions/get_logs_by_value.mdx | 2 +- .../compositions/get_logs_with_fields.mdx | 2 +- .../compositions/get_logs_without_fields.mdx | 2 +- .../utils/compositions/get_params.mdx | 2 +- .../utils/compositions/get_source.mdx | 2 +- .../utils/compositions/group_logs.mdx | 2 +- .../compositions/group_logs_by_configs.mdx | 2 +- .../utils/compositions/rename_log_entries.mdx | 2 +- .../utils/compositions/rename_log_params.mdx | 2 +- .../compositions/replace_log_entries.mdx | 2 +- .../utils/compositions/replace_log_params.mdx | 2 +- .../utils/compositions/update_log_entries.mdx | 2 +- .../utils/compositions/update_log_params.mdx | 2 +- .../utils/datasets/add_dataset_entries.mdx | 2 +- .../datasets/create_dataset_artifacts.mdx | 2 +- .../utils/datasets/delete_dataset.mdx | 2 +- .../datasets/delete_dataset_artifact.mdx | 2 +- .../utils/datasets/delete_dataset_entry.mdx | 2 +- .../utils/datasets/download_dataset.mdx | 2 +- .../datasets/download_dataset_artifacts.mdx | 2 +- .../utils/datasets/get_dataset_entry.mdx | 2 +- .../utils/datasets/list_datasets.mdx | 2 +- .../utils/datasets/rename_dataset.mdx | 2 +- .../utils/datasets/upload_dataset.mdx | 2 +- .../interfaces/utils/logs/add_log_entries.mdx | 2 +- .../interfaces/utils/logs/add_log_params.mdx | 2 +- .../utils/logs/delete_log_fields.mdx | 2 +- .../interfaces/utils/logs/delete_logs.mdx | 2 +- .../interfaces/utils/logs/get_groups.mdx | 2 +- .../interfaces/utils/logs/get_log_by_id.mdx | 2 +- .../interfaces/utils/logs/get_logs.mdx | 2 +- .../interfaces/utils/logs/get_logs_metric.mdx | 2 +- .../functions/interfaces/utils/logs/log.mdx | 2 +- .../utils/projects/create_project.mdx | 2 +- .../utils/projects/delete_project.mdx | 2 +- .../utils/projects/list_projects.mdx | 2 +- .../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 +- 84 files changed, 469 insertions(+), 469 deletions(-) diff --git a/api-reference/llm_queries/chat_completions.mdx b/api-reference/llm_queries/chat_completions.mdx index ffe10fc39..81aa044ae 100644 --- a/api-reference/llm_queries/chat_completions.mdx +++ b/api-reference/llm_queries/chat_completions.mdx @@ -194,8 +194,8 @@ curl --request POST \ "response_format": "{ \"type\": \"json_mode\"}", "seed": 11, "stream_options": [ - true, - "include_usage" + "include_usage", + true ], "top_p": 0.5, "tool_choice": "{\"type\": \"function\", \"function\": {\"name\": \"my_function\"}}", @@ -218,7 +218,7 @@ url = "https://api.unify.ai/v0/chat/completions" headers = {"Authorization": "Bearer "} -json_input = {"messages": [{"content": "Tell me a joke", "role": "user"}], "model": "gpt-4o-mini@openai", "max_tokens": 1024, "stop": ["The End.", " is the answer."], "stream": False, "temperature": 0.9, "frequency_penalty": 1.5, "logit_bias": {"0": 10, "1": -75, "2": 90}, "logprobs": False, "top_logprobs": 15, "n": 15, "presence_penalty": -1.1, "response_format": "{ "type": "json_mode"}", "seed": 11, "stream_options": [True, "include_usage"], "top_p": 0.5, "tool_choice": "{"type": "function", "function": {"name": "my_function"}}", "parallel_tool_calls": True, "user": "some_user", "signature": "python", "use_custom_keys": True, "tags": ["user123", "CompanyABC"], "drop_params": True} +json_input = {"messages": [{"content": "Tell me a joke", "role": "user"}], "model": "gpt-4o-mini@openai", "max_tokens": 1024, "stop": ["The End.", " is the answer."], "stream": False, "temperature": 0.9, "frequency_penalty": 1.5, "logit_bias": {"0": 10, "1": -75, "2": 90}, "logprobs": False, "top_logprobs": 15, "n": 15, "presence_penalty": -1.1, "response_format": "{ "type": "json_mode"}", "seed": 11, "stream_options": ["include_usage", True], "top_p": 0.5, "tool_choice": "{"type": "function", "function": {"name": "my_function"}}", "parallel_tool_calls": True, "user": "some_user", "signature": "python", "use_custom_keys": True, "tags": ["user123", "CompanyABC"], "drop_params": True} response = requests.request("POST", url, json=json_input, headers=headers) diff --git a/api-reference/openapi.json b/api-reference/openapi.json index 661a9c4cf..bf7d7e2bc 100644 --- a/api-reference/openapi.json +++ b/api-reference/openapi.json @@ -4768,8 +4768,8 @@ "title": "Stream Options", "description": "Options for streaming response. Only set this when you set `stream: true`.", "example": [ - true, - "include_usage" + "include_usage", + true ] }, "top_p": { diff --git a/python/classes/interfaces/dataset/Dataset.mdx b/python/classes/interfaces/dataset/Dataset.mdx index 7c5e69cf5..e2c419864 100644 --- a/python/classes/interfaces/dataset/Dataset.mdx +++ b/python/classes/interfaces/dataset/Dataset.mdx @@ -6,13 +6,13 @@ title: 'Dataset' class Dataset ``` -

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/dataset.py#L14)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/dataset.py#L14)

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

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/dataset.py#L16)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/dataset.py#L16)

```python def __init__( @@ -48,7 +48,7 @@ Initialize a local dataset. ### name -

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/dataset.py#L63)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/dataset.py#L63)

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

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/dataset.py#L80)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/dataset.py#L80)

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

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/dataset.py#L253)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/dataset.py#L253)

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

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/dataset.py#L177)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/dataset.py#L177)

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

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

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/dataset.py#L93)

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

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/dataset.py#L302)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/dataset.py#L302)

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

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/dataset.py#L331)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/dataset.py#L331)

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

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/dataset.py#L280)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/dataset.py#L280)

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

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/dataset.py#L213)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/dataset.py#L213)

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

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/dataset.py#L132)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/dataset.py#L132)

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

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/dataset.py#L225)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/dataset.py#L225)

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

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/dataset.py#L355)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/dataset.py#L355)

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

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/dataset.py#L476)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/dataset.py#L476)

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

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/dataset.py#L506)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/dataset.py#L506)

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

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/dataset.py#L399)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/dataset.py#L399)

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

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/dataset.py#L450)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/dataset.py#L450)

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

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/dataset.py#L466)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/dataset.py#L466)

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

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/dataset.py#L497)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/dataset.py#L497)

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

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/dataset.py#L372)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/dataset.py#L372)

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

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/dataset.py#L432)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/dataset.py#L432)

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

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/dataset.py#L415)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/dataset.py#L415)

```python def __sub__( diff --git a/python/classes/interfaces/logs/Context.mdx b/python/classes/interfaces/logs/Context.mdx index 45a25e682..fa1ee2630 100644 --- a/python/classes/interfaces/logs/Context.mdx +++ b/python/classes/interfaces/logs/Context.mdx @@ -6,13 +6,13 @@ title: 'Context' class Context ``` -

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/logs.py#L139)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/logs.py#L139)

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

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

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/logs.py#L141)

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

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/logs.py#L144)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/logs.py#L144)

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

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/logs.py#L149)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/logs.py#L149)

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

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/logs.py#L153)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/logs.py#L153)

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

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/logs.py#L155)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/logs.py#L155)

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

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/logs.py#L158)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/logs.py#L158)

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

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/logs.py#L166)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/logs.py#L166)

```python def __exit__(self, *args, **kwargs): diff --git a/python/classes/interfaces/logs/Experiment.mdx b/python/classes/interfaces/logs/Experiment.mdx index 1ef3715b3..054eaf600 100644 --- a/python/classes/interfaces/logs/Experiment.mdx +++ b/python/classes/interfaces/logs/Experiment.mdx @@ -6,13 +6,13 @@ title: 'Experiment' class Experiment ``` -

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/logs.py#L193)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/logs.py#L193)

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

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/logs.py#L195)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/logs.py#L195)

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

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

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/logs.py#L198)

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

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/logs.py#L206)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/logs.py#L206)

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

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/logs.py#L18)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/logs.py#L18)

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

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

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/logs.py#L20)

```python def __init__( @@ -35,7 +35,7 @@ def __init__( ### entries -

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/logs.py#L47)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/logs.py#L47)

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

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/logs.py#L39)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/logs.py#L39)

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

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/logs.py#L51)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/logs.py#L51)

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

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/logs.py#L43)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/logs.py#L43)

```python def ts(self) -> Optional[datetime]: @@ -85,7 +85,7 @@ def ts(self) -> Optional[datetime]: ### add\_entries -

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

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/logs.py#L73)

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

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/logs.py#L101)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/logs.py#L101)

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

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/logs.py#L93)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/logs.py#L93)

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

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/logs.py#L70)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/logs.py#L70)

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

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/logs.py#L113)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/logs.py#L113)

```python def from_json(state): @@ -148,7 +148,7 @@ def from_json(state): ### rename\_entries -

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/logs.py#L87)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/logs.py#L87)

```python def rename_entries(self, **entries) -> None: @@ -160,7 +160,7 @@ def rename_entries(self, **entries) -> None: ### replace\_entries -

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/logs.py#L77)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/logs.py#L77)

```python def replace_entries(self, **entries) -> None: @@ -172,7 +172,7 @@ def replace_entries(self, **entries) -> None: ### to\_json -

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/logs.py#L104)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/logs.py#L104)

```python def to_json(self): @@ -184,7 +184,7 @@ def to_json(self): ### update\_entries -

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/logs.py#L81)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/logs.py#L81)

```python def update_entries(self, fn, **entries) -> None: @@ -198,7 +198,7 @@ def update_entries(self, fn, **entries) -> None: ### \_\_enter\_\_ -

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/logs.py#L122)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/logs.py#L122)

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

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/logs.py#L57)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/logs.py#L57)

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

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/logs.py#L134)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/logs.py#L134)

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

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/logs.py#L62)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/logs.py#L62)

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

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/logs.py#L65)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/logs.py#L65)

```python def __repr__(self) -> str: diff --git a/python/classes/interfaces/logs/Params.mdx b/python/classes/interfaces/logs/Params.mdx index d6569a009..371742e98 100644 --- a/python/classes/interfaces/logs/Params.mdx +++ b/python/classes/interfaces/logs/Params.mdx @@ -6,13 +6,13 @@ title: 'Params' class Params ``` -

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/logs.py#L173)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/logs.py#L173)

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

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/logs.py#L175)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/logs.py#L175)

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

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/logs.py#L178)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/logs.py#L178)

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

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/logs.py#L186)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/logs.py#L186)

```python def __exit__(self, *args, **kwargs): diff --git a/python/classes/universal_api/chatbot/ChatBot.mdx b/python/classes/universal_api/chatbot/ChatBot.mdx index eba20f4e0..a86bfce28 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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/chatbot.py#L9)

+

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

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

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

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/chatbot.py#L30)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/chatbot.py#L40)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/chatbot.py#L95)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/chatbot.py#L157)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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 70d2b2dd2..3c600b6bf 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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/multi_llm.py#L906)

+

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

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

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

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L436)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/multi_llm.py#L446)

+

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

```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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L366)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/multi_llm.py#L436)

+

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

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

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

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L446)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L456)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L176)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/multi_llm.py#L417)

+

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

```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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/multi_llm.py#L429)

+

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

```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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L386)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L396)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L186)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L196)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L216)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L159)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L226)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/multi_llm.py#L421)

+

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

```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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L336)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L236)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L376)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L246)

+

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

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

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

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L256)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L406)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L266)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L276)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L286)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L149)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L356)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L296)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L326)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L316)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L206)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L306)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L426)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/multi_llm.py#L425)

+

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

```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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L346)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L892)

+

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

```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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L800)

+

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

```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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L931)

+

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

```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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L905)

+

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

```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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L918)

+

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

```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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L553)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L826)

+

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

```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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L839)

+

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

```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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L566)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L579)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L605)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L511)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L618)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L761)

+

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

```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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L631)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L813)

+

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

```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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L644)

+

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

```python def set_response_format(self, value: BaseModel) -> Self: @@ -1091,7 +1091,7 @@ This client, useful for chaining inplace calls. ### set\_return\_full\_completion -

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

```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 0d7858400..051bc0e05 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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/multi_llm.py#L746)

+

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

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

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

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L436)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/multi_llm.py#L446)

+

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

```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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L366)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/multi_llm.py#L436)

+

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

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

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

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L446)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L456)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L176)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/multi_llm.py#L417)

+

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

```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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/multi_llm.py#L429)

+

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

```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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L386)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L396)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L186)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L196)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L216)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L159)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L226)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/multi_llm.py#L421)

+

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

```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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L336)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L236)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L376)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L246)

+

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

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

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

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L256)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L406)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L266)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L276)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L286)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L149)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L356)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L296)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L326)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L316)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L206)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L306)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L426)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/multi_llm.py#L425)

+

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

```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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L346)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L892)

+

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

```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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L800)

+

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

```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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L931)

+

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

```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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L905)

+

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

```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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L918)

+

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

```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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L553)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L826)

+

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

```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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L839)

+

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

```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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L566)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L579)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L605)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L511)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L618)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L761)

+

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

```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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L631)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L813)

+

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

```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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L644)

+

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

```python def set_response_format(self, value: BaseModel) -> Self: @@ -1091,7 +1091,7 @@ This client, useful for chaining inplace calls. ### set\_return\_full\_completion -

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

```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 e01410ed3..5a0d8e924 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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/uni_llm.py#L997)

+

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

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

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

+

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

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

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

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L366)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/uni_llm.py#L320)

+

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

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

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

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L446)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L456)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L176)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/uni_llm.py#L301)

+

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

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

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

+

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

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

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

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L396)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L186)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L196)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L216)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L159)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/uni_llm.py#L330)

+

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

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

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

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/uni_llm.py#L305)

+

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

```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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L336)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L236)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/uni_llm.py#L340)

+

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

```python def provider(self) -> str: @@ -445,7 +445,7 @@ The provider name. ### region -

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

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L246)

+

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

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

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

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L256)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L406)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L266)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L276)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L286)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L149)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L356)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L296)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L326)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L316)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L206)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L306)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L426)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/uni_llm.py#L309)

+

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

```python def ttft(self) -> float: @@ -713,7 +713,7 @@ def ttft(self) -> float: ### use\_custom\_keys -

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

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L892)

+

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

```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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L800)

+

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

```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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/uni_llm.py#L353)

+

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

```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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L931)

+

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

```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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L905)

+

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

```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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L918)

+

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

```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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L553)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L826)

+

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

```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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L839)

+

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

```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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L566)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L579)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L605)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L511)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/uni_llm.py#L373)

+

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

```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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L618)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L761)

+

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

```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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L631)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/uni_llm.py#L393)

+

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

```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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L813)

+

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

```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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L644)

+

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

```python def set_response_format(self, value: BaseModel) -> Self: @@ -1177,7 +1177,7 @@ This client, useful for chaining inplace calls. ### set\_return\_full\_completion -

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

```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 2a2ed5b61..6638446b3 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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/uni_llm.py#L738)

+

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

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

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

+

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

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

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

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L366)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/uni_llm.py#L320)

+

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

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

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

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L446)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L456)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L176)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/uni_llm.py#L301)

+

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

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

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

+

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

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

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

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L396)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L186)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L196)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L216)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L159)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/uni_llm.py#L330)

+

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

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

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

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/uni_llm.py#L305)

+

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

```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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L336)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L236)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/uni_llm.py#L340)

+

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

```python def provider(self) -> str: @@ -445,7 +445,7 @@ The provider name. ### region -

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

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L246)

+

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

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

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

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L256)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L406)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L266)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L276)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L286)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L149)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L356)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L296)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L326)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L316)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L206)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L306)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L426)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/uni_llm.py#L309)

+

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

```python def ttft(self) -> float: @@ -713,7 +713,7 @@ def ttft(self) -> float: ### use\_custom\_keys -

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

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L892)

+

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

```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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L800)

+

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

```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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/uni_llm.py#L353)

+

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

```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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L931)

+

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

```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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L905)

+

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

```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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L918)

+

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

```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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L553)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L826)

+

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

```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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L839)

+

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

```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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L566)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L579)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L605)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L511)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/uni_llm.py#L373)

+

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

```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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L618)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L761)

+

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

```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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L631)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/uni_llm.py#L393)

+

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

```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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L813)

+

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

```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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/clients/base.py#L644)

+

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

```python def set_response_format(self, value: BaseModel) -> Self: @@ -1177,7 +1177,7 @@ This client, useful for chaining inplace calls. ### set\_return\_full\_completion -

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

```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 f0350351d..e0697a25d 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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/types/prompt.py#L4)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/universal_api/types/prompt.py#L4)

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

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/types/prompt.py#L6)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/universal_api/types/prompt.py#L6)

```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 6037a0de5..d71a48590 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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/utils/endpoint_metrics.py#L11)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/universal_api/utils/endpoint_metrics.py#L11)

@@ -16,7 +16,7 @@ class Metrics ### \_\_fields\_set\_\_ -

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/pydantic/main.py#L1142)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/pydantic/main.py#L260)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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/edd6a8664e1bdfade4f63f66561df418306e80c4/pydantic/main.py#L269)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/pydantic/main.py#L269)

```python def model_fields_set(self) -> set[str]: diff --git a/python/functions/interfaces/logs/traced.mdx b/python/functions/interfaces/logs/traced.mdx index 70aa986d5..b04bfa854 100644 --- a/python/functions/interfaces/logs/traced.mdx +++ b/python/functions/interfaces/logs/traced.mdx @@ -12,5 +12,5 @@ def traced( ): ``` -

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/logs.py#L217)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/logs.py#L217)

diff --git a/python/functions/interfaces/utils/artifacts/add_project_artifacts.mdx b/python/functions/interfaces/utils/artifacts/add_project_artifacts.mdx index 9479f47c6..d57734a54 100644 --- a/python/functions/interfaces/utils/artifacts/add_project_artifacts.mdx +++ b/python/functions/interfaces/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/utils/artifacts.py#L12)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/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/interfaces/utils/artifacts/delete_project_artifact.mdx b/python/functions/interfaces/utils/artifacts/delete_project_artifact.mdx index 9e257f80b..b5bd7f099 100644 --- a/python/functions/interfaces/utils/artifacts/delete_project_artifact.mdx +++ b/python/functions/interfaces/utils/artifacts/delete_project_artifact.mdx @@ -11,7 +11,7 @@ def delete_project_artifact( ) -> str: ``` -

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/utils/artifacts.py#L50)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/utils/artifacts.py#L50)

Deletes an artifact from a project. diff --git a/python/functions/interfaces/utils/artifacts/get_project_artifacts.mdx b/python/functions/interfaces/utils/artifacts/get_project_artifacts.mdx index 912a1f728..f839513f1 100644 --- a/python/functions/interfaces/utils/artifacts/get_project_artifacts.mdx +++ b/python/functions/interfaces/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/utils/artifacts.py#L84)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/utils/artifacts.py#L84)

Returns the key-value pairs for all artifacts in a project. diff --git a/python/functions/interfaces/utils/compositions/add_params.mdx b/python/functions/interfaces/utils/compositions/add_params.mdx index 79e6d7c3e..0bd5fb12e 100644 --- a/python/functions/interfaces/utils/compositions/add_params.mdx +++ b/python/functions/interfaces/utils/compositions/add_params.mdx @@ -11,7 +11,7 @@ def add_params( ) -> Dict[str, str]: ``` -

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/utils/compositions.py#L185)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/utils/compositions.py#L185)

Adds new parameters to the logs (defaults to all logs). diff --git a/python/functions/interfaces/utils/compositions/delete_logs_by_value.mdx b/python/functions/interfaces/utils/compositions/delete_logs_by_value.mdx index 8140586dd..73028c593 100644 --- a/python/functions/interfaces/utils/compositions/delete_logs_by_value.mdx +++ b/python/functions/interfaces/utils/compositions/delete_logs_by_value.mdx @@ -11,7 +11,7 @@ def delete_logs_by_value( ): ``` -

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/utils/compositions.py#L340)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/utils/compositions.py#L340)

Delete logs by value within a project. diff --git a/python/functions/interfaces/utils/compositions/get_log_by_value.mdx b/python/functions/interfaces/utils/compositions/get_log_by_value.mdx index 039ac5021..25f9edc5b 100644 --- a/python/functions/interfaces/utils/compositions/get_log_by_value.mdx +++ b/python/functions/interfaces/utils/compositions/get_log_by_value.mdx @@ -11,7 +11,7 @@ def get_log_by_value( ) -> Optional[unify.Log]: ``` -

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/utils/compositions.py#L480)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/utils/compositions.py#L480)

Returns the log with the data matching exactly if it exists, otherwise returns None. diff --git a/python/functions/interfaces/utils/compositions/get_logs_by_id.mdx b/python/functions/interfaces/utils/compositions/get_logs_by_id.mdx index 524e3b550..6fb590a84 100644 --- a/python/functions/interfaces/utils/compositions/get_logs_by_id.mdx +++ b/python/functions/interfaces/utils/compositions/get_logs_by_id.mdx @@ -10,7 +10,7 @@ def get_logs_by_id( ) -> List[unify.Log]: ``` -

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/utils/compositions.py#L428)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/utils/compositions.py#L428)

Returns the logs associated with a given ids. diff --git a/python/functions/interfaces/utils/compositions/get_logs_by_value.mdx b/python/functions/interfaces/utils/compositions/get_logs_by_value.mdx index 4ca5830cb..756caaa7b 100644 --- a/python/functions/interfaces/utils/compositions/get_logs_by_value.mdx +++ b/python/functions/interfaces/utils/compositions/get_logs_by_value.mdx @@ -11,7 +11,7 @@ def get_logs_by_value( ) -> List[unify.Log]: ``` -

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/utils/compositions.py#L450)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/utils/compositions.py#L450)

Returns the logs with the data matching exactly if it exists, otherwise returns None. diff --git a/python/functions/interfaces/utils/compositions/get_logs_with_fields.mdx b/python/functions/interfaces/utils/compositions/get_logs_with_fields.mdx index a15b73df0..dce45d307 100644 --- a/python/functions/interfaces/utils/compositions/get_logs_with_fields.mdx +++ b/python/functions/interfaces/utils/compositions/get_logs_with_fields.mdx @@ -11,7 +11,7 @@ def get_logs_with_fields( ) -> List[unify.Log]: ``` -

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/utils/compositions.py#L367)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/utils/compositions.py#L367)

Returns a list of logs which contain the specified fields, either the logs which contain all of them ("all") or the logs which contain any of the fields ("any"). diff --git a/python/functions/interfaces/utils/compositions/get_logs_without_fields.mdx b/python/functions/interfaces/utils/compositions/get_logs_without_fields.mdx index 63366e5e4..5a0f04a77 100644 --- a/python/functions/interfaces/utils/compositions/get_logs_without_fields.mdx +++ b/python/functions/interfaces/utils/compositions/get_logs_without_fields.mdx @@ -11,7 +11,7 @@ def get_logs_without_fields( ) -> List[unify.Log]: ``` -

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/utils/compositions.py#L397)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/utils/compositions.py#L397)

Returns a list of logs which do not contain the specified fields, either the logs which do not contain all of the fields ("all") or the logs which do not contain any diff --git a/python/functions/interfaces/utils/compositions/get_params.mdx b/python/functions/interfaces/utils/compositions/get_params.mdx index ffab4ad11..55653d535 100644 --- a/python/functions/interfaces/utils/compositions/get_params.mdx +++ b/python/functions/interfaces/utils/compositions/get_params.mdx @@ -10,7 +10,7 @@ def get_params( ) -> List[str]: ``` -

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/utils/compositions.py#L211)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/utils/compositions.py#L211)

Gets all parameter names within the collection of logs (default to all logs). diff --git a/python/functions/interfaces/utils/compositions/get_source.mdx b/python/functions/interfaces/utils/compositions/get_source.mdx index 10de08bf6..f58183613 100644 --- a/python/functions/interfaces/utils/compositions/get_source.mdx +++ b/python/functions/interfaces/utils/compositions/get_source.mdx @@ -6,7 +6,7 @@ title: 'get_source' def get_source() -> str: ``` -

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/utils/compositions.py#L236)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/utils/compositions.py#L236)

Extracts the source code for the file from where this function was called. diff --git a/python/functions/interfaces/utils/compositions/group_logs.mdx b/python/functions/interfaces/utils/compositions/group_logs.mdx index e768f2392..a1255d197 100644 --- a/python/functions/interfaces/utils/compositions/group_logs.mdx +++ b/python/functions/interfaces/utils/compositions/group_logs.mdx @@ -11,7 +11,7 @@ def group_logs( ): ``` -

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/utils/compositions.py#L509)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/utils/compositions.py#L509)

Groups logs based on equality '==' of the values for the specified key, returning a dict with group indices as the keys and the list of logs as the values. If the keys diff --git a/python/functions/interfaces/utils/compositions/group_logs_by_configs.mdx b/python/functions/interfaces/utils/compositions/group_logs_by_configs.mdx index 563f474bd..f5c4e4dbf 100644 --- a/python/functions/interfaces/utils/compositions/group_logs_by_configs.mdx +++ b/python/functions/interfaces/utils/compositions/group_logs_by_configs.mdx @@ -9,7 +9,7 @@ def group_logs_by_configs( ) -> Dict: ``` -

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/utils/compositions.py#L164)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/utils/compositions.py#L164)

Groups logs based on their unique parameter configurations. diff --git a/python/functions/interfaces/utils/compositions/rename_log_entries.mdx b/python/functions/interfaces/utils/compositions/rename_log_entries.mdx index c8de54fac..59af5ecf9 100644 --- a/python/functions/interfaces/utils/compositions/rename_log_entries.mdx +++ b/python/functions/interfaces/utils/compositions/rename_log_entries.mdx @@ -11,7 +11,7 @@ def rename_log_entries( ) -> Dict[str, str]: ``` -

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/utils/compositions.py#L310)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/utils/compositions.py#L310)

Renames the set of log entries. diff --git a/python/functions/interfaces/utils/compositions/rename_log_params.mdx b/python/functions/interfaces/utils/compositions/rename_log_params.mdx index d7c15739e..162a5970f 100644 --- a/python/functions/interfaces/utils/compositions/rename_log_params.mdx +++ b/python/functions/interfaces/utils/compositions/rename_log_params.mdx @@ -11,7 +11,7 @@ def rename_log_params( ) -> Dict[str, str]: ``` -

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/utils/compositions.py#L134)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/utils/compositions.py#L134)

Renames the set of log params. diff --git a/python/functions/interfaces/utils/compositions/replace_log_entries.mdx b/python/functions/interfaces/utils/compositions/replace_log_entries.mdx index bb261642f..6ebeb69ef 100644 --- a/python/functions/interfaces/utils/compositions/replace_log_entries.mdx +++ b/python/functions/interfaces/utils/compositions/replace_log_entries.mdx @@ -11,7 +11,7 @@ def replace_log_entries( ) -> Dict[str, str]: ``` -

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/utils/compositions.py#L253)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/utils/compositions.py#L253)

Replaces existing entries in existing logs. diff --git a/python/functions/interfaces/utils/compositions/replace_log_params.mdx b/python/functions/interfaces/utils/compositions/replace_log_params.mdx index da2390b40..d10464452 100644 --- a/python/functions/interfaces/utils/compositions/replace_log_params.mdx +++ b/python/functions/interfaces/utils/compositions/replace_log_params.mdx @@ -11,7 +11,7 @@ def replace_log_params( ) -> Dict[str, str]: ``` -

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/utils/compositions.py#L72)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/utils/compositions.py#L72)

Replaces existing params in existing logs. diff --git a/python/functions/interfaces/utils/compositions/update_log_entries.mdx b/python/functions/interfaces/utils/compositions/update_log_entries.mdx index 869f15a96..fc3e135d4 100644 --- a/python/functions/interfaces/utils/compositions/update_log_entries.mdx +++ b/python/functions/interfaces/utils/compositions/update_log_entries.mdx @@ -12,7 +12,7 @@ def update_log_entries( ) -> Dict[str, str]: ``` -

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/utils/compositions.py#L277)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/utils/compositions.py#L277)

Updates existing entries in an existing log. diff --git a/python/functions/interfaces/utils/compositions/update_log_params.mdx b/python/functions/interfaces/utils/compositions/update_log_params.mdx index 94cd7ec6d..ee1fe90e9 100644 --- a/python/functions/interfaces/utils/compositions/update_log_params.mdx +++ b/python/functions/interfaces/utils/compositions/update_log_params.mdx @@ -12,7 +12,7 @@ def update_log_params( ) -> Dict[str, str]: ``` -

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/utils/compositions.py#L101)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/utils/compositions.py#L101)

Updates existing params in an existing log. diff --git a/python/functions/interfaces/utils/datasets/add_dataset_entries.mdx b/python/functions/interfaces/utils/datasets/add_dataset_entries.mdx index ab5e1cb98..78e88fcf3 100644 --- a/python/functions/interfaces/utils/datasets/add_dataset_entries.mdx +++ b/python/functions/interfaces/utils/datasets/add_dataset_entries.mdx @@ -11,7 +11,7 @@ def add_dataset_entries( ) -> Dict[str, Union[str, List[int]]]: ``` -

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/utils/datasets.py#L194)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/utils/datasets.py#L194)

Adds data to a dataset, and returns a list of ids and values for each of those, split by those which were already present and those which were newly added. diff --git a/python/functions/interfaces/utils/datasets/create_dataset_artifacts.mdx b/python/functions/interfaces/utils/datasets/create_dataset_artifacts.mdx index d229f3c1a..1b1ba62be 100644 --- a/python/functions/interfaces/utils/datasets/create_dataset_artifacts.mdx +++ b/python/functions/interfaces/utils/datasets/create_dataset_artifacts.mdx @@ -11,7 +11,7 @@ def create_dataset_artifacts( ) -> Union[List[Any], None]: ``` -

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/utils/datasets.py#L331)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/utils/datasets.py#L331)

Downloads a dataset from the platform. diff --git a/python/functions/interfaces/utils/datasets/delete_dataset.mdx b/python/functions/interfaces/utils/datasets/delete_dataset.mdx index d065a4e63..1edb5a685 100644 --- a/python/functions/interfaces/utils/datasets/delete_dataset.mdx +++ b/python/functions/interfaces/utils/datasets/delete_dataset.mdx @@ -10,7 +10,7 @@ def delete_dataset( ) -> Dict[str, str]: ``` -

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/utils/datasets.py#L98)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/utils/datasets.py#L98)

Deletes a dataset from the platform. diff --git a/python/functions/interfaces/utils/datasets/delete_dataset_artifact.mdx b/python/functions/interfaces/utils/datasets/delete_dataset_artifact.mdx index d781f2606..90c9aaf92 100644 --- a/python/functions/interfaces/utils/datasets/delete_dataset_artifact.mdx +++ b/python/functions/interfaces/utils/datasets/delete_dataset_artifact.mdx @@ -11,7 +11,7 @@ def delete_dataset_artifact( ) -> Union[List[Any], None]: ``` -

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/utils/datasets.py#L366)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/utils/datasets.py#L366)

Deletes dataset artifact from the platform. diff --git a/python/functions/interfaces/utils/datasets/delete_dataset_entry.mdx b/python/functions/interfaces/utils/datasets/delete_dataset_entry.mdx index 0de472878..46ebeb94e 100644 --- a/python/functions/interfaces/utils/datasets/delete_dataset_entry.mdx +++ b/python/functions/interfaces/utils/datasets/delete_dataset_entry.mdx @@ -11,7 +11,7 @@ def delete_dataset_entry( ) -> Dict[str, Union[str, List[int]]]: ``` -

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/utils/datasets.py#L233)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/utils/datasets.py#L233)

Deletes data from a dataset by id, and returns a list of ids and values for each of those, split by those which were deleted and those which were not present. diff --git a/python/functions/interfaces/utils/datasets/download_dataset.mdx b/python/functions/interfaces/utils/datasets/download_dataset.mdx index 0c6dd240c..23900a42f 100644 --- a/python/functions/interfaces/utils/datasets/download_dataset.mdx +++ b/python/functions/interfaces/utils/datasets/download_dataset.mdx @@ -11,7 +11,7 @@ def download_dataset( ) -> Optional[List[Any]]: ``` -

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/utils/datasets.py#L60)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/utils/datasets.py#L60)

Downloads a dataset from the platform. diff --git a/python/functions/interfaces/utils/datasets/download_dataset_artifacts.mdx b/python/functions/interfaces/utils/datasets/download_dataset_artifacts.mdx index 2f2aacdfb..45481fedd 100644 --- a/python/functions/interfaces/utils/datasets/download_dataset_artifacts.mdx +++ b/python/functions/interfaces/utils/datasets/download_dataset_artifacts.mdx @@ -10,7 +10,7 @@ def download_dataset_artifacts( ) -> Union[Dict[str, Any], None]: ``` -

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/utils/datasets.py#L304)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/utils/datasets.py#L304)

Downloads a dataset from the platform. diff --git a/python/functions/interfaces/utils/datasets/get_dataset_entry.mdx b/python/functions/interfaces/utils/datasets/get_dataset_entry.mdx index 79118650e..03d153d55 100644 --- a/python/functions/interfaces/utils/datasets/get_dataset_entry.mdx +++ b/python/functions/interfaces/utils/datasets/get_dataset_entry.mdx @@ -11,7 +11,7 @@ def get_dataset_entry( ) -> List[Dict[str, Union[int, Any]]]: ``` -

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/utils/datasets.py#L270)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/utils/datasets.py#L270)

Returns the specified dataset entry. diff --git a/python/functions/interfaces/utils/datasets/list_datasets.mdx b/python/functions/interfaces/utils/datasets/list_datasets.mdx index 2c54cde52..c6df2efc2 100644 --- a/python/functions/interfaces/utils/datasets/list_datasets.mdx +++ b/python/functions/interfaces/utils/datasets/list_datasets.mdx @@ -9,7 +9,7 @@ def list_datasets( ) -> List[str]: ``` -

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/utils/datasets.py#L160)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/utils/datasets.py#L160)

Fetches a list of all uploaded datasets. diff --git a/python/functions/interfaces/utils/datasets/rename_dataset.mdx b/python/functions/interfaces/utils/datasets/rename_dataset.mdx index 64b1be75e..0b67d2c53 100644 --- a/python/functions/interfaces/utils/datasets/rename_dataset.mdx +++ b/python/functions/interfaces/utils/datasets/rename_dataset.mdx @@ -11,7 +11,7 @@ def rename_dataset( ) -> Dict[str, str]: ``` -

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/utils/datasets.py#L126)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/utils/datasets.py#L126)

Renames a dataset in the platform. diff --git a/python/functions/interfaces/utils/datasets/upload_dataset.mdx b/python/functions/interfaces/utils/datasets/upload_dataset.mdx index bb6b37031..af852fd3b 100644 --- a/python/functions/interfaces/utils/datasets/upload_dataset.mdx +++ b/python/functions/interfaces/utils/datasets/upload_dataset.mdx @@ -11,7 +11,7 @@ def upload_dataset( ) -> Dict[str, str]: ``` -

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/utils/datasets.py#L17)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/utils/datasets.py#L17)

Uploads a dataset to the platform diff --git a/python/functions/interfaces/utils/logs/add_log_entries.mdx b/python/functions/interfaces/utils/logs/add_log_entries.mdx index 45e01a201..db940169f 100644 --- a/python/functions/interfaces/utils/logs/add_log_entries.mdx +++ b/python/functions/interfaces/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/utils/logs.py#L349)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/utils/logs.py#L349)

diff --git a/python/functions/interfaces/utils/logs/add_log_params.mdx b/python/functions/interfaces/utils/logs/add_log_params.mdx index e77ba4f5f..aedb71e48 100644 --- a/python/functions/interfaces/utils/logs/add_log_params.mdx +++ b/python/functions/interfaces/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/utils/logs.py#L323)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/utils/logs.py#L323)

diff --git a/python/functions/interfaces/utils/logs/delete_log_fields.mdx b/python/functions/interfaces/utils/logs/delete_log_fields.mdx index da3326ead..3c1bf75d6 100644 --- a/python/functions/interfaces/utils/logs/delete_log_fields.mdx +++ b/python/functions/interfaces/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/utils/logs.py#L414)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/utils/logs.py#L414)

diff --git a/python/functions/interfaces/utils/logs/delete_logs.mdx b/python/functions/interfaces/utils/logs/delete_logs.mdx index 47d2b61ca..93e36fe5f 100644 --- a/python/functions/interfaces/utils/logs/delete_logs.mdx +++ b/python/functions/interfaces/utils/logs/delete_logs.mdx @@ -6,5 +6,5 @@ title: 'delete_logs' def wrapped(*args, **kwargs): ``` -

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/utils/logs.py#L384)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/utils/logs.py#L384)

diff --git a/python/functions/interfaces/utils/logs/get_groups.mdx b/python/functions/interfaces/utils/logs/get_groups.mdx index 87c077b0c..bf26c072d 100644 --- a/python/functions/interfaces/utils/logs/get_groups.mdx +++ b/python/functions/interfaces/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/utils/logs.py#L598)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/utils/logs.py#L598)

Returns a list of the different version/values of one entry within a given project based on its key. diff --git a/python/functions/interfaces/utils/logs/get_log_by_id.mdx b/python/functions/interfaces/utils/logs/get_log_by_id.mdx index 1680de9f0..145b3ef1e 100644 --- a/python/functions/interfaces/utils/logs/get_log_by_id.mdx +++ b/python/functions/interfaces/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/utils/logs.py#L506)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/utils/logs.py#L506)

Returns the log associated with a given id. diff --git a/python/functions/interfaces/utils/logs/get_logs.mdx b/python/functions/interfaces/utils/logs/get_logs.mdx index b7d172690..1da891065 100644 --- a/python/functions/interfaces/utils/logs/get_logs.mdx +++ b/python/functions/interfaces/utils/logs/get_logs.mdx @@ -13,7 +13,7 @@ def get_logs( ) -> List[unify.Log]: ``` -

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/utils/logs.py#L451)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/utils/logs.py#L451)

Returns a list of filtered logs from a project. diff --git a/python/functions/interfaces/utils/logs/get_logs_metric.mdx b/python/functions/interfaces/utils/logs/get_logs_metric.mdx index e58ac9514..d90425937 100644 --- a/python/functions/interfaces/utils/logs/get_logs_metric.mdx +++ b/python/functions/interfaces/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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/utils/logs.py#L552)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/utils/logs.py#L552)

Retrieve a set of log metrics across a project, after applying the filtering. diff --git a/python/functions/interfaces/utils/logs/log.mdx b/python/functions/interfaces/utils/logs/log.mdx index 0f5a63183..f434b4bb0 100644 --- a/python/functions/interfaces/utils/logs/log.mdx +++ b/python/functions/interfaces/utils/logs/log.mdx @@ -6,5 +6,5 @@ title: 'log' def wrapped(*args, **kwargs): ``` -

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/utils/logs.py#L168)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/utils/logs.py#L168)

diff --git a/python/functions/interfaces/utils/projects/create_project.mdx b/python/functions/interfaces/utils/projects/create_project.mdx index ed962b893..8ec195e4b 100644 --- a/python/functions/interfaces/utils/projects/create_project.mdx +++ b/python/functions/interfaces/utils/projects/create_project.mdx @@ -11,7 +11,7 @@ def create_project( ) -> Dict[str, str]: ``` -

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/utils/projects.py#L12)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/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/interfaces/utils/projects/delete_project.mdx b/python/functions/interfaces/utils/projects/delete_project.mdx index f57b9f3e5..df46903f6 100644 --- a/python/functions/interfaces/utils/projects/delete_project.mdx +++ b/python/functions/interfaces/utils/projects/delete_project.mdx @@ -10,7 +10,7 @@ def delete_project( ) -> str: ``` -

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/utils/projects.py#L78)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/utils/projects.py#L78)

Deletes a project from your account. diff --git a/python/functions/interfaces/utils/projects/list_projects.mdx b/python/functions/interfaces/utils/projects/list_projects.mdx index 6edc72ea5..132c5f255 100644 --- a/python/functions/interfaces/utils/projects/list_projects.mdx +++ b/python/functions/interfaces/utils/projects/list_projects.mdx @@ -9,7 +9,7 @@ def list_projects( ) -> List[str]: ``` -

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/utils/projects.py#L105)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/utils/projects.py#L105)

Returns the names of all projects stored in your account. diff --git a/python/functions/interfaces/utils/projects/rename_project.mdx b/python/functions/interfaces/utils/projects/rename_project.mdx index ed31bc795..5fb9b0846 100644 --- a/python/functions/interfaces/utils/projects/rename_project.mdx +++ b/python/functions/interfaces/utils/projects/rename_project.mdx @@ -11,7 +11,7 @@ def rename_project( ) -> Dict[str, str]: ``` -

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/interfaces/utils/projects.py#L47)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/interfaces/utils/projects.py#L47)

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 e6f22fd53..e18ed1d45 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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/casting.py#L79)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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 9649001a4..9abc09c2f 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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/casting.py#L105)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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 b8f0d3a22..d4c242807 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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/usage.py#L9)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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 ad1a31a55..35bf475e9 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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/utils/credits.py#L9)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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 5ad270376..af6cf15fc 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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/utils/custom_api_keys.py#L8)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/universal_api/utils/custom_api_keys.py#L8)

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 10c04ae1a..fcde4d131 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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/utils/custom_api_keys.py#L75)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/universal_api/utils/custom_api_keys.py#L75)

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 c510b823b..35dfd9900 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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/utils/custom_api_keys.py#L42)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/universal_api/utils/custom_api_keys.py#L42)

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 b005c9993..511cb55b1 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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/utils/custom_api_keys.py#L151)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/universal_api/utils/custom_api_keys.py#L151)

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 e3f805c05..d9b4b7f04 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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/utils/custom_api_keys.py#L114)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/universal_api/utils/custom_api_keys.py#L114)

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 adc2da75a..5411cd3d2 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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/utils/custom_endpoints.py#L9)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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 ed1725394..c314aa5d4 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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/utils/custom_endpoints.py#L64)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/universal_api/utils/custom_endpoints.py#L64)

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 8d4e835d6..1995b1a3b 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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/utils/custom_endpoints.py#L134)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/universal_api/utils/custom_endpoints.py#L134)

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 096ccc250..5e3e18d2f 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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/utils/custom_endpoints.py#L98)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/universal_api/utils/custom_endpoints.py#L98)

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 179bf8e7c..c54a63a00 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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/utils/endpoint_metrics.py#L119)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/universal_api/utils/endpoint_metrics.py#L119)

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 54b82231e..a2c155e77 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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/utils/endpoint_metrics.py#L19)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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 5fc091e3f..b134b50e1 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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/utils/endpoint_metrics.py#L73)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/universal_api/utils/endpoint_metrics.py#L73)

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 d364d82ec..d8fb7f41a 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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/utils/queries.py#L36)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/universal_api/utils/queries.py#L36)

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 17bf756d9..20c7face2 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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/utils/queries.py#L153)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/universal_api/utils/queries.py#L153)

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 02e50d443..20f7877ff 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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/utils/queries.py#L10)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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 2230b462b..ec8e163c4 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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/utils/queries.py#L100)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/universal_api/utils/queries.py#L100)

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 e3c185620..0768ed06c 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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/utils/supported_endpoints.py#L78)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/universal_api/utils/supported_endpoints.py#L78)

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 79cbf0aa0..527f2326b 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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/utils/supported_endpoints.py#L44)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/universal_api/utils/supported_endpoints.py#L44)

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 3149764a4..36f12f310 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/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/universal_api/utils/supported_endpoints.py#L9)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/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 572d71b7a..faeb176a9 100644 --- a/python/functions/utils/map/map.mdx +++ b/python/functions/utils/map/map.mdx @@ -6,5 +6,5 @@ title: 'map' def map(fn: callable, *args, mode="threading", from_args=False, **kwargs) -> Any: ``` -

[source code](https://github.com/unifyai/unify/tree/edd6a8664e1bdfade4f63f66561df418306e80c4/unify/utils/map.py#L17)

+

[source code](https://github.com/unifyai/unify/tree/2265dc82d30d55eb1b81a2f0a76023234dc8b424/unify/utils/map.py#L17)