Cloud AI Platform v1beta1 API - Class RagQuery (1.0.0-beta01)

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

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

A query to retrieve relevant contexts.

Inheritance

object > RagQuery

Namespace

Google.Cloud.AIPlatform.V1Beta1

Assembly

Google.Cloud.AIPlatform.V1Beta1.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

SimilarityTopK

public int SimilarityTopK { get; set; }

Optional. The number of contexts to retrieve.

Property Value
Type Description
int

Text

public string Text { get; set; }

Optional. The query in text format to get relevant contexts.

Property Value
Type Description
string