public interface ChatLanguageModel
Modifier and Type | Method and Description |
---|---|
Result<AiMessage> |
sendMessages(ChatMessage... messages) |
Result<AiMessage> |
sendMessages(List<ChatMessage> messages) |
Result<AiMessage> |
sendMessages(List<ChatMessage> messages,
List<ToolSpecification> toolSpecifications) |
Result<AiMessage> |
sendUserMessage(Object structuredPrompt) |
Result<AiMessage> |
sendUserMessage(Prompt prompt) |
Result<AiMessage> |
sendUserMessage(String text) |
Result<AiMessage> sendMessages(ChatMessage... messages)
Result<AiMessage> sendMessages(List<ChatMessage> messages)
Result<AiMessage> sendMessages(List<ChatMessage> messages, List<ToolSpecification> toolSpecifications)
Copyright © 2023. All rights reserved.