PersistentAI API Documentation / @persistent-ai/fireflow-nodes / extractTextContent
Function: extractTextContent()
extractTextContent(
content):string
Defined in: packages/fireflow-nodes/src/nodes/ai/llm-types.ts:110
Extract text content from a LangChain chunk's content field. Handles both string content and array-of-blocks content.
Parameters
content
string | any[]
Returns
string