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:72
Properties
response
• response: string
Defined in
packages/core/src/engines/chat/types.ts:68
sourceNodes
• Optional
sourceNodes: BaseNode
<Metadata
>[]
Defined in
packages/core/src/engines/chat/types.ts:70
sources
• sources: ToolOutput
[]
Defined in
packages/core/src/engines/chat/types.ts:69
Methods
_getFormattedSources
▸ _getFormattedSources(): void
Returns
void
Defined in
packages/core/src/engines/chat/types.ts:82
toString
▸ toString(): string
Returns
string