public interface RagQueryOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
RagQuery.QueryCase |
getQueryCase() |
int |
getSimilarityTopK()
Optional.
|
String |
getText()
Optional.
|
com.google.protobuf.ByteString |
getTextBytes()
Optional.
|
boolean |
hasText()
Optional.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasText()
Optional. The query in text format to get relevant contexts.
string text = 1 [(.google.api.field_behavior) = OPTIONAL];String getText()
Optional. The query in text format to get relevant contexts.
string text = 1 [(.google.api.field_behavior) = OPTIONAL];com.google.protobuf.ByteString getTextBytes()
Optional. The query in text format to get relevant contexts.
string text = 1 [(.google.api.field_behavior) = OPTIONAL];int getSimilarityTopK()
Optional. The number of contexts to retrieve.
int32 similarity_top_k = 2 [(.google.api.field_behavior) = OPTIONAL];RagQuery.QueryCase getQueryCase()
Copyright © 2024 Google LLC. All rights reserved.