# EmbeddingResult

<!-- DO NOT EDIT: this page is autogenerated from the type comments -->

Defined in: [packages/ai/src/types.ts:3423](https://github.com/TanStack/ai/blob/main/packages/ai/src/types.ts#L3423)

Result of embedding generation.

## Properties

### embeddings

```ts
embeddings: Embedding[];
```

Defined in: [packages/ai/src/types.ts:3429](https://github.com/TanStack/ai/blob/main/packages/ai/src/types.ts#L3429)

One embedding per input item, in input order

***

### id

```ts
id: string;
```

Defined in: [packages/ai/src/types.ts:3425](https://github.com/TanStack/ai/blob/main/packages/ai/src/types.ts#L3425)

Unique identifier for the generation

***

### model

```ts
model: string;
```

Defined in: [packages/ai/src/types.ts:3427](https://github.com/TanStack/ai/blob/main/packages/ai/src/types.ts#L3427)

Model used for generation

***

### usage?

```ts
optional usage?: TokenUsage<ProviderUsageDetails>;
```

Defined in: [packages/ai/src/types.ts:3431](https://github.com/TanStack/ai/blob/main/packages/ai/src/types.ts#L3431)

Token usage information (if provided by the adapter)
