GPT4All Chat Model Integration
Feature request
Add GPT4All chat model integration to Langchain
Motivation
I am building a chat-bot using langchain and the openAI Chat model. However I have seen that langchain added around the 0.0.130 version the integration with GPT4All to use it as a LLM provider. I would like to know if there is any intention to add Gpt4All Chat Model to langchain in a near future. I would like to build the chat-bot using LLMs stored locally.
Your contribution
I have been going through all commits in order to upgrade from my local langchain version to the new one so I might be able to help a little bit if needed
Given the latest release of gpt4all, it might be straightforward to implement since it looks like they're copying the OpenAI API documentation as inspiration.
See: https://github.com/nomic-ai/gpt4all/blob/main/gpt4all-bindings/python/docs/gpt4all_chat.md
So you are saying that I should implement the chat-bot usgin the LLM instead of the methods from the BaseChatModel and use the Chat Model interfaces on my own or are you saying that this feature request can be easily added to langchain as a ChatModel?
Hi, @enricrp8! I'm Dosu, and I'm here to help the LangChain team manage their backlog. I wanted to let you know that we are marking this issue as stale.
From what I understand, you are requesting the integration of the GPT4All chat model into LangChain. You mentioned that you are building a chat-bot using LangChain and the OpenAI Chat model, but would like to use GPT4All as a language model provider. There has been a suggestion from westn that implementing this feature might be straightforward, as GPT4All seems to be copying the OpenAI API documentation.
Before we proceed, we would like to confirm if this issue is still relevant to the latest version of the LangChain repository. If it is, please let us know by commenting on this issue. Otherwise, feel free to close the issue yourself or it will be automatically closed in 7 days.
Thank you for your understanding and contribution to the LangChain project!
Sure, it would be a lot of help! Thanks
@baskaryan Could you please help @enricrp8 with their request to integrate the GPT4All chat model into LangChain? They are building a chat-bot using LangChain and the OpenAI Chat model, but would like to use GPT4All as a language model provider. Thank you!
Hi, @enricrp8
I'm helping the LangChain team manage our backlog and am marking this issue as stale. It seems that you are requesting the integration of the GPT4All chat model into Langchain for building a chat-bot. There has been some discussion around the potential straightforward implementation of this feature, and I have requested help from baskaryan to address the integration request. However, it's unclear whether this issue is still relevant to the latest version of the LangChain repository.
Could you please confirm if this issue is still relevant to the latest version of the LangChain repository? If it is, please let the LangChain team know by commenting on the issue. Otherwise, feel free to close the issue yourself, or it will be automatically closed in 7 days. Thank you!