Class OpenAIResponsesChatModel

java.lang.Object
io.agentscope.core.model.ChatModelBase
io.agentscope.extensions.model.openaiofficial.OpenAIResponsesChatModel
All Implemented Interfaces:
io.agentscope.core.model.Model

public class OpenAIResponsesChatModel extends io.agentscope.core.model.ChatModelBase
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    protected reactor.core.publisher.Flux<io.agentscope.core.model.ChatResponse>
    doStream(List<io.agentscope.core.message.Msg> messages, List<io.agentscope.core.model.ToolSchema> tools, io.agentscope.core.model.GenerateOptions options)
     
     

    Methods inherited from class io.agentscope.core.model.ChatModelBase

    getContextWindowSize, setContextWindowSize, setNativeStructuredOutput, setNativeStructuredOutputWithTools, stream, supportsNativeStructuredOutput, supportsNativeStructuredOutputWithTools

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • getModelName

      public String getModelName()
    • doStream

      protected reactor.core.publisher.Flux<io.agentscope.core.model.ChatResponse> doStream(List<io.agentscope.core.message.Msg> messages, List<io.agentscope.core.model.ToolSchema> tools, io.agentscope.core.model.GenerateOptions options)
      Specified by:
      doStream in class io.agentscope.core.model.ChatModelBase
    • builder

      public static OpenAIResponsesChatModel.Builder builder()