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

使用text-generation-webui代替openai的接口会报接口错误 #73

Open
guozanhua218 opened this issue Dec 30, 2023 · 5 comments
Open

Comments

@guozanhua218
Copy link

chat error: [Errno 10061] Connect call failed ('127.0.0.1', 5005)
ws://127.0.0.1:5005/api/v1/stream

这个对应text-generation-webui的正确配置是什么?能否说明一下

@yakami129
Copy link
Owner

在FAQ中有说明,支持私有化模型,需要安装text-generation-webui,并且开启api插件

@guozanhua218
Copy link
Author

12:45:07-652219 INFO Starting Text generation web UI
12:45:07-655731 WARNING
You are potentially exposing the web UI to the entire internet without any access
password.
You can create one with the "--gradio-auth" flag like this:

                     --gradio-auth username:password

                     Make sure to replace username:password with your own.

12:45:07-657975 INFO Loading the extension "openai"
12:45:07-745587 INFO OpenAI-compatible API URL:

                     http://0.0.0.0:5000

12:45:07-746943 INFO Loading the extension "gallery"
Running on local URL: http://0.0.0.0:7860

我本地部署了text-generation-webui

@guozanhua218
Copy link
Author

我知道原因了,应该text-generation-webui的版本的问题,能否告知兼容text-generation-webui的哪个版本?新版本的接口已经调整了

@guozanhua218
Copy link
Author

在FAQ中有说明,支持私有化模型,需要安装text-generation-webui,并且开启api插件

能否说明你使用text-generation-webui的版本号

@yakami129
Copy link
Owner

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

No branches or pull requests

2 participants