Uses of Class
dev.langchain4j.model.chat.request.ResponseFormat
Packages that use ResponseFormat
Package
Description
-
Uses of ResponseFormat in dev.langchain4j.internal
Methods in dev.langchain4j.internal with parameters of type ResponseFormatModifier and TypeMethodDescriptionstatic void
ChatRequestValidationUtils.validate
(ResponseFormat responseFormat) -
Uses of ResponseFormat in dev.langchain4j.model.azure
Methods in dev.langchain4j.model.azure with parameters of type ResponseFormatModifier and TypeMethodDescriptionAzureOpenAiChatModel.Builder.responseFormat
(ResponseFormat responseFormat) AzureOpenAiStreamingChatModel.Builder.responseFormat
(ResponseFormat responseFormat) -
Uses of ResponseFormat in dev.langchain4j.model.chat.request
Fields in dev.langchain4j.model.chat.request declared as ResponseFormatModifier and TypeFieldDescriptionstatic final ResponseFormat
ResponseFormat.JSON
static final ResponseFormat
ResponseFormat.TEXT
Methods in dev.langchain4j.model.chat.request that return ResponseFormatModifier and TypeMethodDescriptionResponseFormat.Builder.build()
ChatRequest.responseFormat()
ChatRequestParameters.responseFormat()
DefaultChatRequestParameters.responseFormat()
Methods in dev.langchain4j.model.chat.request with parameters of type ResponseFormatModifier and TypeMethodDescriptionChatRequest.Builder.responseFormat
(ResponseFormat responseFormat) DefaultChatRequestParameters.Builder.responseFormat
(ResponseFormat responseFormat) -
Uses of ResponseFormat in dev.langchain4j.model.googleai
Methods in dev.langchain4j.model.googleai with parameters of type ResponseFormatModifier and TypeMethodDescriptionGoogleAiGeminiChatModel.GoogleAiGeminiChatModelBuilder.responseFormat
(ResponseFormat responseFormat) GoogleAiGeminiStreamingChatModel.GoogleAiGeminiStreamingChatModelBuilder.responseFormat
(ResponseFormat responseFormat) Constructors in dev.langchain4j.model.googleai with parameters of type ResponseFormatModifierConstructorDescriptionGoogleAiGeminiChatModel
(String apiKey, String modelName, Integer maxRetries, Double temperature, Integer topK, Integer seed, 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) Deprecated, for removal: This API element is subject to removal in a future version.GoogleAiGeminiStreamingChatModel
(String apiKey, String modelName, Double temperature, Integer topK, Double topP, Integer seed, 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) Deprecated, for removal: This API element is subject to removal in a future version.please useGoogleAiGeminiStreamingChatModel(GoogleAiGeminiStreamingChatModelBuilder)
instead -
Uses of ResponseFormat in dev.langchain4j.model.mistralai
Methods in dev.langchain4j.model.mistralai with parameters of type ResponseFormatModifier and TypeMethodDescriptionMistralAiChatModel.MistralAiChatModelBuilder.responseFormat
(ResponseFormat responseFormat) MistralAiStreamingChatModel.MistralAiStreamingChatModelBuilder.responseFormat
(ResponseFormat responseFormat) Constructors in dev.langchain4j.model.mistralai with parameters of type ResponseFormatModifierConstructorDescriptionMistralAiChatModel
(HttpClientBuilder httpClientBuilder, String baseUrl, String apiKey, String modelName, Double temperature, Double topP, Integer maxTokens, Boolean safePrompt, Integer randomSeed, ResponseFormat responseFormat, Duration timeout, Boolean logRequests, Boolean logResponses, Integer maxRetries, Set<Capability> supportedCapabilities) Deprecated, for removal: This API element is subject to removal in a future version.Please useMistralAiChatModel.builder()
instead.MistralAiChatModel
(String baseUrl, String apiKey, String modelName, Double temperature, Double topP, Integer maxTokens, Boolean safePrompt, Integer randomSeed, ResponseFormat responseFormat, Duration timeout, Boolean logRequests, Boolean logResponses, Integer maxRetries, Set<Capability> supportedCapabilities) Deprecated, for removal: This API element is subject to removal in a future version.Please useMistralAiChatModel.builder()
instead.MistralAiStreamingChatModel
(HttpClientBuilder httpClientBuilder, String baseUrl, String apiKey, String modelName, Double temperature, Double topP, Integer maxTokens, Boolean safePrompt, Integer randomSeed, ResponseFormat responseFormat, Boolean logRequests, Boolean logResponses, Duration timeout, Set<Capability> supportedCapabilities) Deprecated, for removal: This API element is subject to removal in a future version.please useMistralAiStreamingChatModel.builder()
insteadMistralAiStreamingChatModel
(String baseUrl, String apiKey, String modelName, Double temperature, Double topP, Integer maxTokens, Boolean safePrompt, Integer randomSeed, ResponseFormat responseFormat, Boolean logRequests, Boolean logResponses, Duration timeout, Set<Capability> supportedCapabilities) Deprecated, for removal: This API element is subject to removal in a future version.please useMistralAiStreamingChatModel(MistralAiStreamingChatModelBuilder)
instead -
Uses of ResponseFormat in dev.langchain4j.model.mistralai.internal.api
Methods in dev.langchain4j.model.mistralai.internal.api that return ResponseFormat -
Uses of ResponseFormat in dev.langchain4j.model.mistralai.internal.mapper
Methods in dev.langchain4j.model.mistralai.internal.mapper with parameters of type ResponseFormatModifier and TypeMethodDescriptionstatic MistralAiResponseFormat
MistralAiMapper.toMistralAiResponseFormat
(ResponseFormat responseFormat) -
Uses of ResponseFormat in dev.langchain4j.model.ollama
Methods in dev.langchain4j.model.ollama with parameters of type ResponseFormatModifier and TypeMethodDescriptionOllamaLanguageModel.OllamaLanguageModelBuilder.responseFormat
(ResponseFormat responseFormat) OllamaStreamingLanguageModel.OllamaStreamingLanguageModelBuilder.responseFormat
(ResponseFormat responseFormat) -
Uses of ResponseFormat in dev.langchain4j.model.openai.internal
Methods in dev.langchain4j.model.openai.internal that return ResponseFormatModifier and TypeMethodDescriptionstatic ResponseFormat
OpenAiUtils.fromOpenAiResponseFormat
(String responseFormat)
GoogleAiGeminiChatModel(GoogleAiGeminiChatModelBuilder)
instead