35 Commits

Author SHA1 Message Date
Dmitry Afanasyev
bba21b4925
minor improvements (#82)
* update README.md

* add test for existing models

* db datetime to python datetime

* replace(tzinfo=None) in tests
2024-01-09 00:22:44 +03:00
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
460123ef28
add bug report action (#71)
* add bug report

* add admin section to env
2023-12-22 04:05:15 +03:00
Dmitry Afanasyev
4e7ddf07fd
update to python3.12 (#66)
* update to python3.12

* update poetry main package version
2023-12-17 13:19:07 +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
e929717b15
update provider chatBase (#48)
* add get_bot iterator

* get_bot is separate application

* Update provider chatBase
2023-10-30 20:02:45 +03:00
Dmitry Afanasyev
2e7d4880e0
fix providers ChatBase & llama2 (#45) 2023-10-25 23:54:14 +03:00
Dmitry Afanasyev
f987453b5d
rename main command (#40)
* update poetry.lock

* rename main command

* Remove Ylokh && Vitalentum && GptChatly
2023-10-16 18:38:04 +03:00
Dmitry Afanasyev
4c3c6039e3
add GitHub callback (#38)
* add gpt-3.5-turbo-stream-GptChatly provider

* add GitHub callback
2023-10-13 15:00:34 +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
9e3fac0b94
add gpt/chat api prefix (#33)
* add gpt/chat api prefix

* add chatgpt backend url
2023-10-11 14:21:50 +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
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
Dmitry Afanasyev
47c7524cf8
add logging to file (#24) 2023-10-03 19:47:41 +03:00
Dmitry Afanasyev
e465d71320
add graylog config (#23)
* add additional chat gpt request error

* add graylog config
2023-10-03 09:19:33 +03:00
Dmitry Afanasyev
42f5191042
add gpt model health check (#21) 2023-09-29 20:30:58 +03:00
Dmitry Afanasyev
52df4d338f
add start entry test (#20) 2023-09-29 15:29:06 +03:00
Dmitry Afanasyev
90ec8ccec1
add more tests (#19) 2023-09-29 13:54:57 +03:00
Dmitry Afanasyev
7cfda281f7
fix weburl command (#18) 2023-09-28 18:43:27 +03:00
Dmitry Afanasyev
c8b5639944
update gpt provider to latest changes (#17) 2023-09-28 18:35:20 +03:00
Dmitry Afanasyev
61f3a351e2
get gpt service from balshdocker (#16) 2023-09-28 17:36:46 +03:00
Dmitry Afanasyev
9ad47ce7c3
fix about bot command (#14) 2023-09-26 22:16:54 +03:00
Dmitry Afanasyev
275470f174
add keyboard (#13) 2023-09-26 22:04:45 +03:00
Dmitry Afanasyev
d6afab4ee4
change chat gpt provider (#12) 2023-09-26 19:15:13 +03:00
Dmitry Afanasyev
4e97baf525
add ci tests in docker compose (#11) 2023-09-26 13:28:34 +03:00
Dmitry Afanasyev
9aca4c2aeb
add speech to text command (#6) 2023-09-26 05:30:27 +03:00
29355722fa switch to desktop 2023-09-24 09:29:10 +03:00
Dmitry Afanasyev
7e995866ff
microservices are able to run (#5) 2023-09-24 06:32:49 +03:00