Uses of Class
dev.langchain4j.model.chat.request.ResponseFormat
Package
Description
-
Uses of ResponseFormat in dev.langchain4j.model.azure
Modifier and TypeMethodDescriptionAzureOpenAiChatModel.Builder.responseFormat
(ResponseFormat responseFormat) ModifierConstructorDescriptionAzureOpenAiChatModel
(com.azure.ai.openai.OpenAIClient client, String deploymentName, Tokenizer tokenizer, Integer maxTokens, Double temperature, Double topP, Map<String, Integer> logitBias, String user, List<String> stop, Double presencePenalty, Double frequencyPenalty, List<com.azure.ai.openai.models.AzureChatExtensionConfiguration> dataSources, com.azure.ai.openai.models.AzureChatEnhancementConfiguration enhancements, Long seed, com.azure.ai.openai.models.ChatCompletionsResponseFormat chatCompletionsResponseFormat, ResponseFormat responseFormat, Boolean strictJsonSchema, List<ChatModelListener> listeners, Set<Capability> capabilities) AzureOpenAiChatModel
(String endpoint, String serviceVersion, com.azure.core.credential.KeyCredential keyCredential, String deploymentName, Tokenizer tokenizer, Integer maxTokens, Double temperature, Double topP, Map<String, Integer> logitBias, String user, List<String> stop, Double presencePenalty, Double frequencyPenalty, List<com.azure.ai.openai.models.AzureChatExtensionConfiguration> dataSources, com.azure.ai.openai.models.AzureChatEnhancementConfiguration enhancements, Long seed, com.azure.ai.openai.models.ChatCompletionsResponseFormat chatCompletionsResponseFormat, ResponseFormat responseFormat, Boolean strictJsonSchema, Duration timeout, Integer maxRetries, com.azure.core.http.ProxyOptions proxyOptions, boolean logRequestsAndResponses, List<ChatModelListener> listeners, String userAgentSuffix, Map<String, String> customHeaders, Set<Capability> capabilities) AzureOpenAiChatModel
(String endpoint, String serviceVersion, com.azure.core.credential.TokenCredential tokenCredential, String deploymentName, Tokenizer tokenizer, Integer maxTokens, Double temperature, Double topP, Map<String, Integer> logitBias, String user, List<String> stop, Double presencePenalty, Double frequencyPenalty, List<com.azure.ai.openai.models.AzureChatExtensionConfiguration> dataSources, com.azure.ai.openai.models.AzureChatEnhancementConfiguration enhancements, Long seed, com.azure.ai.openai.models.ChatCompletionsResponseFormat chatCompletionsResponseFormat, ResponseFormat responseFormat, Boolean strictJsonSchema, Duration timeout, Integer maxRetries, com.azure.core.http.ProxyOptions proxyOptions, boolean logRequestsAndResponses, List<ChatModelListener> listeners, String userAgentSuffix, Map<String, String> customHeaders, Set<Capability> capabilities) AzureOpenAiChatModel
(String endpoint, String serviceVersion, String apiKey, String deploymentName, Tokenizer tokenizer, Integer maxTokens, Double temperature, Double topP, Map<String, Integer> logitBias, String user, List<String> stop, Double presencePenalty, Double frequencyPenalty, List<com.azure.ai.openai.models.AzureChatExtensionConfiguration> dataSources, com.azure.ai.openai.models.AzureChatEnhancementConfiguration enhancements, Long seed, com.azure.ai.openai.models.ChatCompletionsResponseFormat chatCompletionsResponseFormat, ResponseFormat responseFormat, Boolean strictJsonSchema, Duration timeout, Integer maxRetries, com.azure.core.http.ProxyOptions proxyOptions, boolean logRequestsAndResponses, List<ChatModelListener> listeners, String userAgentSuffix, Map<String, String> customHeaders, Set<Capability> capabilities) -
Uses of ResponseFormat in dev.langchain4j.model.chat
Modifier and TypeMethodDescriptionstatic void
ChatLanguageModel.validate
(ResponseFormat responseFormat) -
Uses of ResponseFormat in dev.langchain4j.model.chat.request
Modifier and TypeFieldDescriptionstatic final ResponseFormat
ResponseFormat.JSON
static final ResponseFormat
ResponseFormat.TEXT
Modifier and TypeMethodDescriptionResponseFormat.Builder.build()
ChatRequest.responseFormat()
ChatRequestParameters.responseFormat()
DefaultChatRequestParameters.responseFormat()
Modifier and TypeMethodDescriptionChatRequest.Builder.responseFormat
(ResponseFormat responseFormat) DefaultChatRequestParameters.Builder.responseFormat
(ResponseFormat responseFormat) -
Uses of ResponseFormat in dev.langchain4j.model.googleai
Modifier and TypeFieldDescriptionprotected final ResponseFormat
BaseGeminiChatModel.responseFormat
protected final ResponseFormat
BaseGeminiChatModel.responseFormat
ModifierConstructorDescriptionGoogleAiGeminiChatModel
(String apiKey, String modelName, Integer maxRetries, Double temperature, Integer topK, Double topP, Integer maxOutputTokens, Duration timeout, ResponseFormat responseFormat, List<String> stopSequences, GeminiFunctionCallingConfig toolConfig, Boolean allowCodeExecution, Boolean includeCodeExecutionOutput, Boolean logRequestsAndResponses, List<GeminiSafetySetting> safetySettings, List<ChatModelListener> listeners) GoogleAiGeminiStreamingChatModel
(String apiKey, String modelName, Double temperature, Integer topK, Double topP, Integer maxOutputTokens, Duration timeout, ResponseFormat responseFormat, List<String> stopSequences, GeminiFunctionCallingConfig toolConfig, Boolean allowCodeExecution, Boolean includeCodeExecutionOutput, Boolean logRequestsAndResponses, List<GeminiSafetySetting> safetySettings, List<ChatModelListener> listeners, Integer maxRetries) -
Uses of ResponseFormat in dev.langchain4j.model.ollama
Modifier and TypeMethodDescriptionOllamaChatModel.OllamaChatModelBuilder.responseFormat
(ResponseFormat responseFormat) OllamaLanguageModel.OllamaLanguageModelBuilder.responseFormat
(ResponseFormat responseFormat) OllamaStreamingChatModel.OllamaStreamingChatModelBuilder.responseFormat
(ResponseFormat responseFormat) OllamaStreamingLanguageModel.OllamaStreamingLanguageModelBuilder.responseFormat
(ResponseFormat responseFormat) ModifierConstructorDescriptionOllamaChatModel
(String baseUrl, String modelName, Double temperature, Integer topK, Double topP, Double repeatPenalty, Integer seed, Integer numPredict, Integer numCtx, List<String> stop, String format, ResponseFormat responseFormat, Duration timeout, Integer maxRetries, Map<String, String> customHeaders, Boolean logRequests, Boolean logResponses, List<ChatModelListener> listeners, Set<Capability> supportedCapabilities) OllamaLanguageModel
(String baseUrl, String modelName, Double temperature, Integer topK, Double topP, Double repeatPenalty, Integer seed, Integer numPredict, Integer numCtx, List<String> stop, String format, ResponseFormat responseFormat, Duration timeout, Integer maxRetries, Boolean logRequests, Boolean logResponses, Map<String, String> customHeaders) OllamaStreamingChatModel
(String baseUrl, String modelName, Double temperature, Integer topK, Double topP, Double repeatPenalty, Integer seed, Integer numPredict, Integer numCtx, List<String> stop, String format, ResponseFormat responseFormat, Duration timeout, Boolean logRequests, Boolean logResponses, Map<String, String> customHeaders, List<ChatModelListener> listeners, Set<Capability> supportedCapabilities) OllamaStreamingLanguageModel
(String baseUrl, String modelName, Double temperature, Integer topK, Double topP, Double repeatPenalty, Integer seed, Integer numPredict, Integer numCtx, List<String> stop, String format, ResponseFormat responseFormat, Duration timeout, Boolean logRequests, Boolean logResponses, Map<String, String> customHeaders)