调用ChatGPT API接口一直报错invalid_request_error(Invalid URL (POST /chat/completions)),但是用gpt-3.5-turbo 模型去获取答案又是对的 stackoverflow.com/quest 找到别人的解释发现,一些模型是属于ChatGPT 3的,需要用 v1/completions 接口去获取答案 对于ChatGPT 3.5的模型,则是用v1/chat/completions 接口去获取...
OK Guys. I need a hint I am posting literally this: { “model”: “gpt-3.5-turbo”, “messages”: [{“role”: “user”, “content”: “Hello!”}] } and still getting { “message”: “Invalid URL (POST /v1/chat/completions)”, “ty…
openai.error.InvalidRequestError: This is a chat model and not supported in the v1/completions endpoint. Did you mean to use v1/chat/completions? Hi im new to chat gpt api and im trying to make a chatbot with it. I keep gett...
No response PierrunoYTadded thebugSomething isn't workinglabelMar 31, 2023 Hi - this happens because your conversation is likely long. And for GPT-* models, the extension provided the whole history for better accuracy. However, we see the limitations that may bring and we made a change in...
I can chat with it now, but I feel that the quality of his answer is not as high as chatgpt3.5. What is the reason? I used AzureOpenAI, gpt-35-turbo Experimenting with different prompts would be the best way to improve the responses. It's currently biased towards a long running chat...
maybe someone can help me, i got this Api Request, and its working with "gpt-3.5-turbo" as the "model" with this API Endpoint "https://api.openai.com/v1/chat/completions", but as soon as i change it to "gpt-4 turbo", i got this error message, (look down) and i d...
[root]# curl https://api.openai.com/v1/chat/completions \>-H'Content-Type:application/json' \>-H'Authorization:Bearer OPENAI_API_KEY' \>-d'{"model":"gpt-3.5-turbo","messages":[{"role":"user","content":"Hello!"}]}'{"error":{"message":"Invalid URL (POST /v1/chat/completions...
Error encoutered: HTTP 400 (InvalidRequest) The deployed GPT model does not support Vision Enhancement and On Your Data (OYD) with images I am currently working on .NET to create a chat bot that accesses data from my Azure AI Search Index. My index is only composed of...
Model is gpt-4 (0613). Access url I'm using is: YAML Copy https://RESOURSE.openai.azure.com/openai/deployments/DEPLOYMENT/chat/completions?api-version=2023-07-01-preview Without headers answer from Azure is: YAML Copy "{"error":{"code":"401","message":"Access denied d...
I am trying to replicate the the add your own data feature for Azure Open AI following the instruction found here: Quickstart: Chat with Azure OpenAI models using your own data import os import openai import dotenv dotenv.load_dotenv() endpoint =…