Class GitHubModelsChatModel
java.lang.Object
dev.langchain4j.model.github.GitHubModelsChatModel
- All Implemented Interfaces:
ChatModel
Represents a language model, hosted on GitHub Models, that has a chat completion interface, such as gpt-4o.
Mandatory parameters for initialization are: gitHubToken (the GitHub Token used for authentication) and modelName (the name of the model to use). You can also provide your own ChatCompletionsClient instance, if you need more flexibility.
The list of models, as well as the documentation and a playground to test them, can be found at https://github.com/marketplace/models