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