VectorStoreConfig class

Configuration for creating a vector store.

Annotations
  • @immutable

Constructors

VectorStoreConfig({List<String>? fileIds, ChunkingStrategy? chunkingStrategy, Map<String, String>? metadata})
Creates a VectorStoreConfig.
const
VectorStoreConfig.fromJson(Map<String, dynamic> json)
Creates a VectorStoreConfig from JSON.
factory

Properties

chunkingStrategy ChunkingStrategy?
The chunking strategy to use.
final
fileIds List<String>?
File IDs to add to the vector store.
final
hashCode int
The hash code for this object.
no setteroverride
metadata Map<String, String>?
Metadata for the vector store.
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
toJson() Map<String, dynamic>
Converts to JSON.
toString() String
A string representation of this object.
override

Operators

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