AxEmbedResponse Generated TypeScript API reference. typescript api api/reference build/apidocs/TypeAlias.AxEmbedResponse.md type AxEmbedResponse

AxEmbedResponse

TypeScript
type AxEmbedResponse = object;

Defined in: https://github.com/ax-llm/ax/blob/3d5aa8dac28a2637e4150f022dcd02e6fc3309f0/src/ax/ai/types.ts#L580

Properties

embeddings

TypeScript
embeddings: readonly readonly number[][];

Defined in: https://github.com/ax-llm/ax/blob/3d5aa8dac28a2637e4150f022dcd02e6fc3309f0/src/ax/ai/types.ts#L591


modelUsage?

TypeScript
optional modelUsage: AxModelUsage;

Defined in: https://github.com/ax-llm/ax/blob/3d5aa8dac28a2637e4150f022dcd02e6fc3309f0/src/ax/ai/types.ts#L592


providerMetadata?

TypeScript
optional providerMetadata: AxProviderMetadata;

Defined in: https://github.com/ax-llm/ax/blob/3d5aa8dac28a2637e4150f022dcd02e6fc3309f0/src/ax/ai/types.ts#L590

Provider-specific metadata that should flow through adapters.


remoteId?

TypeScript
optional remoteId: string;

Defined in: https://github.com/ax-llm/ax/blob/3d5aa8dac28a2637e4150f022dcd02e6fc3309f0/src/ax/ai/types.ts#L582

Provider response/embedding request identifier when available.


remoteRequestId?

TypeScript
optional remoteRequestId: string;

Defined in: https://github.com/ax-llm/ax/blob/3d5aa8dac28a2637e4150f022dcd02e6fc3309f0/src/ax/ai/types.ts#L586

Provider request identifier, usually from response headers.


remoteSessionId?

TypeScript
optional remoteSessionId: string;

Defined in: https://github.com/ax-llm/ax/blob/3d5aa8dac28a2637e4150f022dcd02e6fc3309f0/src/ax/ai/types.ts#L588

Provider conversation/session identifier when distinct from Ax’s local sessionId.


sessionId?

TypeScript
optional sessionId: string;

Defined in: https://github.com/ax-llm/ax/blob/3d5aa8dac28a2637e4150f022dcd02e6fc3309f0/src/ax/ai/types.ts#L584

Ax-local session identifier used for conversation tracking.

Docs