Interface AgentExecutor.ChatService

Enclosing interface:
AgentExecutor

public static interface AgentExecutor.ChatService
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.ai.chat.client.ChatClient
     
    default org.springframework.ai.chat.model.ChatResponse
    execute(List<org.springframework.ai.chat.messages.Message> messages)
     
    default reactor.core.publisher.Flux<org.springframework.ai.chat.model.ChatResponse>
    streamingExecute(List<org.springframework.ai.chat.messages.Message> messages)
     
  • Method Details

    • chatClient

      org.springframework.ai.chat.client.ChatClient chatClient()
    • execute

      default org.springframework.ai.chat.model.ChatResponse execute(List<org.springframework.ai.chat.messages.Message> messages)
    • streamingExecute

      default reactor.core.publisher.Flux<org.springframework.ai.chat.model.ChatResponse> streamingExecute(List<org.springframework.ai.chat.messages.Message> messages)