17 Commits

Author SHA1 Message Date
Dmitry Afanasyev
28895f3510
remove models update from migrations (#80)
* add bot models update script

* add last question at field

* update README.md
2024-01-08 21:33:35 +03:00
Dmitry Afanasyev
de55d873f9
close dangerous api methods under api auth (#78)
* close dangerous api methods under api auth

* rename access_token method
2024-01-07 20:06:02 +03:00
Dmitry Afanasyev
8266342214
add ban user action (#77)
* add ban user action

* fix tests

* send message through update.effective_message
2024-01-07 16:08:23 +03:00
Dmitry Afanasyev
1e79c981c2
add user messages count action (#76)
* remove fastapi users dependency

* add user service to chatbot service

* add user save on bot info command

* add user model to admin

* fix tests
2024-01-07 02:14:44 +03:00
Dmitry Afanasyev
bf7a5520dc
add api exception handler (#74)
* try to add exception handler

* improve server error test

* fix lint

* add build_uri util

* fix header file path

---------

Co-authored-by: Dmitry Afanasyev <afanasiev@litres.ru>
2023-12-30 23:50:59 +03:00
Dmitry Afanasyev
d1ae7f2281
add question count table (#73)
* update admin url

* update log level

* add user question count table

* rename ChatGpt to ChatGptModels

* change user to root in ci tests

* add chatgpt_shared volume
2023-12-28 14:26:29 +03:00
Dmitry Afanasyev
2359481fb7
add auth context (#62)
* add user table and superuser creation

* add gpt-4-stream-aivvm provider

* rename user migration to auth migration
2023-11-28 23:06:26 +03:00
Dmitry Afanasyev
b5fe195ef4
update to python 3.11.6 (#52)
* update dependencies

* update to python 3.11.6

* add human-readable migrations

* minor changes
2023-11-05 14:21:37 +03:00
Dmitry Afanasyev
11cfccbb01
add zeus-Vercel and update html (#46) 2023-10-27 18:37:25 +03:00
Dmitry Afanasyev
162c3359e8
update gpt-4-ChatgptAi provider (#42)
* reworked base models priority

* add model gpt-4-ChatgptAi
2023-10-20 23:40:31 +03:00
Dmitry Afanasyev
7ef8d6e19d
add style check by ruff (#34)
* reformat settings

* add init tests for timed lru cache

* add check style by ruff
2023-10-11 22:38:46 +03:00
Dmitry Afanasyev
7cd0f30c55
add sqladmin (#32) 2023-10-11 02:05:02 +03:00
Dmitry Afanasyev
e9f76d0ea9
update chat service (#31)
* rename chatgpt service

* add zeus tool for new provider

* add zeus tool for new provider

* update chat service

* update README.md
2023-10-10 23:22:41 +03:00
Dmitry Afanasyev
f6f3865fb6
rename chatgpt microservice (#30)
* rename chagpt microservice

* add deprecated models
2023-10-09 00:22:26 +03:00
Dmitry Afanasyev
beb32fb0b9
add testing database and chatgpt factories (#28)
* add testing database and chatgpt factories

* include lint job to develop stage

* reformat audioconverter save files to tmp directory

* add api tests

* update README.md
2023-10-08 04:43:24 +03:00
Dmitry Afanasyev
23031b0777
add database and migration logic (#27)
* update chat_microservice

* reformat logger_conf

* add database

* add service and repository logic

* fix constants gpt base url

* add models endpoints
2023-10-07 00:04:12 +03:00
Dmitry Afanasyev
c401e1006c
refactoring (#26) 2023-10-03 23:30:19 +03:00