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

v1/chat/completions error not found #32

Closed
PROFESSORLUXRY opened this issue Apr 23, 2024 · 1 comment
Closed

v1/chat/completions error not found #32

PROFESSORLUXRY opened this issue Apr 23, 2024 · 1 comment

Comments

@PROFESSORLUXRY
Copy link

Hello , i m used api adress ip adress/v1/chat/completions but i m see error not found
any ideas ? or this is adress not cupported ?
Screenshot_1

@Amm1rr
Copy link
Owner

Amm1rr commented Apr 23, 2024

This address has been implemented and is available right now.

Could you please check this endpoint at http://localhost:8000/docs and make a call to this endpoint from there? Also, please check http://localhost:8000/WebAI

What is output of the command below:

curl -X 'POST' \
  'http://localhost:8000/v1/chat/completions' \
  -H 'accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
  "message": "What is your name?",
  "stream": false
}'

Could you provide more information, such as your operating system?

@Amm1rr Amm1rr closed this as not planned Won't fix, can't repro, duplicate, stale May 22, 2024
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