> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Encoding Format • Rust AI Agent SDK

> encoding_format: Set encoding format

# encoding\_format

<div className="flex items-center gap-2">
  <Badge color="purple">Method</Badge>
</div>

> This is a method of the [**EmbeddingConfig**](../classes/EmbeddingConfig) class in the [**embedding**](../modules/embedding) module.

Set encoding format

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def encoding_format(mut self, format: impl Into<String>) -> Self
```

## Parameters

<ParamField query="format" type="impl Into<String>" required={true}>
  No description available.
</ParamField>

### Returns

<ResponseField name="Returns" type="Self">
  The result of the operation.
</ResponseField>
