Closed hitesh22rana closed 3 months ago
Please be informed that some providers implement geo-restrictions. If your IP's location is from the affected region, you will definitely encounter such restrictions. As a workaround, apart from using proxies, you can also disable streaming when using the default provider, Auto
. Unlike the others, this dynamic provider attempts to generate a response using every available provider.
$ pytgpt interactive -w
The code is working perfectly fine if run directly(in local environment)
, the problem I am facing is after I run the application via docker(in local environment)
.
So, I don't think it's due to some geo-restrictions.
Still the same, it's some other issue. I think there's some dependency that is by default available but, not available in the docker environment.
I am working on a project which requires to run
pytgpt
inside a docker container, but I am getting this strange error:-ERROR : 'choices'
On doing
exec
inside the container, I am able to runpytgpt
(indicates that is successfully installed), but on asking some question, I am getting the same error:-ERROR : 'choices'
It's running on my local environment, but won't work inside a docker container.
I am using Phind as LLM provider, example is given below:-
For reference, this is my
Dockerfile
My
requirements.txt