DVChunking class
How long fields are split before embedding.
Part of an index's identity: the same corpus chunked two ways is two sets of vectors, and changing it builds a new generation like changing the embedder does.
Constructors
- DVChunking({int maxCharacters = 800, int overlap = 100})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
no setter
- maxCharacters → int
-
final
- overlap → int
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
split(
String text) → List< DVTextChunk> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited