public sealed class RagContexts.Types.Context : IMessage<RagContexts.Types.Context>, IEquatable<RagContexts.Types.Context>, IDeepCloneable<RagContexts.Types.Context>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud AI Platform v1beta1 API class RagContexts.Types.Context.
For vertex RagStore, if the file is imported from Cloud Storage or Google
Drive, source_uri will be original file URI in Cloud Storage or Google
Drive; if file is uploaded, source_uri will be file display name.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-04-09 UTC."],[[["This document provides reference information for the `RagContexts.Types.Context` class within the Google Cloud AI Platform v1beta1 API, specifically for .NET developers."],["The `RagContexts.Types.Context` class represents a context of a query and inherits from the `object` class while implementing multiple interfaces, such as `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The class offers two constructors: a default constructor, and a constructor that takes another `RagContexts.Types.Context` instance as a parameter for making copies."],["Key properties of the `RagContexts.Types.Context` class include `Distance`, `SourceUri`, `SparseDistance`, and `Text`, which provide data related to the context, such as distances, source information, and the actual text chunk."]]],[]]