openplayground
openplayground copied to clipboard
model error gpt4
please help , when i ask for question in chatgpt 4 , in half of answer my question i got pop up message that model error no response from openai after 60 seconds ! please help
I try again and again, I got same error message , and my balance is reducing $ . Please help .
Is this in the OSS or nat.dev?
It's in nat.dev website
I can't generate my code , when it's answer my question in half of answer I got this message and stop answering, I do it many times , not sucses to get full answer of my question! And every try I lose $ from my main balance ! Please help and fix this issue . If you want in p.m I send to you my subscription email in nat.dev
my prompt question i use is 3,310 tokens based on https://platform.openai.com/tokenizer
this is my prompt if you want to try
edit my DOS code so when i add_client it give for every client unique number start from 1 so when i want to want to view_clients i will see all clients with unique number too , and add capability when i search_client i can search from client unique number too , and when i add_record , i can add from client unique number too . and add option view clients records so i search of client using his phone or unique number or first name and second name and third name and family name to view all his records . give me full DOS code , here the code :
@echo off
color 4f
setlocal EnableDelayedExpansion
REM Initializing the client array and variables
set "CLIENT[0]="
set "FNAME[0]="
set "SNAME[0]="
set "TNAME[0]="
set "FAMILY_NAME[0]="
set "AGE[0]=0"
set "PHONE[0]="
set "INFO[0]="
set "CLIENT_COUNT=0"
set "CLIENT_FNAME="
set "CLIENT_SNAME="
set "CLIENT_TNAME="
set "CLIENT_FAMILY_NAME="
set "CLIENT_AGE="
set "CLIENT_PHONE="
set "CLIENT_INFO="
REM Check if the client data file exists, and if it does, load the data
if exist clients.txt (
for /f "tokens=1-8" %%a in (clients.txt) do (
set /a CLIENT_COUNT+=1
set "FNAME[!CLIENT_COUNT!]=%%a"
set "SNAME[!CLIENT_COUNT!]=%%b"
set "TNAME[!CLIENT_COUNT!]=%%c"
set "FAMILY_NAME[!CLIENT_COUNT!]=%%d"
set "AGE[!CLIENT_COUNT!]=%%e"
set "PHONE[!CLIENT_COUNT!]=%%f"
set "INFO[!CLIENT_COUNT!]=%%g"
set "DATE_TIME[!CLIENT_COUNT!]=%%h"
)
)
:menu
cls
echo ***************************************************
echo ***** نظام إدارة عملاء الأطباء *****
echo ***************************************************
echo.
echo 1. إضافة عميل جديد
echo 2. عرض قائمة العملاء
echo 3. البحث عن عميل
echo 4. إضافة سجل جديد لعميل موجود
echo 5. الخروج
echo.
set /p CHOICE=الرجاء إدخال الخيار المطلوب:
if "%CHOICE%" equ "1" goto add_client
if "%CHOICE%" equ "2" goto view_clients
if "%CHOICE%" equ "3" goto search_client
if "%CHOICE%" equ "4" goto add_record
if "%CHOICE%" equ "5" goto end
:add_client
cls
echo ***************************************************
echo ***** إضافة عميل جديد إلى النظام *****
echo ***************************************************
echo.
set /p CLIENT_FNAME=الرجاء إدخال الاسم الأول:
set /p CLIENT_SNAME=الرجاء إدخال الاسم الثاني:
set /p CLIENT_TNAME=الرجاء إدخال الاسم الثالث:
set /p CLIENT_FAMILY_NAME=الرجاء إدخال اسم العائلة:
set /p CLIENT_AGE=الرجاء إدخال عمر العميل:
set /p CLIENT_PHONE=الرجاء إدخال رقم الهاتف للعميل:
set /p CLIENT_INFO=الرجاء إدخال أية معلومات إضافية:
REM Incrementing the client count and adding the new client to the array
set /a CLIENT_COUNT+=1
set "FNAME[!CLIENT_COUNT!]=%CLIENT_FNAME%"
set "SNAME[!CLIENT_COUNT!]=%CLIENT_SNAME%"
set "TNAME[!CLIENT_COUNT!]=%CLIENT_TNAME%"
set "FAMILY_NAME[!CLIENT_COUNT!]=%CLIENT_FAMILY_NAME%"
set "AGE[!CLIENT_COUNT!]=%CLIENT_AGE%"
set "PHONE[!CLIENT_COUNT!]=%CLIENT_PHONE%"
set "INFO[!CLIENT_COUNT!]=%CLIENT_INFO%"
set "DATE_TIME[!CLIENT_COUNT!]=!date! !time!"
echo تمت إضافة العميل بنجاح!
pause
goto menu
:view_clients
cls
echo ***************************************************
echo ***** ملخص قائمة العملاء *****
echo ***************************************************
echo.
echo الاسم الأول ا الاسم الثاني ا الاسم الثالث ا اسم العائلة ا العمر ا رقم الهاتف ا المعلومات الإضافية ا التاريخ والوقت
echo ------------------------------------------------------------------------------------------------------------------
REM Printing the client list
for /l %%i in (1,1,%CLIENT_COUNT%) do (
echo !FNAME[%%i]! !SNAME[%%i]! !TNAME[%%i]! !FAMILY_NAME[%%i]! !AGE[%%i]! !PHONE[%%i]! !INFO[%%i]! !DATE_TIME[%%i]!
)
echo ------------------------------------------------------------------------------------------------------------------
pause
goto menu
:search_client
cls
echo ***************************************************
echo ***** البحث عن عميل *****
echo ***************************************************
echo.
echo 1. البحث باستخدام الاسم
echo 2. البحث باستخدام رقم الهاتف
echo.
set /p SEARCH_CHOICE=الرجاء إدخال الخيار المطلوب:
if "%SEARCH_CHOICE%" equ "1" goto search_name
if "%SEARCH_CHOICE%" equ "2" goto search_phone
:search_name
cls
echo ***************************************************
echo ***** البحث باستخدام الاسم *****
echo ***************************************************
echo.
set /p SEARCH_FNAME=الرجاء إدخال الاسم الأول:
set /p SEARCH_SNAME=الرجاء إدخال الاسم الثاني (اختياري):
set /p SEARCH_FAMILY_NAME=الرجاء إدخال اسم العائلة (اختياري):
set "FILTERED_CLIENTS="
for /l %%i in (1,1,%CLIENT_COUNT%) do (
if "!FNAME[%%i]!" == "%SEARCH_FNAME%" (
if "!SNAME[%%i]!" == "%SEARCH_SNAME%" (
if "!FAMILY_NAME[%%i]!" == "%SEARCH_FAMILY_NAME%" (
set "FILTERED_CLIENTS=!FILTERED_CLIENTS!!FNAME[%%i]! !SNAME[%%i]! !TNAME[%%i]! !FAMILY_NAME[%%i]! !AGE[%%i]! !PHONE[%%i]! !INFO[%%i]! !DATE_TIME[%%i]!
"
)
)
)
)
if not defined FILTERED_CLIENTS (
echo.
echo لم يتم العثور على أية نتائج.
echo.
) else (
echo.
echo العملاء المطابقون:
echo.
echo الاسم الأول ا الاسم الثاني ا الاسم الثالث ا اسم العائلة ا العمر ا رقم الهاتف ا المعلومات الإضافية ا التاريخ والوقت
echo ------------------------------------------------------------------------------------------------------------------
echo !FILTERED_CLIENTS!
echo ------------------------------------------------------------------------------------------------------------------
)
pause
goto menu
:search_phone
cls
echo ***************************************************
echo ***** البحث باستخدام رقم الهاتف *****
echo ***************************************************
echo.
set /p SEARCH_PHONE=الرجاء إدخال رقم الهاتف:
set "FILTERED_CLIENTS="
for /l %%i in (1,1,%CLIENT_COUNT%) do (
if "!PHONE[%%i]!" == "%SEARCH_PHONE%" (
set "FILTERED_CLIENTS=!FILTERED_CLIENTS!!FNAME[%%i]! !SNAME[%%i]! !TNAME[%%i]! !FAMILY_NAME[%%i]! !AGE[%%i]! !PHONE[%%i]! !INFO[%%i]! !DATE_TIME[%%i]!
"
)
)
if not defined FILTERED_CLIENTS (
echo.
echo لم يتم العثور على أية نتائج.
echo.
) else (
echo.
echo العملاء المطابقون:
echo.
echo الاسم الأول ا الاسم الثاني ا الاسم الثالث ا اسم العائلة ا العمر ا رقم الهاتف ا المعلومات الإضافية ا التاريخ والوقت
echo ------------------------------------------------------------------------------------------------------------------
echo !FILTERED_CLIENTS!
echo ------------------------------------------------------------------------------------------------------------------
)
pause
goto menu
:add_record
cls
echo ***************************************************
echo ***** إضافة سجل جديد لعميل موجود *****
echo ***************************************************
echo.
set /p SEARCH_PHONE=الرجاء إدخال رقم الهاتف للعميل:
set "CLIENT_FOUND="
for /l %%i in (1,1,%CLIENT_COUNT%) do (
if "!PHONE[%%i]!" == "%SEARCH_PHONE%" (
set "CLIENT_FOUND=1"
set "CLIENT_INDEX=%%i"
)
)
if not defined CLIENT_FOUND (
echo.
echo لم يتم العثور على العميل.
echo.
pause
goto menu
)
set /p NEW_RECORD=الرجاء إدخال سجل جديد للعميل:
REM Saving the new record to the client_records.txt file
>>client_records.txt (
echo !PHONE[%CLIENT_INDEX%]! !date! !time! %NEW_RECORD%
)
echo تمت إضافة السجل بنجاح!
pause
goto menu
:end
REM Saving the client data to a file
>clients.txt (
for /l %%i in (1,1,%CLIENT_COUNT%) do (
echo !FNAME[%%i]! !SNAME[%%i]! !TNAME[%%i]! !FAMILY_NAME[%%i]! !AGE[%%i]! !PHONE[%%i]! !INFO[%%i]! !DATE_TIME[%%i]!
)
)
exit
@khanfar, it works for me:
Maybe cleaning the cookies etc. will help resolve the issue? IP/region should be out of the question as you're using the hosted frontend 🤔
i use gpt plus on my reagon no probelm , i dont know whats issue
may becouse i request long answer , may you need to make communication time with chatgpt 4 api long more ? please fix the issue