Functions
extractText
extractText(
message
):string
Defined in: packages/core/src/utils/llms.ts:22
Extracts just the text whether from a multi-modal message a single text message or a query
Parameters
message
The message to extract text from.
string
| QueryBundle
| MessageContentDetail
[]
Returns
string
The extracted text