Use LibreChat to connect with LangChain? #2256
Replies: 3 comments 5 replies
-
Thanks for checking out the project! Yes, if it’s OpenAI compatible, it can be used without changing any code. See the documentation on the custom config file and custom endpoints. I’ll send links in a few minutes. |
Beta Was this translation helpful? Give feedback.
-
Thankyou very much! Does anybody know how to expose an OpenAI compatible API with LangChain? LangServe does not seem to Support it. Another Idea would be to embedd my LangChain App into a Tool that can bei registered as a LibreChat Plugin. Is this possible? |
Beta Was this translation helpful? Give feedback.
-
I had this idea several times but didn’t manage to find an example, until now. Besides LibreChat plugins using Langchain JavaScript library, a Python alternativ requires a Flask or FastAPI backend that wraps the OpenAI standard and handles the Langchain implementation. For the wrapper, I’ve found Muissibg is the Langchain integration, preferably with streaming support, but I think that’s doable with the template. Let me know what you think 🐰🪺 |
Beta Was this translation helpful? Give feedback.
-
First of all: Thank you for your amazing Work Here!
I was playing around a bit with LangChain apps and I wonder If I can Connect my favorite Chat Client with a LangChain App. I think it would be necessary to expose an OpenAI compatible REST endpoint in order to connect with LibreChat.
Ist it possible to do so?
Beta Was this translation helpful? Give feedback.
All reactions