com.microsoft.semantickernel.data.vectorsearch.VectorizableTextSearch Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of semantickernel-api Show documentation
Show all versions of semantickernel-api Show documentation
Defines the public interface for the Semantic Kernel
// Copyright (c) Microsoft. All rights reserved.
package com.microsoft.semantickernel.data.vectorsearch;
import com.microsoft.semantickernel.data.vectorstorage.options.VectorSearchOptions;
import reactor.core.publisher.Mono;
/**
* A vectorizable text search.
*
* @param The record type.
*/
public interface VectorizableTextSearch {
/**
* Vectorizable text search. This method searches for records that are similar to the given text.
*
* @param searchText The text to search with.
* @param options The options to use for the search.
* @return VectorSearchResults.
*/
Mono> searchAsync(String searchText,
VectorSearchOptions options);
}