copyWith method
VectorStoreRetrieverOptions
copyWith({
- VectorStoreSearchType? searchType,
- int? concurrencyLimit,
override
Creates a copy of this RunnableOptions with the given fields replaced by the new values.
Implementation
@override
VectorStoreRetrieverOptions copyWith({
final VectorStoreSearchType? searchType,
final int? concurrencyLimit,
}) {
return VectorStoreRetrieverOptions(
searchType: searchType ?? this.searchType,
concurrencyLimit: concurrencyLimit ?? this.concurrencyLimit,
);
}