# EmbeddingResult

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

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

Result of embedding generation.

## Properties

### embeddings

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

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

One embedding per input item, in input order

***

### id

```ts
id: string;
```

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

Unique identifier for the generation

***

### model

```ts
model: string;
```

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

Model used for generation

***

### usage?

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

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

Token usage information (if provided by the adapter)
