Cloud AI Platform v1 API - Class RagQuery (3.13.0)

public sealed class RagQuery : IMessage<RagQuery>, IEquatable<RagQuery>, IDeepCloneable<RagQuery>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud AI Platform v1 API class RagQuery.

A query to retrieve relevant contexts.

Inheritance

object > RagQuery

Namespace

Google.Cloud.AIPlatform.V1

Assembly

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