Vertex AI v1 API - Class RagQuery (3.77.0)
Stay organized with collections
Save and categorize content based on your preferences.
public sealed class RagQuery : IMessage<RagQuery>, IEquatable<RagQuery>, IDeepCloneable<RagQuery>, IBufferMessage, IMessage
Reference documentation and code samples for the Vertex AI v1 API class RagQuery.
A query to retrieve relevant contexts.
Namespace
Google.Cloud.AIPlatform.V1
Assembly
Google.Cloud.AIPlatform.V1.dll
Constructors
public RagQuery(RagQuery other)
| Parameter |
| Name |
Description |
other |
RagQuery
|
Properties
HasText
public bool HasText { get; }
Gets whether the "text" field is set
| Property Value |
| Type |
Description |
bool |
|
public RagQuery.QueryOneofCase QueryCase { get; }
public RagRetrievalConfig RagRetrievalConfig { get; set; }
Optional. The retrieval config for the query.
Text
public string Text { get; set; }
Optional. The query in text format to get relevant contexts.
| Property Value |
| Type |
Description |
string |
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-09-01 UTC.
[null,null,["Last updated 2026-09-01 UTC."],[],[]]