MCPcopy Create free account
hub / github.com/FlowiseAI/Flowise / invoke

Method invoke

packages/components/src/utils.ts:330–332  ·  view source on GitHub ↗
(input: AIMessageChunk, _options?: Partial<RunnableConfig>)

Source from the content-addressed store, hash-verified

328 lc_namespace = ['flowise', 'output_parsers']
329
330 async invoke(input: AIMessageChunk, _options?: Partial<RunnableConfig>): Promise<string> {
331 return extractTextFromChunk(input)
332 }
333
334 async *_transform(generator: AsyncGenerator<AIMessageChunk>): AsyncGenerator<string> {
335 for await (const chunk of generator) {

Callers 7

generateFollowUpPromptsFunction · 0.45
_generateSelectedToolsFunction · 0.45
generateNodesEdgesFunction · 0.45
runLLMEvaluatorsMethod · 0.45
queryVectorStoreFunction · 0.45
generateDocStoreToolDescFunction · 0.45

Calls 1

extractTextFromChunkFunction · 0.85

Tested by

no test coverage detected