diff --git a/python/classes/interfaces/dataset/Dataset.mdx b/python/classes/interfaces/dataset/Dataset.mdx index cc017001f..6b41ba656 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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/interfaces/dataset.py#L14)

+

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

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

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

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/interfaces/dataset.py#L15)

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

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

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/interfaces/dataset.py#L62)

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

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

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/interfaces/dataset.py#L79)

```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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/interfaces/dataset.py#L252)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/interfaces/dataset.py#L252)

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

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

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/interfaces/dataset.py#L176)

```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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/interfaces/dataset.py#L92)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/interfaces/dataset.py#L92)

```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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/interfaces/dataset.py#L301)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/interfaces/dataset.py#L301)

```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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/interfaces/dataset.py#L330)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/interfaces/dataset.py#L330)

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

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

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/interfaces/dataset.py#L279)

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

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

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/interfaces/dataset.py#L212)

```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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/interfaces/dataset.py#L131)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/interfaces/dataset.py#L131)

```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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/interfaces/dataset.py#L224)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/interfaces/dataset.py#L224)

```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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/interfaces/dataset.py#L354)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/interfaces/dataset.py#L354)

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

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

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/interfaces/dataset.py#L475)

```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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/interfaces/dataset.py#L505)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/interfaces/dataset.py#L505)

```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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/interfaces/dataset.py#L398)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/interfaces/dataset.py#L398)

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

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

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/interfaces/dataset.py#L449)

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

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

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/interfaces/dataset.py#L465)

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

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

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/interfaces/dataset.py#L496)

```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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/interfaces/dataset.py#L371)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/interfaces/dataset.py#L371)

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

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

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/interfaces/dataset.py#L431)

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

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

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/interfaces/dataset.py#L414)

```python def __sub__( diff --git a/python/classes/interfaces/logs/Context.mdx b/python/classes/interfaces/logs/Context.mdx index bdbd3a490..c7add83f8 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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/interfaces/logs.py#L125)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/interfaces/logs.py#L125)

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

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

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/interfaces/logs.py#L126)

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

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

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/interfaces/logs.py#L129)

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

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

+

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

```python def __exit__(self, *args, **kwargs): diff --git a/python/classes/interfaces/logs/Entries.mdx b/python/classes/interfaces/logs/Entries.mdx index 38085b10a..8080ba8a5 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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/interfaces/logs.py#L138)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/interfaces/logs.py#L138)

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

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

+

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

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

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

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/interfaces/logs.py#L142)

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

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

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/interfaces/logs.py#L150)

```python def __exit__(self, *args, **kwargs): diff --git a/python/classes/interfaces/logs/Experiment.mdx b/python/classes/interfaces/logs/Experiment.mdx index e2fc12392..9911cdc31 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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/interfaces/logs.py#L176)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/interfaces/logs.py#L176)

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

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

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/interfaces/logs.py#L177)

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

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

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/interfaces/logs.py#L191)

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

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

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/interfaces/logs.py#L202)

```python def __exit__(self, *args, **kwargs): diff --git a/python/classes/interfaces/logs/Log.mdx b/python/classes/interfaces/logs/Log.mdx index 09bdfb506..ab3156ff8 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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/interfaces/logs.py#L19)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/interfaces/logs.py#L19)

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

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

+

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

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

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

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/interfaces/logs.py#L39)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/interfaces/logs.py#L51)

+

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

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

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

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/interfaces/logs.py#L75)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/interfaces/logs.py#L75)

```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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/interfaces/logs.py#L87)

+

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

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

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

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/interfaces/logs.py#L79)

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

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

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/interfaces/logs.py#L99)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/interfaces/logs.py#L99)

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

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

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/interfaces/logs.py#L90)

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

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

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/interfaces/logs.py#L108)

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

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

+

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

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

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

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/interfaces/logs.py#L120)

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

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

+

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

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

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

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/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 1f99f2522..aaa82cb1e 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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/interfaces/logs.py#L157)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/interfaces/logs.py#L157)

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

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

+

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

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

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

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/interfaces/logs.py#L161)

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

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

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/interfaces/logs.py#L169)

```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 245b06566..aa6047c58 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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/universal_api/chatbot.py#L9)

