Parameters for semantic similarity search based retrieval.
searchQuerystring
Required. Query to use for similarity search retrieval. If provided, then the parent ReasoningEngine must have ReasoningEngineContextSpec.MemoryBankConfig.SimilaritySearchConfig set.
topKinteger
Optional. The maximum number of memories to return. The service may return fewer than this value. If unspecified, at most 3 memories will be returned. The maximum value is 100; values above 100 will be coerced to 100.
| JSON representation |
|---|
{ "searchQuery": string, "topK": integer } |