Class: Response
Response is the output of a LLM
Constructors
constructor
• new Response(response
, sourceNodes?
): Response
Parameters
Name | Type |
---|---|
response | string |
sourceNodes? | NodeWithScore <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