// Copyright (c) Microsoft. All rights reserved.
using Microsoft.Extensions.VectorData;
namespace MCPServer.Resources;
///
/// A simple data model for a record in the vector store.
///
public class TextDataModel
{
///
/// Unique identifier for the record.
///
[VectorStoreKey]
public required Guid Key { get; init; }
///
/// The text content of the record.
///
[VectorStoreData]
public required string Text { get; init; }
///
/// The embedding for the record.
///
[VectorStoreVector(1536)]
public required ReadOnlyMemory Embedding { get; init; }
}