VectorStoreTextSearch.Builder<Record> Class
- java.
lang. Object - com.
microsoft. semantickernel. data. VectorStoreTextSearch. Builder<Record>
- com.
Type Parameters
- Record
The record type.
public static class VectorStoreTextSearch.Builder<Record>
A builder for the VectorStoreTextSearch<Record> class.
Constructor Summary
| Constructor | Description | |
|---|---|---|
| Builder() | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Vector |
build()
Builds the VectorStoreTextSearch<Record> instance. |
| Builder<Record> |
withOptions(VectorStoreTextSearchOptions options)
Sets the options. |
| Builder<Record> |
withResultMapper(TextSearchResultMapper resultMapper)
Sets the result mapper. |
| Builder<Record> |
withStringMapper(TextSearchStringMapper stringMapper)
Sets the string mapper. |
| Builder<Record> |
withTextEmbeddingGenerationService(TextEmbeddingGenerationService textEmbeddingGenerationService)
Sets the text embedding generation service. |
| Builder<Record> |
withVectorizedSearch(VectorizedSearch<Record> vectorizedSearch)
Sets the vectorized search. |
Methods inherited from java.lang.Object
Constructor Details
Builder
public Builder()
Method Details
build
public VectorStoreTextSearch
Builds the VectorStoreTextSearch<Record> instance.
Returns:
withOptions
public VectorStoreTextSearch.Builder
Sets the options.
Parameters:
Returns:
withResultMapper
public VectorStoreTextSearch.Builder
Sets the result mapper.
Parameters:
Returns:
withStringMapper
public VectorStoreTextSearch.Builder
Sets the string mapper.
Parameters:
Returns:
withTextEmbeddingGenerationService
public VectorStoreTextSearch.Builder
Sets the text embedding generation service.
Parameters:
Returns:
withVectorizedSearch
public VectorStoreTextSearch.Builder
Sets the vectorized search.
Parameters:
Returns: