Class ModifyAssistantRequest.Builder

java.lang.Object
io.github.stefanbratanov.jvm.openai.ModifyAssistantRequest.Builder
Enclosing class:
ModifyAssistantRequest

public static class ModifyAssistantRequest.Builder extends Object
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • model

      public ModifyAssistantRequest.Builder model(String model)
      Parameters:
      model - ID of the model to use.
    • name

      Parameters:
      name - The name of the assistant. The maximum length is 256 characters.
    • description

      public ModifyAssistantRequest.Builder description(String description)
      Parameters:
      description - The description of the assistant. The maximum length is 512 characters.
    • instructions

      public ModifyAssistantRequest.Builder instructions(String 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

      public ModifyAssistantRequest.Builder tools(List<Tool> tools)
      Parameters:
      tools - tools to append to the list of tools enabled on the assistant.
    • fileIds

      public ModifyAssistantRequest.Builder fileIds(List<String> 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

      public ModifyAssistantRequest.Builder metadata(Map<String,String> 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

      public ModifyAssistantRequest build()