Class: EngineResponse
Implements
Constructors
new EngineResponse()
private
new EngineResponse(chatResponse
,stream
,sourceNodes
?):EngineResponse
Parameters
• chatResponse: ChatResponse
<object
>
• stream: boolean
• sourceNodes?: NodeWithScore
<Metadata
>[]
Returns
Source
packages/llamaindex/src/EngineResponse.ts:19
Properties
#stream
private
#stream:boolean
Source
packages/llamaindex/src/EngineResponse.ts:17
message
message:
ChatMessage
Implementation of
Source
packages/llamaindex/src/EngineResponse.ts:14
metadata
metadata:
Record
<string
,unknown
> ={}
Source
packages/llamaindex/src/EngineResponse.ts:12
raw
raw:
null
|object
Raw response from the LLM
If LLM response an iterable of chunks, this will be an array of those chunks
Implementation of
Source
packages/llamaindex/src/EngineResponse.ts:15
sourceNodes?
optional
sourceNodes:NodeWithScore
<Metadata
>[]