MemoryQueryResult Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Copy of metadata associated with a memory entry.
public class MemoryQueryResult
type MemoryQueryResult = class
Public Class MemoryQueryResult
- Inheritance
-
MemoryQueryResult
Constructors
MemoryQueryResult(MemoryRecordMetadata, Double, Nullable<ReadOnlyMemory<Single>>) |
Create a new instance of MemoryQueryResult |
Properties
Embedding |
Nullable embedding associated with the metadata returned for by a query. |
Metadata |
Whether the source data used to calculate embeddings are stored in the local storage provider or is available through an external service, such as web site, MS Graph, etc. |
Relevance |
Search relevance, from 0 to 1, where 1 means perfect match. |
Methods
FromMemoryRecord(MemoryRecord, Double) |
Creates instance of MemoryQueryResult based on MemoryRecord and search relevance. |