Uses of Class
dev.langchain4j.model.vertexai.anthropic.internal.api.AnthropicRequest
Packages that use AnthropicRequest
Package
Description
-
Uses of AnthropicRequest in dev.langchain4j.model.vertexai.anthropic.internal.client
Methods in dev.langchain4j.model.vertexai.anthropic.internal.client with parameters of type AnthropicRequestModifier and TypeMethodDescriptionVertexAiAnthropicClient.generateContent(AnthropicRequest request, String modelName) voidVertexAiAnthropicClient.generateContentStreaming(AnthropicRequest request, String modelName, StreamingResponseHandler handler) Streaming version of generateContent - simulates streaming by chunking the response -
Uses of AnthropicRequest in dev.langchain4j.model.vertexai.anthropic.internal.mapper
Methods in dev.langchain4j.model.vertexai.anthropic.internal.mapper that return AnthropicRequestModifier and TypeMethodDescriptionstatic AnthropicRequestAnthropicRequestMapper.toRequest(String model, List<dev.langchain4j.data.message.ChatMessage> messages, List<dev.langchain4j.agent.tool.ToolSpecification> toolSpecs, dev.langchain4j.model.chat.request.ToolChoice toolChoice, Integer maxTokens, Double temperature, Double topP, Integer topK, List<String> stopSequences, Boolean enablePromptCaching)