Class CreateAssistantRequest.Builder
java.lang.Object
io.github.stefanbratanov.jvm.openai.CreateAssistantRequest.Builder
- Enclosing class:
- CreateAssistantRequest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()description(String description) instructions(String instructions)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
model
- Parameters:
model- ID of the model to use.
-
name
- Parameters:
name- The name of the assistant. The maximum length is 256 characters.
-
description
- Parameters:
description- The description of the assistant. The maximum length is 512 characters.
-
instructions
- Parameters:
instructions- The system instructions that the assistant uses. The maximum length is 32768 characters.
-
tool
- Parameters:
tool- tool to append to the list of tools enabled on the assistant.
-
tools
- Parameters:
tools- tools to append to the list of tools enabled on the assistant.
-
fileIds
- Parameters:
fileIds- A list of file IDs attached to this assistant. There can be a maximum of 20 files attached to the assistant. Files are ordered by their creation date in ascending order.
-
metadata
- Parameters:
metadata- Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maxium of 512 characters long.
-
build
-