Class: StreamingAgentChatResponse
Constructors
constructor
• new StreamingAgentChatResponse(response
, sources?
, sourceNodes?
): StreamingAgentChatResponse
Parameters
Name | Type |
---|---|
response | AsyncIterable <Response > |
sources? | ToolOutput [] |
sourceNodes? | BaseNode <Metadata >[] |
Returns
Defined in
packages/core/src/engines/chat/types.ts:97
Properties
response
• response: AsyncIterable
<Response
>
Defined in
packages/core/src/engines/chat/types.ts:92
sourceNodes
• Optional
sourceNodes: BaseNode
<Metadata
>[]
Defined in
packages/core/src/engines/chat/types.ts:95
sources
• sources: ToolOutput
[]