Interface ChatClient

All Superinterfaces:
ModelClient<Prompt,ChatResponse>
All Known Implementing Classes:
AzureOpenAiChatClient, BedrockAnthropicChatClient, BedrockCohereChatClient, BedrockLlama2ChatClient, BedrockTitanChatClient, HuggingfaceChatClient, OllamaChatClient, OpenAiChatClient, VertexAiChatClient
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface ChatClient extends ModelClient<Prompt,ChatResponse>
  • Method Summary

    Modifier and Type
    Method
    Description
    default String
    call(String message)
     
    call(Prompt prompt)
    Executes a method call to the AI model.