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-03-31 UTC."],[[["This documentation is for the `RagContexts.Types.Context` class within the Google Cloud AI Platform v1beta1 API, providing reference information and code samples."],["`RagContexts.Types.Context` 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 includes constructors for creating a new `Context` object, either as an empty object or by cloning another `RagContexts.Types.Context` object."],["Key properties of `RagContexts.Types.Context` include `Distance`, `SourceUri`, `SparseDistance`, and `Text`, which provide details about the context's relevance and source."],["The most recent version of this class is 1.0.0-beta21, and version 1.0.0-beta20 is also documented and accessible."]]],[]]