This error message indicates that you are trying to use the 'v1/completions' endpoint with a chat model, which is not supported. Instead, you should use the 'v1/chat/completions' endpoint. This endpoint is specifically designed for chat models and will allow you to generate responses in a conversational format. Please update your code to use the correct endpoint to resolve this error.

OpenAI InvalidRequestError: Using Chat Model with v1/completions Endpoint

原文地址: https://www.cveoy.top/t/topic/naEv 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录