Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LangChain LLM #38

Closed
lukestanley opened this issue Mar 23, 2023 · 2 comments
Closed

LangChain LLM #38

lukestanley opened this issue Mar 23, 2023 · 2 comments

Comments

@lukestanley
Copy link

Hi, I noticed there was interest in using LangChain with Alpaca and you did a lot of the work already needed for streaming so I wondered if I could built on it and make it into a LLM class, here is my progress so far, just on a Gist right now:
https://gist.github.com/lukestanley/6517823485f88a40a09979c1a19561ce
I mention it in this existing LangChain issue:
langchain-ai/langchain#1777
Obviously feel free to do what you like with my small contribution.

@plattenschieber
Copy link

Are you still considering this @lukestanley? Did you put something in production using serge internally?

@lukestanley
Copy link
Author

lukestanley commented Jul 14, 2023

LangChain's llama.cpp class now has good support for streaming. I extended the exiting class in the end and the code is live in LangChain Python and I'm happy with it. @plattenschieber

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants