AssembledContext class
Assembled context ready for LLM consumption.
Constructors
-
AssembledContext({required String text, required List<
ChunkSearchResult> includedChunks, required int estimatedTokens, required int remainingBudget}) -
const
Properties
- estimatedTokens → int
-
Approximate token count used.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
includedChunks
→ List<
ChunkSearchResult> -
Chunks that were included in the context.
final
- remainingBudget → int
-
Tokens remaining from budget.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- text → String
-
The combined text of all selected chunks.
final
Methods
-
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