// Copyright (c) Microsoft. All rights reserved. namespace Memory.VectorStoreLangchainInterop; /// /// Data model class that matches the data model used by Langchain. /// This data model is not decorated with vector store attributes since instead /// a different record definition is used with each vector store implementation. /// /// /// This class is used with the sample. /// public class LangchainDocument { /// /// The unique identifier of the record. /// public TKey Key { get; set; } /// /// The text content for which embeddings have been generated. /// public string Content { get; set; } /// /// The source of the content. E.g. where to find the original content. /// public string Source { get; set; } /// /// The embedding for the . /// public ReadOnlyMemory Embedding { get; set; } }