Navigation
API > API/Plugins > API/Plugins/SemanticSearch > API/Plugins/SemanticSearch/ISemanticSearchModule
Description
Perform a hybrid search asynchronously via the index command queue. The callback is invoked on the game thread with the results.
| Name | SearchAsync |
| Type | function |
| Header File | /Engine/Plugins/Experimental/SemanticSearch/Source/SemanticSearch/Public/ISemanticSearchModule.h |
| Include Path | #include "ISemanticSearchModule.h" |
void SearchAsync
(
const FString & QueryText,
TConstArrayView< float > QueryEmbedding,
int32 K,
TConstArrayView< int64 > IDFilter,
float DistanceCutoff,
TFunction< void > &&)> Callback
)
Parameters
| Name | Remarks |
|---|---|
| DistanceCutoff | Forwarded to the vector search; results with Distance >= cutoff are dropped before fusion. Pass TNumericLimits |