BuildRequest class
User intent for one build run.
Constructors
-
BuildRequest({required String outDir, required Set<
BuildTarget> targets, bool runValidationFirst = true, EmbeddingPlan? embedding, ConsumerPackVariant? consumerPackVariant}) -
const
Properties
- consumerPackVariant → ConsumerPackVariant?
-
Selects the BuildTarget.consumerPack shape. Defaults to
ConsumerPackVariant.ragOnly when the target is requested without
an explicit choice.
final
- embedding → EmbeddingPlan?
-
Required when BuildTarget.embedded is requested. The provider
computes embeddings for every chunk; the runner attaches them to
KnowledgeDocument.metadata['embedding'].final - hashCode → int
-
The hash code for this object.
no setterinherited
- outDir → String
-
Absolute (recommended) or relative path. Created if missing.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- runValidationFirst → bool
-
When true (default) Converter.run calls AssetValidator.validateAll
before producing any artifact and aborts on errors.
final
-
targets
→ Set<
BuildTarget> -
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited