LangChain model integration

#LangChain can work with chatGPT, bedrockChat, ChatAnyscale, etc. Is there a way to integrate it with my own GPT model? For example set up my own server with chatGpt2, or Gpt4All? or are we limited to the list of options available in the API (which is quite big already)

Hi @danielf

Welcome to the community.

You can follow this tutorial i guess:

Custom LLM | :parrot::link: Langchain

I hope this help

best regards

that is what I was looking for.
thank you so much.

1 Like

You welcome.

Don’t forget to mark the answer as a solution in order to help other learners whom might be facing the same question.

Best regards

sorry, but I can’t find the checkbox to mark the question as solved. it is not on the main topic nor on the answer.
even editing the message or the topic doesn’t show any checkbox.


that’s ok.