Questions tagged [chatgpt-api]
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.).
chatgpt-api
600
questions
0
votes
1
answer
23
views
openai.ChatCompletion issue
Seems I'm another person affected by the OpenAI migration issue. Can you please help me?
The full error:
OpenAI API error: You tried to access openai.ChatCompletion, but this is no longer supported in ...
-1
votes
0
answers
5
views
Is ChatGPT and LLM killing stackoverflow [migrated]
Last few months I have been using ChatGPT LLM for coding, debugging, troubleshooting.
Earlier I used to google / post my question on stackoverflow.
But now I have instant solution to most of my coding ...
0
votes
0
answers
19
views
Langchain RetrievalQAWithSourcesChain throwing ValueError: Missing some input keys: {'context'}
I have a multimodel RAG system that generates answers using the texts parsed from hundreds of PDFs that are retrieved from my Redis vectorstore. And I have several chains (RetrievalQAWithSourcesChain) ...
-4
votes
0
answers
39
views
Baffling! Trying to get ChatGPT to perform an API call to Google Calendar API but it sometimes get stuck saying it made an event but there is no event [closed]
I'm currently working on a GPT powered chatbot for a medical practice. One of our use cases are that the chatbot should be able to schedule appointments for patients via the chatbot in Google Calendar....
-1
votes
0
answers
19
views
chatgpt Assistant APIs not sending the image links
I've uploaded a document to the ChatGPT knowledgebase that includes both text and image links. The file is correctly linked through the vector store with my Assistant. However, the AI only returns the ...
0
votes
0
answers
20
views
How can i make ChatGPT Translate Promt? [closed]
I need to translate polish text into english but i have english example with some specified names or verbs needed in translation. How can i write a promt to get that specific translation? Or maybe you ...
0
votes
0
answers
28
views
Searching one document at a time from a vector store
In the context of my project, i'm making a chatbot that gives instructions to the user about the cv he uploaded (what to modify, what to add ...).
My current solution uses langchain since i want to ...
0
votes
1
answer
77
views
How do I format markdown chatgpt response in tkinter frame python?
Chatgpt sometimes responds in markdown language. Sometimes the respond contains ** ** which means the text in between should be bold and ### text ### which means that text is a heading. I want to ...
0
votes
0
answers
45
views
OpenAI API Assistant does not find file on the uploaded files
I am not able to get the Assistant API to find an uploaded file in the uploaded files. Could you please provide specific code to correct my code as I am quite poor coder?
I have tried to read API ...
0
votes
0
answers
19
views
Flask Gunicorn Open AI chatgpt proxy api timeout
I have a flask project, with gunicorn gevent setup to have async workers.
I have a Open AI chat-gpt proxy route which times out on large datasets api calls, more often than if I use same data directly ...
0
votes
0
answers
41
views
How to make OpenAI Assistant API to retrieve a word document?
I'm trying to make my chatgpt through the api to answer a question and generate a word document with the answer's content, but it says it can't do it. I have also tried telling it to generate an empty ...
-3
votes
0
answers
79
views
How to use OpenAI to process a large text file?
I have a daily file that I want to process using OpenAI API. This is a text file containing approximately 4 MB and 250,000 lines containing names. Using TikToken, I could calculate that each file has ...
0
votes
0
answers
53
views
Open AI API response failing
I am learning to integrate chat GPT in my Android app. However failing to get the response even after following the same code from a tutorial and using proper API key.
Code as follows:
public static ...
0
votes
0
answers
31
views
How to Integrate User Authentication for OpenAI API in a Google Chrome Extension
I am developing a Google Chrome extension that requires users to log in to their ChatGPT (OpenAI) account. Once authenticated, the extension will use their account credentials to call the OpenAI API, ...
-1
votes
2
answers
83
views
gpt-4o model provider errror
I am working on a projejct and when i run an X function, it fails. When I log my eventData, I get an error "Failed to find a model provider for model [gpt-4o]. Is it because I'm not a paid user? ...