Interface WeaviateProtoGenerative.GenerativeGoogleOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
WeaviateProtoGenerative.GenerativeGoogle,WeaviateProtoGenerative.GenerativeGoogle.Builder
- Enclosing class:
- WeaviateProtoGenerative
public static interface WeaviateProtoGenerative.GenerativeGoogleOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionoptional string api_endpoint = 9;com.google.protobuf.ByteStringoptional string api_endpoint = 9;optional string endpoint_id = 11;com.google.protobuf.ByteStringoptional string endpoint_id = 11;doubleoptional double frequency_penalty = 1;optional .weaviate.v1.TextArray images = 13;optional .weaviate.v1.TextArray images = 13;longoptional int64 max_tokens = 2;getModel()optional string model = 3;com.google.protobuf.ByteStringoptional string model = 3;doubleoptional double presence_penalty = 4;optional string project_id = 10;com.google.protobuf.ByteStringoptional string project_id = 10;optional string region = 12;com.google.protobuf.ByteStringoptional string region = 12;optional .weaviate.v1.TextArray stop_sequences = 8;optional .weaviate.v1.TextArray stop_sequences = 8;doubleoptional double temperature = 5;longgetTopK()optional int64 top_k = 6;doublegetTopP()optional double top_p = 7;booleanoptional string api_endpoint = 9;booleanoptional string endpoint_id = 11;booleanoptional double frequency_penalty = 1;booleanoptional .weaviate.v1.TextArray images = 13;booleanoptional int64 max_tokens = 2;booleanhasModel()optional string model = 3;booleanoptional double presence_penalty = 4;booleanoptional string project_id = 10;booleanoptional string region = 12;booleanoptional .weaviate.v1.TextArray stop_sequences = 8;booleanoptional double temperature = 5;booleanhasTopK()optional int64 top_k = 6;booleanhasTopP()optional double top_p = 7;Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasFrequencyPenalty
boolean hasFrequencyPenalty()optional double frequency_penalty = 1;- Returns:
- Whether the frequencyPenalty field is set.
-
getFrequencyPenalty
double getFrequencyPenalty()optional double frequency_penalty = 1;- Returns:
- The frequencyPenalty.
-
hasMaxTokens
boolean hasMaxTokens()optional int64 max_tokens = 2;- Returns:
- Whether the maxTokens field is set.
-
getMaxTokens
long getMaxTokens()optional int64 max_tokens = 2;- Returns:
- The maxTokens.
-
hasModel
boolean hasModel()optional string model = 3;- Returns:
- Whether the model field is set.
-
getModel
String getModel()optional string model = 3;- Returns:
- The model.
-
getModelBytes
com.google.protobuf.ByteString getModelBytes()optional string model = 3;- Returns:
- The bytes for model.
-
hasPresencePenalty
boolean hasPresencePenalty()optional double presence_penalty = 4;- Returns:
- Whether the presencePenalty field is set.
-
getPresencePenalty
double getPresencePenalty()optional double presence_penalty = 4;- Returns:
- The presencePenalty.
-
hasTemperature
boolean hasTemperature()optional double temperature = 5;- Returns:
- Whether the temperature field is set.
-
getTemperature
double getTemperature()optional double temperature = 5;- Returns:
- The temperature.
-
hasTopK
boolean hasTopK()optional int64 top_k = 6;- Returns:
- Whether the topK field is set.
-
getTopK
long getTopK()optional int64 top_k = 6;- Returns:
- The topK.
-
hasTopP
boolean hasTopP()optional double top_p = 7;- Returns:
- Whether the topP field is set.
-
getTopP
double getTopP()optional double top_p = 7;- Returns:
- The topP.
-
hasStopSequences
boolean hasStopSequences()optional .weaviate.v1.TextArray stop_sequences = 8;- Returns:
- Whether the stopSequences field is set.
-
getStopSequences
WeaviateProtoBase.TextArray getStopSequences()optional .weaviate.v1.TextArray stop_sequences = 8;- Returns:
- The stopSequences.
-
getStopSequencesOrBuilder
WeaviateProtoBase.TextArrayOrBuilder getStopSequencesOrBuilder()optional .weaviate.v1.TextArray stop_sequences = 8; -
hasApiEndpoint
boolean hasApiEndpoint()optional string api_endpoint = 9;- Returns:
- Whether the apiEndpoint field is set.
-
getApiEndpoint
String getApiEndpoint()optional string api_endpoint = 9;- Returns:
- The apiEndpoint.
-
getApiEndpointBytes
com.google.protobuf.ByteString getApiEndpointBytes()optional string api_endpoint = 9;- Returns:
- The bytes for apiEndpoint.
-
hasProjectId
boolean hasProjectId()optional string project_id = 10;- Returns:
- Whether the projectId field is set.
-
getProjectId
String getProjectId()optional string project_id = 10;- Returns:
- The projectId.
-
getProjectIdBytes
com.google.protobuf.ByteString getProjectIdBytes()optional string project_id = 10;- Returns:
- The bytes for projectId.
-
hasEndpointId
boolean hasEndpointId()optional string endpoint_id = 11;- Returns:
- Whether the endpointId field is set.
-
getEndpointId
String getEndpointId()optional string endpoint_id = 11;- Returns:
- The endpointId.
-
getEndpointIdBytes
com.google.protobuf.ByteString getEndpointIdBytes()optional string endpoint_id = 11;- Returns:
- The bytes for endpointId.
-
hasRegion
boolean hasRegion()optional string region = 12;- Returns:
- Whether the region field is set.
-
getRegion
String getRegion()optional string region = 12;- Returns:
- The region.
-
getRegionBytes
com.google.protobuf.ByteString getRegionBytes()optional string region = 12;- Returns:
- The bytes for region.
-
hasImages
boolean hasImages()optional .weaviate.v1.TextArray images = 13;- Returns:
- Whether the images field is set.
-
getImages
WeaviateProtoBase.TextArray getImages()optional .weaviate.v1.TextArray images = 13;- Returns:
- The images.
-
getImagesOrBuilder
WeaviateProtoBase.TextArrayOrBuilder getImagesOrBuilder()optional .weaviate.v1.TextArray images = 13;
-