+

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

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

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

+

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

+

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

+

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

+

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

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/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 34efc8813..c1eddff86 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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/universal_api/clients/multi_llm.py#L908)

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

+

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

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

+

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

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

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

+

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

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

+

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

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

+

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

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

+

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

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

+

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

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

+

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

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

+

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

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

+

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

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

+

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

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

+

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

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

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

+

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

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

+

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

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

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

+

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

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

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

+

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

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

+

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

+

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

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

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

+

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

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

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

+

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

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

+

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

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

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

+

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

+

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

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

+

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

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

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

+

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

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

+

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

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

+

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

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

+

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

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

+

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

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

+

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

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

+

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

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

+

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

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

+

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

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

+

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

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

+

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

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

+

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

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

+

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

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

+

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

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

+

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

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

+

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

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

+

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

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

+

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

```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 f1afbf695..7a0598023 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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/universal_api/clients/multi_llm.py#L753)

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

+

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

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

+

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

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

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

+

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

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

+

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

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

+

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

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

+

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

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

+

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

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

+

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

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

+

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

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

+

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

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

+

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

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

+

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

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

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

+

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

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

+

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

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

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

+

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

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

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

+

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

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

+

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

+

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

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

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

+

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

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

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

+

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

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

+

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

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

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

+

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

+

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

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

+

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

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

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

+

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

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

+

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

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

+

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

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

+

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

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

+

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

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

+

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

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

+

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

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

+

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

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

+

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

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

+

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

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

+

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

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

+

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

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

+

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

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

+

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

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

+

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

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

+

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

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

+

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

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

+

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

```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 22ec2d15a..920ee5982 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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/universal_api/clients/uni_llm.py#L1011)

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

+

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

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

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

+

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

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

+

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

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

+

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

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

+

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

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

+

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

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

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

+

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

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

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

+

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

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

+

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

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

+

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

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

+

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

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

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

+

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

+

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

+

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

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

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

+

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

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

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

+

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

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

+

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

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

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

+

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

+

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

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

+

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

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

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

+

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

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

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

+

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

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

+

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

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

+

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

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

+

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

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

+

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

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

+

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

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

+

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

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

+

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

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

+

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

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

+

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

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

+

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

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

+

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

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

+

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

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

+

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

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

+

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

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

+

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

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

+

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

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

+

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

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

+

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

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

+

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

```python def json(self): @@ -1690,7 +1690,7 @@ def json(self): ### to\_sync\_client -

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

+

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

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

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

+

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

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

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

+

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

```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 4b35e1003..03a2f329b 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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/universal_api/clients/uni_llm.py#L748)

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

+

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

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

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

+

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

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

+

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

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

+

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

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

+

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

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

+

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

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

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

+

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

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

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

+

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

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

+

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

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

+

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

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

+

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

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

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

+

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

+

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

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

+

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

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

+

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

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

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

+

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

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

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

+

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

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

+

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

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

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

+

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

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

+

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

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

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

+

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

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

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

+

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

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

