Class: Response
Response is the output of a LLM
Constructors
constructor
• new Response(response
, sourceNodes?
): Response
Parameters
Name | Type |
---|---|
response | string |
sourceNodes? | BaseNode <Metadata >[] |
Returns
Defined in
packages/core/src/Response.ts:11
Properties
metadata
• metadata: Record
<string
, unknown
> = {}
Defined in
packages/core/src/Response.ts:9
response
• response: string
Defined in
packages/core/src/Response.ts:7
sourceNodes
• Optional
sourceNodes: BaseNode
<Metadata
>[]
Defined in
packages/core/src/Response.ts:8