Use this tag with Generative Pre-trained Transformer 4 (GPT-4). Do not use it with GPT-2/3 or the ad tagging library (GPT).
Questions tagged [gpt-4]
55 questions
0
votes
1 answer
GPT 4 API delays/data types
I got into the API beta and I'm playing around with an app. I got as far as getting the API connection working and doing what I want in pycharm, but have a couple problems:
I'm getting pretty slow response times and hitting a usage cap frequently…
0
votes
1 answer
OpenAI API error: "You didn't provide an API key. You need to provide your API key in an Authorization header using Bearer auth"
I am creating a PHP script to access Open Ai's API, to ask a query and get a response.
I am getting the following error:
You didn't provide an API key. You need to provide your API key in an
Authorization header using Bearer auth (i.e.…

sw123456
- 3,339
- 1
- 24
- 42
-1
votes
0 answers
How can chatGPT interact with an ERP SQL database in real-time fashion?
I'd like to simulate a salesman.
Let's say a customer asks "Hello, do you have this product?"...
How can chatGPT provide the answer based on the ERP database? How can it give the available stock and prices?
I've seen that you can "train" chatGPT by…

Ivan
- 1,967
- 4
- 34
- 60
-1
votes
0 answers
A LLM embeds my full project and continuously help me develop
TL;DR
What about embedding your whole repository and ask GPT to modify a part of it, reflecting changes each time?
Is there already a repo for doing it?
**I searched auto-gpt, but it is just automating the whole code generation process. It just…

user19023975
- 1
- 1
-1
votes
1 answer
OpenAI Chat Completions API: How do I use a function to store conversation memory?
I am trying to make a chatbot using OpenAI Function Calling. I have taken the basic example of getting the current weather condition, which was given in the documentation.
What I want to implement is to have a memory with it.
I tried to append into…

Muhammad Daniyal
- 11
- 5
-1
votes
1 answer
OpenAI GPT-4 API error: "The model: gpt-4 does not exist"
I have code as below, it works perfect with model gpt-3.5-turbo but not with gpt-4:
$your_prompt = "Prompt...."
// GPT-4 API call
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'https://api.openai.com/v1/chat/completions');
curl_setopt($ch,…
-2
votes
0 answers
Data classification against a large set of taxonomies with GPT
we're trying to use GPT-(3.5 or 4) to classify some data extracted from LinkedIn against a set of our own taxonomies.
For example, we get something like this for the profile:
{
"title": "Senior tender at bar",
"description": "My job was to serve…
-2
votes
1 answer
Issues Handling ChatGPT Streaming Response in Terminal using OpenAI API - Using Python, rich library
I am trying to integrate the openAi API model - gpt-4 with Terminal to enable ChatGPT. My objective is to receive streaming responses from ChatGPT and print them in the Terminal.
Although I can successfully print the entire response without…

sparker
- 1,666
- 4
- 21
- 35