Package dev.langchain4j.model.openai
Class OpenAiStreamingLanguageModel.OpenAiStreamingLanguageModelBuilder
java.lang.Object
dev.langchain4j.model.openai.OpenAiStreamingLanguageModel.OpenAiStreamingLanguageModelBuilder
- Enclosing class:
OpenAiStreamingLanguageModel
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
customHeaders
(Map<String, String> customHeaders) logRequests
(Boolean logRequests) logResponses
(Boolean logResponses) modelName
(OpenAiLanguageModelName modelName) organizationId
(String organizationId) temperature
(Double temperature) toString()
-
Constructor Details
-
OpenAiStreamingLanguageModelBuilder
public OpenAiStreamingLanguageModelBuilder()
-
-
Method Details
-
modelName
-
modelName
public OpenAiStreamingLanguageModel.OpenAiStreamingLanguageModelBuilder modelName(OpenAiLanguageModelName modelName) -
baseUrl
-
apiKey
-
organizationId
public OpenAiStreamingLanguageModel.OpenAiStreamingLanguageModelBuilder organizationId(String organizationId) -
temperature
public OpenAiStreamingLanguageModel.OpenAiStreamingLanguageModelBuilder temperature(Double temperature) -
timeout
-
proxy
-
logRequests
public OpenAiStreamingLanguageModel.OpenAiStreamingLanguageModelBuilder logRequests(Boolean logRequests) -
logResponses
public OpenAiStreamingLanguageModel.OpenAiStreamingLanguageModelBuilder logResponses(Boolean logResponses) -
tokenizer
public OpenAiStreamingLanguageModel.OpenAiStreamingLanguageModelBuilder tokenizer(Tokenizer tokenizer) -
customHeaders
public OpenAiStreamingLanguageModel.OpenAiStreamingLanguageModelBuilder customHeaders(Map<String, String> customHeaders) -
build
-
toString
-