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

Stablelm instead of openai? #2

Closed
ngmisl opened this issue Apr 21, 2023 · 1 comment
Closed

Stablelm instead of openai? #2

ngmisl opened this issue Apr 21, 2023 · 1 comment
Labels
question Further information is requested

Comments

@ngmisl
Copy link

ngmisl commented Apr 21, 2023

Would it be possible to add open and free openai alternatives via langchain?

Thinking about https://huggingface.co/spaces/stabilityai/stablelm-tuned-alpha-chat

Would be very cool and open up some nice use cases. In our case we'd add it to a game, can hardly ask gamers to add a paid openai key (or use my own) at this point ✌️

@ajndkr
Copy link
Owner

ajndkr commented Apr 21, 2023

Hi! based on the langchain docs, I think should be possible. You can find the relevant docs here: https://python.langchain.com/en/latest/modules/models/llms/integrations/huggingface_pipelines.html

I highly recommend asking the same on the langchain repo: https://github.com/hwchase17/langchain/issues as this repo is mainly towards adding FastAPI streaming support for LLM chains built with langchain.

@ajndkr ajndkr added the question Further information is requested label Apr 21, 2023
@ajndkr ajndkr closed this as completed Apr 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants