Package dev.langchain4j.model.openai
Class OpenAiChatModel
java.lang.Object
dev.langchain4j.model.openai.OpenAiChatModel
- All Implemented Interfaces:
ChatLanguageModel
Represents an OpenAI language model with a chat completion interface, such as gpt-4o-mini and o3.
You can find description of parameters here.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface dev.langchain4j.model.chat.ChatLanguageModel
chat, chat, chat, chat
-
Constructor Details
-
OpenAiChatModel
-
-
Method Details
-
defaultRequestParameters
- Specified by:
defaultRequestParameters
in interfaceChatLanguageModel
-
supportedCapabilities
- Specified by:
supportedCapabilities
in interfaceChatLanguageModel
-
doChat
- Specified by:
doChat
in interfaceChatLanguageModel
-
listeners
- Specified by:
listeners
in interfaceChatLanguageModel
-
provider
- Specified by:
provider
in interfaceChatLanguageModel
-
builder
-