-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
run_localGPT_API #788
Comments
run_localGPT_API.py contains a set of api listeners. By default, there's no main entry and the requested URL (i.e. http://127.0.0.1:5111/) will not be processed. The valid api calls are related to below Line 87 in e997a8a
Line 99 in e997a8a
Line 116 in e997a8a
Line 161 in e997a8a
For example, Calling GET:
would ingest the document. |
Thanks for your reply. I opened http://127.0.0.1:5111/api/run_ingest in Chroma,but is shows:Not Found
|
@Suiji12 Your log shows the server is running on port 5110. Therefore, when you open the URL with port 5111, the request URL would be not found. http://127.0.0.1:5110/api/run_ingest Please look for which port the server is running on as the originally your port was 5111 but it is 5110 this time. |
|
Thanks for your reply, how can I solve this problem? |
If I have to guess, you did some customization on the localGPT since the path shouldn't be
but if you have customized the localGPT somehow, you need to be aware of the potential issues of doing that. |
Thanks for your reply. |
No problem. Welcome. |
C:\Users\jiaojiaxing.conda\envs\localgpt\python.exe E:\jjx\localGPT\apiceshi.py
load INSTRUCTOR_Transformer
max_seq_length 512
bin C:\Users\jiaojiaxing.conda\envs\localgpt\lib\site-packages\bitsandbytes\libbitsandbytes_cuda118.dll
Loading checkpoint shards: 100%|██████████| 3/3 [01:32<00:00, 30.91s/it]
INFO:werkzeug:WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
INFO:werkzeug:Press CTRL+C to quit
INFO:werkzeug:127.0.0.1 - - [20/Apr/2024 21:56:27] "GET / HTTP/1.1" 404 -
INFO:werkzeug:127.0.0.1 - - [20/Apr/2024 22:13:36] "GET /api/delete_source HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [20/Apr/2024 22:16:18] "GET / HTTP/1.1" 404 -
INFO:werkzeug:127.0.0.1 - - [20/Apr/2024 22:16:26] "GET / HTTP/1.1" 404 -
When I open the url:http://127.0.0.1:5111
The web shows:
Not Found
The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
The text was updated successfully, but these errors were encountered: