Class: Response
Respone is the output of a LLM
Constructors
constructor
• new Response(response
, sourceNodes?
)
Parameters
Name | Type |
---|---|
response | string |
sourceNodes? | BaseNode <Metadata >[] |
Defined in
packages/core/src/Response.ts:10
Properties
response
• response: string
Defined in
packages/core/src/Response.ts:7
sourceNodes
• Optional
sourceNodes: BaseNode
<Metadata
>[]
Defined in
packages/core/src/Response.ts:8
Methods
getFormattedSources
▸ getFormattedSources(): void
Returns
void
Defined in
packages/core/src/Response.ts:15