Package org.mlflow.api.proto
Interface Service.CreatePromptOptimizationJobOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Service.CreatePromptOptimizationJob,Service.CreatePromptOptimizationJob.Builder
- Enclosing class:
- Service
public static interface Service.CreatePromptOptimizationJobOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionConfiguration for the optimization job.Configuration for the optimization job.ID of the MLflow experiment to track the optimization job in.com.google.protobuf.ByteStringID of the MLflow experiment to track the optimization job in.URI of the source prompt to optimize (e.g., "prompts:/my-prompt/1").com.google.protobuf.ByteStringURI of the source prompt to optimize (e.g., "prompts:/my-prompt/1").getTags(int index) Optional tags for the optimization job.intOptional tags for the optimization job.Optional tags for the optimization job.getTagsOrBuilder(int index) Optional tags for the optimization job.Optional tags for the optimization job.booleanConfiguration for the optimization job.booleanID of the MLflow experiment to track the optimization job in.booleanURI of the source prompt to optimize (e.g., "prompts:/my-prompt/1").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
-
hasExperimentId
boolean hasExperimentId()ID of the MLflow experiment to track the optimization job in.
optional string experiment_id = 1;- Returns:
- Whether the experimentId field is set.
-
getExperimentId
String getExperimentId()ID of the MLflow experiment to track the optimization job in.
optional string experiment_id = 1;- Returns:
- The experimentId.
-
getExperimentIdBytes
com.google.protobuf.ByteString getExperimentIdBytes()ID of the MLflow experiment to track the optimization job in.
optional string experiment_id = 1;- Returns:
- The bytes for experimentId.
-
hasSourcePromptUri
boolean hasSourcePromptUri()URI of the source prompt to optimize (e.g., "prompts:/my-prompt/1").
optional string source_prompt_uri = 2;- Returns:
- Whether the sourcePromptUri field is set.
-
getSourcePromptUri
String getSourcePromptUri()URI of the source prompt to optimize (e.g., "prompts:/my-prompt/1").
optional string source_prompt_uri = 2;- Returns:
- The sourcePromptUri.
-
getSourcePromptUriBytes
com.google.protobuf.ByteString getSourcePromptUriBytes()URI of the source prompt to optimize (e.g., "prompts:/my-prompt/1").
optional string source_prompt_uri = 2;- Returns:
- The bytes for sourcePromptUri.
-
hasConfig
boolean hasConfig()Configuration for the optimization job.
optional .mlflow.PromptOptimizationJobConfig config = 3;- Returns:
- Whether the config field is set.
-
getConfig
PromptOptimization.PromptOptimizationJobConfig getConfig()Configuration for the optimization job.
optional .mlflow.PromptOptimizationJobConfig config = 3;- Returns:
- The config.
-
getConfigOrBuilder
PromptOptimization.PromptOptimizationJobConfigOrBuilder getConfigOrBuilder()Configuration for the optimization job.
optional .mlflow.PromptOptimizationJobConfig config = 3; -
getTagsList
List<PromptOptimization.PromptOptimizationJobTag> getTagsList()Optional tags for the optimization job.
repeated .mlflow.PromptOptimizationJobTag tags = 4; -
getTags
Optional tags for the optimization job.
repeated .mlflow.PromptOptimizationJobTag tags = 4; -
getTagsCount
int getTagsCount()Optional tags for the optimization job.
repeated .mlflow.PromptOptimizationJobTag tags = 4; -
getTagsOrBuilderList
List<? extends PromptOptimization.PromptOptimizationJobTagOrBuilder> getTagsOrBuilderList()Optional tags for the optimization job.
repeated .mlflow.PromptOptimizationJobTag tags = 4; -
getTagsOrBuilder
Optional tags for the optimization job.
repeated .mlflow.PromptOptimizationJobTag tags = 4;
-