Hello everyone,
I am able to connect to the ChatGPT API without any issues when the `Stream` argument is set to `False` and I use the HttpJob. However, when I tried connecting by enabling the `Stream` argument, I encountered problems with the OkHttpRequest.
I found a sample MPEG Stream by Erel and attempted to modify it to suit my needs. The attached project contains the modified MPEG. When I try to connect using the URL below:
I am able to establish a connection successfully. However, when I change the URL to the ChatGPT URL:
I receive an HTTP Error 404.
(Of course, it's not because of the endpoint.)
Note:
There is no need to have an API Key if I only receive an HTTP 403 error, as it indicates that the request is fine.
Thank you for your advice.
I am able to connect to the ChatGPT API without any issues when the `Stream` argument is set to `False` and I use the HttpJob. However, when I tried connecting by enabling the `Stream` argument, I encountered problems with the OkHttpRequest.
I found a sample MPEG Stream by Erel and attempted to modify it to suit my needs. The attached project contains the modified MPEG. When I try to connect using the URL below:
B4X:
https://www.b4x.com/print.php
I am able to establish a connection successfully. However, when I change the URL to the ChatGPT URL:
B4X:
https://api.openai.com/v1/edits
I receive an HTTP Error 404.
(Of course, it's not because of the endpoint.)
Note:
There is no need to have an API Key if I only receive an HTTP 403 error, as it indicates that the request is fine.
Thank you for your advice.