Class ThreadSendParams

  • All Implemented Interfaces:

    
    public final class ThreadSendParams
    
                        

    The parameters of one turn of a message thread: the fields that the turn's request sends, and the messages of the conversation.

    The modifier of a turn receives the builder, which holds the thread's fields and messages. It takes every field of MessageCreateParams except thread, which the message thread sets on each request itself, and outputConfig and outputFormat, which ThreadCreateParams takes when the thread is created. Messages can be added, and the messages that the conversation holds cannot be replaced.