[source code](https://github.com/unifyai/unify/tree/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/universal_api/clients/base.py#L325)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/universal_api/clients/base.py#L325)

```python def tool_choice(self) -> Optional[ChatCompletionToolChoiceOptionParam]: @@ -637,7 +637,7 @@ The default tool choice. ### tools -

[source code](https://github.com/unifyai/unify/tree/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/universal_api/clients/base.py#L315)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/universal_api/clients/base.py#L315)

```python def tools(self) -> Optional[Iterable[ChatCompletionToolParam]]: @@ -653,7 +653,7 @@ The default tools. ### top\_logprobs -

[source code](https://github.com/unifyai/unify/tree/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/universal_api/clients/base.py#L205)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/universal_api/clients/base.py#L205)

```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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/universal_api/clients/base.py#L305)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/universal_api/clients/base.py#L305)

```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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/universal_api/clients/base.py#L425)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/universal_api/clients/base.py#L425)

```python def traced(self) -> bool: @@ -701,7 +701,7 @@ The default traced bool. ### ttft -

[source code](https://github.com/unifyai/unify/tree/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/universal_api/clients/uni_llm.py#L318)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/universal_api/clients/uni_llm.py#L318)

```python def ttft(self) -> float: @@ -713,7 +713,7 @@ def ttft(self) -> float: ### use\_custom\_keys -

[source code](https://github.com/unifyai/unify/tree/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/universal_api/clients/base.py#L345)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/universal_api/clients/base.py#L345)

```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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/universal_api/clients/base.py#L894)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/universal_api/clients/base.py#L894)

```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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/universal_api/clients/base.py#L802)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/universal_api/clients/base.py#L802)

```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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/universal_api/clients/uni_llm.py#L362)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/universal_api/clients/uni_llm.py#L362)

```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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/universal_api/clients/base.py#L933)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/universal_api/clients/base.py#L933)

```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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/universal_api/clients/base.py#L907)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/universal_api/clients/base.py#L907)

```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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/universal_api/clients/base.py#L920)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/universal_api/clients/base.py#L920)

```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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/universal_api/clients/base.py#L552)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/universal_api/clients/base.py#L552)

```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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/universal_api/clients/base.py#L828)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/universal_api/clients/base.py#L828)

```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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/universal_api/clients/base.py#L841)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/universal_api/clients/base.py#L841)

```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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/universal_api/clients/base.py#L565)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/universal_api/clients/base.py#L565)

```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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/universal_api/clients/base.py#L578)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/universal_api/clients/base.py#L578)

```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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/universal_api/clients/base.py#L604)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/universal_api/clients/base.py#L604)

```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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/universal_api/clients/base.py#L510)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/universal_api/clients/base.py#L510)

```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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/universal_api/clients/uni_llm.py#L382)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/universal_api/clients/uni_llm.py#L382)

```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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/universal_api/clients/base.py#L617)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/universal_api/clients/base.py#L617)

```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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/universal_api/clients/base.py#L763)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/universal_api/clients/base.py#L763)

```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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/universal_api/clients/base.py#L630)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/universal_api/clients/base.py#L630)

```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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/universal_api/clients/uni_llm.py#L402)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/universal_api/clients/uni_llm.py#L402)

```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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/universal_api/clients/base.py#L815)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/universal_api/clients/base.py#L815)

```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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/universal_api/clients/base.py#L643)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/universal_api/clients/base.py#L643)

```python def set_response_format( @@ -1180,7 +1180,7 @@ This client, useful for chaining inplace calls. ### set\_return\_full\_completion -

[source code](https://github.com/unifyai/unify/tree/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/universal_api/clients/base.py#L867)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/universal_api/clients/base.py#L867)

```python def set_return_full_completion(self, value: bool) -> Self: @@ -1202,7 +1202,7 @@ This client, useful for chaining inplace calls. ### set\_seed -

[source code](https://github.com/unifyai/unify/tree/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/universal_api/clients/base.py#L659)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/universal_api/clients/base.py#L659)

```python def set_seed(self, value: Optional[int]) -> Self: @@ -1224,7 +1224,7 @@ This client, useful for chaining inplace calls. ### set\_stateful -

[source code](https://github.com/unifyai/unify/tree/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/universal_api/clients/base.py#L854)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/universal_api/clients/base.py#L854)

```python def set_stateful(self, value: bool) -> Self: @@ -1246,7 +1246,7 @@ This client, useful for chaining inplace calls. ### set\_stop -

[source code](https://github.com/unifyai/unify/tree/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/universal_api/clients/base.py#L672)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/universal_api/clients/base.py#L672)

```python def set_stop(self, value: Union[str, List[str]]) -> Self: @@ -1268,7 +1268,7 @@ This client, useful for chaining inplace calls. ### set\_stream -

[source code](https://github.com/unifyai/unify/tree/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/universal_api/clients/base.py#L685)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/universal_api/clients/base.py#L685)

```python def set_stream(self, value: bool) -> Self: @@ -1290,7 +1290,7 @@ This client, useful for chaining inplace calls. ### set\_stream\_options -

[source code](https://github.com/unifyai/unify/tree/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/universal_api/clients/base.py#L698)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/universal_api/clients/base.py#L698)

```python def set_stream_options(self, value: ChatCompletionStreamOptionsParam) -> Self: @@ -1312,7 +1312,7 @@ This client, useful for chaining inplace calls. ### set\_system\_message -

[source code](https://github.com/unifyai/unify/tree/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/universal_api/clients/base.py#L478)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/universal_api/clients/base.py#L478)

```python def set_system_message(self, value: str) -> Self: @@ -1334,7 +1334,7 @@ This client, useful for chaining inplace calls. ### set\_tags -

[source code](https://github.com/unifyai/unify/tree/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/universal_api/clients/base.py#L789)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/universal_api/clients/base.py#L789)

```python def set_tags(self, value: List[str]) -> Self: @@ -1356,7 +1356,7 @@ This client, useful for chaining inplace calls. ### set\_temperature -

[source code](https://github.com/unifyai/unify/tree/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/universal_api/clients/base.py#L711)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/universal_api/clients/base.py#L711)

```python def set_temperature(self, value: float) -> Self: @@ -1378,7 +1378,7 @@ This client, useful for chaining inplace calls. ### set\_tool\_choice -

[source code](https://github.com/unifyai/unify/tree/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/universal_api/clients/base.py#L750)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/universal_api/clients/base.py#L750)

```python def set_tool_choice(self, value: ChatCompletionToolChoiceOptionParam) -> Self: @@ -1400,7 +1400,7 @@ This client, useful for chaining inplace calls. ### set\_tools -

[source code](https://github.com/unifyai/unify/tree/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/universal_api/clients/base.py#L737)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/universal_api/clients/base.py#L737)

```python def set_tools(self, value: Iterable[ChatCompletionToolParam]) -> Self: @@ -1422,7 +1422,7 @@ This client, useful for chaining inplace calls. ### set\_top\_logprobs -

[source code](https://github.com/unifyai/unify/tree/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/universal_api/clients/base.py#L591)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/universal_api/clients/base.py#L591)

```python def set_top_logprobs(self, value: int) -> Self: @@ -1444,7 +1444,7 @@ This client, useful for chaining inplace calls. ### set\_top\_p -

[source code](https://github.com/unifyai/unify/tree/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/universal_api/clients/base.py#L724)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/universal_api/clients/base.py#L724)

```python def set_top_p(self, value: float) -> Self: @@ -1466,7 +1466,7 @@ This client, useful for chaining inplace calls. ### set\_traced -

[source code](https://github.com/unifyai/unify/tree/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/universal_api/clients/base.py#L881)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/universal_api/clients/base.py#L881)

```python def set_traced(self, value: bool) -> Self: @@ -1488,7 +1488,7 @@ This client, useful for chaining inplace calls. ### set\_use\_custom\_keys -

[source code](https://github.com/unifyai/unify/tree/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/universal_api/clients/base.py#L776)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/universal_api/clients/base.py#L776)

```python def set_use_custom_keys(self, value: bool) -> Self: @@ -1512,7 +1512,7 @@ This client, useful for chaining inplace calls. ### append\_messages -

[source code](https://github.com/unifyai/unify/tree/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/universal_api/clients/base.py#L531)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/universal_api/clients/base.py#L531)

```python def append_messages( @@ -1540,7 +1540,7 @@ This client, useful for chaining inplace calls. ### copy -

[source code](https://github.com/unifyai/unify/tree/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/universal_api/clients/base.py#L979)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/universal_api/clients/base.py#L979)

```python def copy(self): @@ -1552,7 +1552,7 @@ def copy(self): ### generate -

[source code](https://github.com/unifyai/unify/tree/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/universal_api/clients/uni_llm.py#L475)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/universal_api/clients/uni_llm.py#L475)

```python def generate( @@ -1657,7 +1657,7 @@ If stream is False, returns a single string response. ### get\_credit\_balance -

[source code](https://github.com/unifyai/unify/tree/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/universal_api/clients/base.py#L949)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/universal_api/clients/base.py#L949)

```python def get_credit_balance(self) -> Union[float, None]: @@ -1678,7 +1678,7 @@ ValueError: If there was an error parsing the JSON response. ### json -

[source code](https://github.com/unifyai/unify/tree/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/universal_api/clients/base.py#L1025)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/universal_api/clients/base.py#L1025)

```python def json(self): @@ -1690,7 +1690,7 @@ def json(self): ### to\_async\_client -

[source code](https://github.com/unifyai/unify/tree/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/universal_api/clients/uni_llm.py#L999)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/universal_api/clients/uni_llm.py#L999)

```python def to_async_client(self): @@ -1710,7 +1710,7 @@ instance. ### \_\_repr\_\_ -

[source code](https://github.com/unifyai/unify/tree/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/universal_api/clients/uni_llm.py#L459)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/universal_api/clients/uni_llm.py#L459)

```python def __repr__(self): @@ -1722,7 +1722,7 @@ def __repr__(self): ### \_\_str\_\_ -

[source code](https://github.com/unifyai/unify/tree/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/universal_api/clients/uni_llm.py#L462)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/universal_api/clients/uni_llm.py#L462)

```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 b23e990b1..52d109abd 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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/universal_api/types/prompt.py#L1)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/universal_api/types/prompt.py#L1)

### \_\_init\_\_ -

[source code](https://github.com/unifyai/unify/tree/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/universal_api/types/prompt.py#L2)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/universal_api/types/prompt.py#L2)

```python def __init__( diff --git a/python/classes/universal_api/utils/endpoint_metrics/Metrics.mdx b/python/classes/universal_api/utils/endpoint_metrics/Metrics.mdx index bd844fffa..52617878d 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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/universal_api/utils/endpoint_metrics.py#L11)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/universal_api/utils/endpoint_metrics.py#L11)

@@ -16,7 +16,7 @@ class Metrics ### \_\_fields\_set\_\_ -

[source code](https://github.com/unifyai/unify/tree/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/pydantic/main.py#L1142)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/pydantic/main.py#L260)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/pydantic/main.py#L269)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/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 623e6e7cb..27baa78b3 100644 --- a/python/functions/interfaces/logs/traced.mdx +++ b/python/functions/interfaces/logs/traced.mdx @@ -13,5 +13,5 @@ def traced( ): ``` -

[source code](https://github.com/unifyai/unify/tree/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/interfaces/logs.py#L213)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/interfaces/logs.py#L213)

diff --git a/python/functions/interfaces/utils/artifacts/add_project_artifacts.mdx b/python/functions/interfaces/utils/artifacts/add_project_artifacts.mdx index 444643970..b0b7b80fe 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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/interfaces/utils/artifacts.py#L12)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/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 5c2f8a5e2..e65747d3c 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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/interfaces/utils/artifacts.py#L50)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/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 d823112d7..3f4222273 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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/interfaces/utils/artifacts.py#L84)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/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/get_experiment_name.mdx b/python/functions/interfaces/utils/compositions/get_experiment_name.mdx index 9dfab1b9e..86485dcdf 100644 --- a/python/functions/interfaces/utils/compositions/get_experiment_name.mdx +++ b/python/functions/interfaces/utils/compositions/get_experiment_name.mdx @@ -6,7 +6,7 @@ title: 'get_experiment_name' def get_experiment_name(version: int, api_key: Optional[str] = None) -> str: ``` -

[source code](https://github.com/unifyai/unify/tree/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/interfaces/utils/compositions.py#L78)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/interfaces/utils/compositions.py#L78)

Gets the experiment name (by version). diff --git a/python/functions/interfaces/utils/compositions/get_experiment_version.mdx b/python/functions/interfaces/utils/compositions/get_experiment_version.mdx index 182153721..9b54101b0 100644 --- a/python/functions/interfaces/utils/compositions/get_experiment_version.mdx +++ b/python/functions/interfaces/utils/compositions/get_experiment_version.mdx @@ -6,7 +6,7 @@ title: 'get_experiment_version' def get_experiment_version(name: str, api_key: Optional[str] = None) -> int: ``` -

[source code](https://github.com/unifyai/unify/tree/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/interfaces/utils/compositions.py#L101)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/interfaces/utils/compositions.py#L101)

Gets the experiment version (by name). diff --git a/python/functions/interfaces/utils/compositions/get_param_by_value.mdx b/python/functions/interfaces/utils/compositions/get_param_by_value.mdx index f490b6c2e..21881b107 100644 --- a/python/functions/interfaces/utils/compositions/get_param_by_value.mdx +++ b/python/functions/interfaces/utils/compositions/get_param_by_value.mdx @@ -10,7 +10,7 @@ def get_param_by_value( ) -> Any: ``` -

[source code](https://github.com/unifyai/unify/tree/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/interfaces/utils/compositions.py#L37)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/interfaces/utils/compositions.py#L37)

Gets the parameter by value. diff --git a/python/functions/interfaces/utils/compositions/get_param_by_version.mdx b/python/functions/interfaces/utils/compositions/get_param_by_version.mdx index 8e8afa375..1c661ab96 100644 --- a/python/functions/interfaces/utils/compositions/get_param_by_version.mdx +++ b/python/functions/interfaces/utils/compositions/get_param_by_version.mdx @@ -10,7 +10,7 @@ def get_param_by_version( ) -> Any: ``` -

[source code](https://github.com/unifyai/unify/tree/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/interfaces/utils/compositions.py#L12)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/interfaces/utils/compositions.py#L12)

Gets the parameter by version. diff --git a/python/functions/interfaces/utils/compositions/get_source.mdx b/python/functions/interfaces/utils/compositions/get_source.mdx index 80eb1b1eb..89c33a782 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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/interfaces/utils/compositions.py#L61)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/interfaces/utils/compositions.py#L61)

Extracts the source code for the file from where this function was called. diff --git a/python/functions/interfaces/utils/logs/add_log_entries.mdx b/python/functions/interfaces/utils/logs/add_log_entries.mdx index 6dd78ba9f..14c3aa191 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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/interfaces/utils/logs.py#L369)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/interfaces/utils/logs.py#L370)

diff --git a/python/functions/interfaces/utils/logs/add_log_params.mdx b/python/functions/interfaces/utils/logs/add_log_params.mdx index a5613a03e..c78b21de0 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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/interfaces/utils/logs.py#L328)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/interfaces/utils/logs.py#L329)

diff --git a/python/functions/interfaces/utils/logs/delete_log_fields.mdx b/python/functions/interfaces/utils/logs/delete_log_fields.mdx index 938b82342..1249cad5d 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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/interfaces/utils/logs.py#L454)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/interfaces/utils/logs.py#L458)

diff --git a/python/functions/interfaces/utils/logs/delete_logs.mdx b/python/functions/interfaces/utils/logs/delete_logs.mdx index 89ac8c0da..a11e39c4f 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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/interfaces/utils/logs.py#L415)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/interfaces/utils/logs.py#L416)

diff --git a/python/functions/interfaces/utils/logs/get_groups.mdx b/python/functions/interfaces/utils/logs/get_groups.mdx index 782cfc0fb..f5aad057b 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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/interfaces/utils/logs.py#L643)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/interfaces/utils/logs.py#L651)

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 91828e7a3..edb53adbc 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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/interfaces/utils/logs.py#L551)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/interfaces/utils/logs.py#L557)

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 18d2fb8b8..a4b685c3c 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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/interfaces/utils/logs.py#L493)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/interfaces/utils/logs.py#L498)

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 a260408c0..03ad7d2cc 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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/interfaces/utils/logs.py#L597)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/interfaces/utils/logs.py#L604)

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 26808ee9c..fd1ac6495 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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/interfaces/utils/logs.py#L140)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/interfaces/utils/logs.py#L140)

diff --git a/python/functions/interfaces/utils/logs/set_user_logging.mdx b/python/functions/interfaces/utils/logs/set_user_logging.mdx index 8c7354a0c..9ee634ad9 100644 --- a/python/functions/interfaces/utils/logs/set_user_logging.mdx +++ b/python/functions/interfaces/utils/logs/set_user_logging.mdx @@ -6,5 +6,5 @@ title: 'set_user_logging' def set_user_logging(value: bool): ``` -

[source code](https://github.com/unifyai/unify/tree/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/interfaces/utils/logs.py#L681)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/interfaces/utils/logs.py#L690)

diff --git a/python/functions/interfaces/utils/projects/create_project.mdx b/python/functions/interfaces/utils/projects/create_project.mdx index 04687c191..09e972501 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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/interfaces/utils/projects.py#L12)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/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 f47b4b728..5e3244495 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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/interfaces/utils/projects.py#L78)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/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 2b81083e1..c4ab35c96 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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/interfaces/utils/projects.py#L105)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/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 e4d37c85d..967113ef6 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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/interfaces/utils/projects.py#L47)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/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 0f67a1178..73e11830f 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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/universal_api/casting.py#L79)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/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 23b803ed0..065219be9 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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/universal_api/casting.py#L105)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/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 57f19c865..71132612d 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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/universal_api/usage.py#L9)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/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 77ff5183e..0c72a1e8a 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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/universal_api/utils/credits.py#L9)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/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 86b2659f9..2504911e8 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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/universal_api/utils/custom_api_keys.py#L8)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/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 c8ff5a5a6..6fe6de5bf 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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/universal_api/utils/custom_api_keys.py#L75)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/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 bdb426d7b..5f66b5bd2 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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/universal_api/utils/custom_api_keys.py#L42)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/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 71f842e3b..d889dcc56 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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/universal_api/utils/custom_api_keys.py#L151)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/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 42cb2b3b5..765efdbb1 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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/universal_api/utils/custom_api_keys.py#L114)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/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 d70f4419b..800c4ae29 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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/universal_api/utils/custom_endpoints.py#L9)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/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 122b27efe..35a847ea9 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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/universal_api/utils/custom_endpoints.py#L64)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/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 93dbb1ff2..426646502 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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/universal_api/utils/custom_endpoints.py#L134)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/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 003e8fc67..6c58dabda 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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/universal_api/utils/custom_endpoints.py#L98)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/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 e268a0620..0cf558702 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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/universal_api/utils/endpoint_metrics.py#L119)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/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 12e6a3c87..3e8ae288c 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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/universal_api/utils/endpoint_metrics.py#L19)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/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 280fb9fec..e722c4089 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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/universal_api/utils/endpoint_metrics.py#L73)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/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 48e7d231d..1bfc64508 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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/universal_api/utils/queries.py#L36)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/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 9d3be07ae..6d2d761a7 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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/universal_api/utils/queries.py#L153)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/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 38d4d68ea..0b4c34272 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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/universal_api/utils/queries.py#L10)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/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 1935227d2..d55e12772 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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/universal_api/utils/queries.py#L100)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/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 067251a25..366717502 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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/universal_api/utils/supported_endpoints.py#L78)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/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 777fd977b..18340666b 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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/universal_api/utils/supported_endpoints.py#L44)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/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 47c7bfa9f..8f26c48f1 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/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/universal_api/utils/supported_endpoints.py#L9)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/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 04e9bd06b..d34a5a6a0 100644 --- a/python/functions/utils/map/map.mdx +++ b/python/functions/utils/map/map.mdx @@ -13,5 +13,5 @@ def map( ) -> Any: ``` -

[source code](https://github.com/unifyai/unify/tree/b7ac4d91e9d5df7dd1e374509315a58e8cacd7aa/unify/utils/map.py#L17)

+

[source code](https://github.com/unifyai/unify/tree/5cf327f7ab812c8a0ef987842647d14240f571a6/unify/utils/map.py#L17)