# Interface EmbeddingRequest

Embedding request configuration.

interface EmbeddingRequest {
input: string | string[];
type?: "document" | "text" | "query";
}

- Defined in packages/orchestration/dist/orchestration-types.d.ts:615

##### Index

### Properties

input
type?

## Properties

### input

input: string | string[]

Text input for which embeddings need to be generated. Can be a single string or array of strings.

#### Example

    input: "This is a text to embed" or
    input: ["Text 1", "Text 2", "Text 3"]

- Defined in packages/orchestration/dist/orchestration-types.d.ts:623

### `Optional` type

type?: "document" | "text" | "query"

Represents the task for which the embeddings need to be generated.

#### Default

    'text'

Copyright Ⓒ 2026 SAP SE or an SAP affiliate company. All rights reserved.

- Defined in packages/orchestration/dist/orchestration-types.d.ts:628