Class: Response
Response is the output of a LLM
Constructors
new Response()
new Response(
response
,sourceNodes
?):Response
Parameters
• response: string
• sourceNodes?: NodeWithScore
<Metadata
>[]
Returns
Source
packages/core/src/Response.ts:11
Properties
metadata
metadata:
Record
<string
,unknown
> ={}
Source
packages/core/src/Response.ts:9
response
response:
string
Source
packages/core/src/Response.ts:7
sourceNodes?
optional
sourceNodes:NodeWithScore
<Metadata
>[]
Source
packages/core/src/Response.ts:8