public static class CohereParameterDefinition.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CohereParameterDefinition |
build() |
CohereParameterDefinition.Builder |
copy(CohereParameterDefinition model) |
CohereParameterDefinition.Builder |
description(String description)
The description of the parameter.
|
CohereParameterDefinition.Builder |
isRequired(Boolean isRequired)
Denotes whether the parameter is always present (required) or not.
|
CohereParameterDefinition.Builder |
type(String type)
The type of the parameter.
|
public CohereParameterDefinition.Builder description(String description)
The description of the parameter.
description
- the value to setpublic CohereParameterDefinition.Builder type(String type)
The type of the parameter. Must be a valid Python type.
type
- the value to setpublic CohereParameterDefinition.Builder isRequired(Boolean isRequired)
Denotes whether the parameter is always present (required) or not. Defaults to not required.
isRequired
- the value to setpublic CohereParameterDefinition build()
public CohereParameterDefinition.Builder copy(CohereParameterDefinition model)
Copyright © 2016–2024. All rights reserved.