Comments (3)
Use `qutes` for logs, without it hard to read.
Openai does not officially support work from Russia. Just a small flaw that until recently the API was accessible from Russian IPs, now it has been fixed. So you'll have to use a proxy. This is easy to do by adding a line like this to env: OPENAI_PROXY=http://127.0.0.1:25345
from chatgpt-telegram-bot.
Use
qutes
for logs, without it hard to read. Openai does not officially support work from Russia. Just a small flaw that until recently the API was accessible from Russian IPs, now it has been fixed. So you'll have to use a proxy. This is easy to do by adding a line like this to env:OPENAI_PROXY=http://127.0.0.1:25345
Good afternoon! Can you please help if it's not too much trouble. I installed everything according to the manual before step 4 (python bot/main.py ). I introduced telegram and openai APIs into env, and also installed (OPENAI_PROXY=http://127.0.0.1:25345). However, I still get a blocking message because my server is located in Russia. Could you tell me if I should create my proxy in some other way? Do I need to follow the steps with Docker Compose from the readme? I am not well versed in the topic of network connections, and I could not find an exhaustive answer in the discussion section. Thanks!
from chatgpt-telegram-bot.
OPENAI_PROXY=http://127.0.0.1:25345/
это конкретный пример и если у тебя локально не запущено что-то на 25345 порту, что-то что предоставляет http прокси на зарубежный сервер, то толку от этой опции нет.
Тебе нужен прокси через который будет доступен OpenAI. Т.е. не российский сервер или vpn.
Ну или изначально запускать бота на сервере не из России.
Я использую опцию OPENAI_PROXY
и утилиту https://github.com/pufferffish/wireproxy чтобы пробросить только запросы к OpenAI через мой основной WireGuard VPN
from chatgpt-telegram-bot.
Related Issues (20)
- bot unstart HOT 1
- how i can use plugins? HOT 3
- Enabling and using plugins HOT 16
- Can't change model from 3.5 to 4 HOT 1
- Contributions to this Repo HOT 1
- deepl plugin returns text in unicode escape sequence HOT 4
- Exception while handling an update: getattr():
- Deployment issues with fly.io
- Оооид
- Duck Duck Go Rate Limit HOT 1
- Update docker image in docker hub HOT 1
- Separate /image commands for Dall-E 2 and Dall-E 3
- audo ---> text HOT 1
- DDG HOT 3
- Everything worked and abruptly stopped working HOT 1
- Bugs in the operation of plugins: auto_tts, ddg_ddg_search, and ddg_images_earch (403, HttpError).
- stop or new dialog
- Add support for gpt-4-turbo-2024-04-09 HOT 1
- am i the only one facing this? HOT 5
- Why do the robot's responses always lack the first two bytes? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chatgpt-telegram-bot.