> ## 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.

# first • Rust AI Agent SDK

> first: Get the first embedding vector

# first

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

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

Get the first embedding vector

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def first(&self) -> Option<&Vec<f32>>
```

### Returns

<ResponseField name="Returns" type="Option<&Vec<f32>>">
  The result of the operation.
</ResponseField>
