Skip to content

extractText

extractText(message): string

Defined in: .build/typescript/packages/core/src/utils/llms.ts:22

Extracts just the text whether from a multi-modal message a single text message or a query

The message to extract text from.

string | MessageContentDetail[] | QueryBundle

string

The extracted text