BaseLlmResponseContext class abstract

Represents all of or part of an LLM's response to a query.

Implementers

Constructors

BaseLlmResponseContext()

Properties

hashCode int
The hash code for this object.
no setterinherited
isClosed bool
Tracks whether this object has been properly released via dispose.
no setterinherited
isDone bool
Indicates when an LLM is done responding. Only useful when calling the asynchronous methods.
no setter
responseArray List<String>
The core of the LLM's response from this query. If the asynchronous API is used, this response value should be chained with subsequent values until the LLM emits one with isDone set to true.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose() → void
Releases all resources for this object.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited