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

Update to support v1/chat/completions (for gpt-3.5-turbo and gpt-4) #3

Open
quinncomendant opened this issue Mar 30, 2023 · 2 comments

Comments

@quinncomendant
Copy link

Currently, it seems verdverm/chatgpt doesn't support newer OpenAPI chat models?

❯ chatgpt -m gpt-4 -q "Who are you?"
error, status code: 404, message: This is a chat model and not supported in the v1/completions endpoint. Did you mean to use v1/chat/completions?
@verdverm
Copy link
Owner

verdverm commented Mar 30, 2023

indeed, I have already started the work towards adding support, still local

I'm also thinking about supporting the embeddings and edit APIs too

@verdverm
Copy link
Owner

@quinncomendant updated the interactive mode to support the chat based models

Let me know if it works for you

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