Class: AgentChatResponse
Constructors
constructor
• new AgentChatResponse(response
, sources?
, sourceNodes?
): AgentChatResponse
Parameters
Name | Type |
---|---|
response | string |
sources? | ToolOutput [] |
sourceNodes? | NodeWithScore <Metadata >[] |
Returns
Defined in
packages/core/src/engines/chat/types.ts:70
Properties
response
• response: string
Defined in
packages/core/src/engines/chat/types.ts:66
sourceNodes
• Optional
sourceNodes: NodeWithScore
<Metadata
>[]
Defined in
packages/core/src/engines/chat/types.ts:68
sources
• sources: ToolOutput
[]
Defined in
packages/core/src/engines/chat/types.ts:67