Use for questions about the OpenAI ChatGPT (i.e., GPT-3.5) API. Do not use it for questions about any other OpenAI API (GPT-3, GPT-4, etc.).
Questions tagged [chatgpt-api]
377 questions
1
vote
1 answer
Can't run SQL scripts in Supabase while installing Quivr for first time
I am trying to follow the readme file instructions in order to install Quivr on my local machine through this link for the first time but I am stuck at step 4.
How may I run the following code in SQL given it is a shell command?
chmod +x…

moayad
- 11
- 2
1
vote
0 answers
How can I use Python databases to remember a phone conversation?
I am building a Python telephony phone server on Replit.com using APIs such as Twilio, Vocode, and ChatGPT. When you call the phone number, WhisperAI transcribes your speech, paste it into ChatGPT, then GPT will output an answer and have it be read…

Alessandro David
- 11
- 1
1
vote
0 answers
ChatGPT Api to limit response from provided attributes list
I have a list of attributes and I want chatgpt api to pick only relevant attributes from the provided list.
For example:
Request Prompt: "Create/Filter five relevant attributes of a Software Engineer from provided attributes list"
Response: GPT pick…

Mirza Saffan Baig
- 36
- 4
1
vote
0 answers
Errors when running Multi GPT
I have downloaded multi gpt and I am on mac. When i try to launch it using python -m multigpt I get AttributeError: module 'lmql' has no attribute 'query'
Traceback (most recent call last): File…

techfan
- 11
- 2
1
vote
1 answer
OpenAI GPT-4 API: Why does gpt-4-0613 hallucinate (make up) function parameters?
I'm using the gpt-4-0613 model, with a single function, and some custom data in the system prompt.
If the function is triggered very early in the chat, within the first two requests, it functions just fine, and the API asks the user for the…

LJF 2525
- 11
- 1
1
vote
1 answer
OpenAI gpt-3.5-turbo: Request failed with status code 400
does this method in node.js doesn't work anymore? Because back then it was working fine but now it doesn't work anymore and also this code is also based on their official docs which is this…

Mathew Agustin Bella
- 85
- 11
1
vote
0 answers
Why are ChatGPT API responses in Python much shorter and often more inaccurate than the actual ChatGPT response even when I use 3.5 turbo?
I am writing code where the ChatGPT API in Python responds to some questions. However, I noticed that when I asked these same questions in the ChatGPT website, I got answers which were more accurate on average and these answers also were longer and…

Vijayan Kumar
- 11
- 1
1
vote
2 answers
Format output text response from OpenAI API GPT
I am using GTP API to query HTML pages. I am trying to find a way to format the text output by the response from the GPT API. I am using Pinecone, Flask and LangChain.
For example, when the output is instructions about something, instead of making a…

William M
- 21
- 2
1
vote
0 answers
React JS Open AI Run server exit code 1 with npm run dev
I used WebStylePress' tutorial video on how to Build Your Own AI App in React. https://www.youtube.com/watch?v=u2rvIO4n92s. I am getting the weirdest error I can't find anywhere else. My 'npm run server exited with code 1' but only after I have…

Mary Love
- 11
- 2
1
vote
1 answer
My JavaScript chatgpt openai implementation keeps giving me an HTTP 429
Below is my code... and I am looking at the API usage on the openai console and I am way under the limit. I haven't ever been able to get a sucessful response. I am copying the code from their documentation. I keep getting a HTTP 429
const…

steve landiss
- 1,833
- 3
- 19
- 30
1
vote
0 answers
Entity extraction using custom rules with LLMs
I would like to perform a query on a database using natural language. However, running direct queries is not possible, and I have to do it via an API. For that, given a sentence, I'd like to extract some custom entities from it.
For example, if the…

theodre7
- 125
- 4
1
vote
1 answer
OpenAI Fine-tunes API: Why would I use LlamaIndex or LangChain instead of fine-tuning a model?
I'm just getting started with working with LLMs, particularly OpenAIs and other OSS models. There are a lot of guides on using LlamaIndex to create a store of all your documents and then query on them. I tried it out with a few sample documents, but…

Curunir The Colorful
- 33
- 5
1
vote
1 answer
azure ai studio error: Missing header 'chatgpt_url' in request
Greetings fellow developers,
I'm facing an obstacle while using the ChatGPT Playground Preview within Azure OpenAI Studio. As someone new to both OpenAI and the Azure platform, I'm seeking assistance with a specific error that I encountered. Here's…

Suma_Sai Paluri
- 11
- 2
1
vote
1 answer
I get HttpClient.Timeout Error in C# OpenAI library
I am using the OpenAI library in my c# project, but I get the following error if it does not receive a response for more than 100 seconds. I cannot add a custom httpclient element. how can I solve this problem. Thanks in advance.
‘system Threading…

Ahrika
- 11
- 3
1
vote
1 answer
How to get more detailed results sources with Langchain
I am trying to put together a simple "Q&A with sources" using Langchain and a specific URL as the source data. The URL consists of a single page with quite a lot of information on it.
The problem is that RetrievalQAWithSourcesChain is only giving me…

GSouth
- 15
- 1
- 4