- ๐ My name is Ilya
- โ๏ธ 23 years old
- โค๏ธ Python, Go, Rust
- ๐งโ๐ป Software engineer
- ๐ Inaccurate shooter ๐
str1kez / ocr-gptbot Goto Github PK
View Code? Open in Web Editor NEWTelegram Bot for interaction with Chat GPT and OCR
Telegram Bot for interaction with Chat GPT and OCR
Implement stream mode via editing tg message
Need to implement settings:
Every message is broken, need to fix. I suppose that problem in openai package
Need to develop middleware, which will check user's settings and propagate it into telegram message handlers
Need to catch telegram errors via callback function in telebot package
Add button for quick request from ocr message to gpt
Switch between webhook and long polling by env
I can use flags in settings for bot in telebot package:
https://pkg.go.dev/gopkg.in/telebot.v3#Settings
Need to refactor db settings interface with single responsibility methods.
Now GetAll
inserts default conf if doesn't exist etc
After storage refactoring need to throw out business logic from handlers (view)
Need to fix problems with sending data to telegram after openai response. Sometimes have error with bytes and offset of unicode
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.