Class EvalCreateParams.DataSourceConfig.StoredCompletions
-
- All Implemented Interfaces:
@Deprecated(message = "deprecated") public final class EvalCreateParams.DataSourceConfig.StoredCompletions
Deprecated in favor of LogsDataSourceConfig.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classEvalCreateParams.DataSourceConfig.StoredCompletions.BuilderA builder for StoredCompletions.
public final classEvalCreateParams.DataSourceConfig.StoredCompletions.MetadataMetadata filters for the stored completions data source.
-
Method Summary
Modifier and Type Method Description final JsonValue_type()The type of data source. final Optional<EvalCreateParams.DataSourceConfig.StoredCompletions.Metadata>metadata()Metadata filters for the stored completions data source. final JsonField<EvalCreateParams.DataSourceConfig.StoredCompletions.Metadata>_metadata()Returns the raw JSON value of metadata. final Map<String, JsonValue>_additionalProperties()final EvalCreateParams.DataSourceConfig.StoredCompletions.BuildertoBuilder()final EvalCreateParams.DataSourceConfig.StoredCompletionsvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static EvalCreateParams.DataSourceConfig.StoredCompletions.Builderbuilder()Returns a mutable builder for constructing an instance of StoredCompletions. -
-
Method Detail
-
_type
final JsonValue _type()
The type of data source. Always
stored_completions.Expected to always return the following:
JsonValue.from("stored_completions")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
metadata
final Optional<EvalCreateParams.DataSourceConfig.StoredCompletions.Metadata> metadata()
Metadata filters for the stored completions data source.
-
_metadata
final JsonField<EvalCreateParams.DataSourceConfig.StoredCompletions.Metadata> _metadata()
Returns the raw JSON value of metadata.
Unlike metadata, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final EvalCreateParams.DataSourceConfig.StoredCompletions.Builder toBuilder()
-
validate
final EvalCreateParams.DataSourceConfig.StoredCompletions validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static EvalCreateParams.DataSourceConfig.StoredCompletions.Builder builder()
Returns a mutable builder for constructing an instance of StoredCompletions.
-
-
-
-