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

Add support for oobabooga text generation webui API #132

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

NillPointer
Copy link

@NillPointer NillPointer commented Jan 20, 2024

The text-geneartion-webui by oobabooga allows you to run language models (like ChatGPT) locally on your machine (or on some external server). It already features a drop-in replacement for OpenAI API as specified here

The only changes required is to:

  • Allow requests to be sent with ChatCompletionRequestMessage interface
  • Add the character field to the request #4320

Have tested this locally, all seems fine. This shouldn't affect the existing OpenAI ChatGPT functionality, but will allow people to host/run local language models on servers/their machines.

@briansunter
Copy link
Owner

Looks great. I'm out of town right now but I'll test it next week.

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

Successfully merging this pull request may close these issues.

None yet

2 participants