类的使用
io.agentscope.core.agent.Event
使用Event的程序包
-
io.agentscope.core.agent中Event的使用
返回变量类型为Event的类型的io.agentscope.core.agent中的方法修饰符和类型方法说明final reactor.core.publisher.Flux<Event> AgentBase.stream(List<Msg> msgs, StreamOptions options) Stream with multiple input messages.final reactor.core.publisher.Flux<Event> AgentBase.stream(List<Msg> msgs, StreamOptions options, com.fasterxml.jackson.databind.JsonNode schema) Stream with multiple input messages using a JSON schema.final reactor.core.publisher.Flux<Event> AgentBase.stream(List<Msg> msgs, StreamOptions options, Class<?> structuredModel) Stream with multiple input messages.default reactor.core.publisher.Flux<Event> StreamableAgent.stream(StreamOptions options) Stream execution events based on current state without adding new input.default reactor.core.publisher.Flux<Event> StreamableAgent.stream(StreamOptions options, Class<?> structuredModel) Stream execution events with structured output support based on current state.default reactor.core.publisher.Flux<Event> Stream execution events for a single message with default options.default reactor.core.publisher.Flux<Event> StreamableAgent.stream(Msg msg, StreamOptions options) Stream execution events for a single message.default reactor.core.publisher.Flux<Event> StreamableAgent.stream(Msg msg, StreamOptions options, com.fasterxml.jackson.databind.JsonNode schema) Stream execution events for a single message with JSON schema support.default reactor.core.publisher.Flux<Event> StreamableAgent.stream(Msg msg, StreamOptions options, Class<?> structuredModel) Stream execution events for a single message with structured output support.default reactor.core.publisher.Flux<Event> Stream execution events with structured output support based on current state.default reactor.core.publisher.Flux<Event> Stream execution events for multiple messages with default options.reactor.core.publisher.Flux<Event> StreamableAgent.stream(List<Msg> msgs, StreamOptions options) Stream execution events in real-time as the agent processes the input.reactor.core.publisher.Flux<Event> StreamableAgent.stream(List<Msg> msgs, StreamOptions options, com.fasterxml.jackson.databind.JsonNode schema) Stream execution events with JSON schema support.reactor.core.publisher.Flux<Event> StreamableAgent.stream(List<Msg> msgs, StreamOptions options, Class<?> structuredModel) Stream execution events with structured output support. -
io.agentscope.core.pipeline中Event的使用
返回变量类型为Event的类型的io.agentscope.core.pipeline中的方法修饰符和类型方法说明reactor.core.publisher.Flux<Event> Stream execution events from all agents with default options.reactor.core.publisher.Flux<Event> FanoutPipeline.stream(Msg input, StreamOptions options) Stream execution events from all agents with specified options.reactor.core.publisher.Flux<Event> FanoutPipeline.stream(Msg input, StreamOptions options, Class<?> structuredOutputClass) Stream execution events from all agents with structured output support.