Class AnthropicResponseMapper
java.lang.Object
dev.langchain4j.model.vertexai.anthropic.internal.mapper.AnthropicResponseMapper
-
Method Summary
Modifier and TypeMethodDescriptionstatic dev.langchain4j.data.message.AiMessagetoAiMessage(AnthropicResponse anthropicResponse) static dev.langchain4j.model.chat.response.ChatResponsetoChatResponse(AnthropicResponse anthropicResponse)
-
Method Details
-
toChatResponse
public static dev.langchain4j.model.chat.response.ChatResponse toChatResponse(AnthropicResponse anthropicResponse) -
toAiMessage
public static dev.langchain4j.data.message.AiMessage toAiMessage(AnthropicResponse anthropicResponse)
-