public sealed class RagQuery : IMessage<RagQuery>, IEquatable<RagQuery>, IDeepCloneable<RagQuery>, IBufferMessage, IMessageReference documentation and code samples for the Vertex AI v1 API class RagQuery.
A query to retrieve relevant contexts.
Namespace
Google.Cloud.AIPlatform.V1Assembly
Google.Cloud.AIPlatform.V1.dll
Constructors
RagQuery()
public RagQuery()RagQuery(RagQuery)
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 |
|
QueryCase
public RagQuery.QueryOneofCase QueryCase { get; }| Property Value | |
|---|---|
| Type | Description |
RagQueryQueryOneofCase |
|
RagRetrievalConfig
public RagRetrievalConfig RagRetrievalConfig { get; set; }Optional. The retrieval config for the query.
| Property Value | |
|---|---|
| Type | Description |
RagRetrievalConfig |
|
Text
public string Text { get; set; }Optional. The query in text format to get relevant contexts.
| Property Value | |
|---|---|
| Type | Description |
string |
|