Commit Graph

157 Commits

Author SHA1 Message Date
ned
4da4beffbf Merge pull request #66 from AlexHTW/fix-current-usage-date-issue
Bugfix: wrong stats counts when bot is running for multiple days
2023-03-17 20:16:09 +01:00
AlexHTW
1229486494 removed parameter date=today from stats getters 2023-04-17 11:43:35 +02:00
ned
d2181297b5 Merge pull request #63 from dkvdm/appuser-fix
fix filesystem permissions by chowning to appuser during Docker build COPY
2023-03-17 20:15:08 +01:00
ned
4d5ed9f14e Merge pull request #61 from k3it/main
Modify transcribe request filter to catch more file formats
2023-03-17 20:14:38 +01:00
dkvdm-bot
d11d75934f fix filesystem permissions by chowning to appuser during Docker build COPY 2023-03-15 13:10:50 -07:00
k3it
5f2b261924 Merge branch 'main' of github.com:k3it/chatgpt-telegram-bot 2023-03-15 19:51:00 +00:00
k3it
12dc80e6ce more selective filter for transribe request 2023-03-15 19:50:47 +00:00
Vasiliy Gokoyev
d5aa719e54 Merge branch 'n3d1117:main' into main 2023-03-15 11:18:37 -04:00
ned
9846b04c10 bump openai-python version to 0.27.2 2023-03-15 09:03:32 +01:00
ned
5ca497f1ce Fix N_CHOICES default parameters 2023-03-15 08:21:01 +01:00
k3it
40d9bb196e fix n_choices default value, fix cost dollar formating 2023-03-15 02:20:23 +00:00
k3it
1c91989cac Merge branch 'attachment-updates' 2023-03-15 01:57:23 +00:00
k3it
51e27339c2 do not send images to transcribe 2023-03-15 01:53:56 +00:00
ned
f54b6a46b2 Update README.md 2023-03-14 20:23:21 +01:00
ned
e9a49a897d update README.md 2023-03-14 19:50:39 +01:00
ned
dca1fc4135 added N_CHOICES, TEMPERATURE and IMAGE_SIZE to the .env file 2023-03-14 19:44:38 +01:00
ned
fa18067169 Merge pull request #57 from PeterDaveHelloKitchen/Dockerfile
Optimize Dockerfile for minimal image size
2023-03-14 19:30:32 +01:00
ned
2af8873f3d minor improvements to group chat trigger keyword 2023-03-14 19:29:25 +01:00
ned
c38857aac3 Merge pull request #55 from tracking/main
Add group chat trigger keywords
2023-03-14 19:05:02 +01:00
ned
edc5feb82d Merge branch 'main' into main 2023-03-14 19:04:39 +01:00
ned
f211fb3389 update README.md 2023-03-14 19:01:39 +01:00
ned
b39436da01 Merge pull request #49 from AlexHTW/track-token-usage-per-user
Track usage per user
2023-03-14 18:57:07 +01:00
Peter Dave Hello
ff225d773a Optimize Dockerfile for minimal image size
Prevent apt and pip to leave additional temporary cache files.
2023-03-15 01:04:35 +08:00
Ethan Lau
35f3cfe1e8 add group_trigger_keyword 2023-03-14 10:55:03 +08:00
AlexHTW
954aa5c15d added tracking for transcription requests
added total cost return
finalized /stats command
2023-03-14 02:48:12 +01:00
AlexHTW
a2fa5b3e6a added tracking of image requests and cost 2023-03-14 01:31:25 +01:00
AlexHTW
26ec10b404 improved usage data structure, refactoring 2023-03-14 00:06:27 +01:00
AlexHTW
f21c4b429e fixed mistakes from rebase :/ 2023-03-12 01:56:12 +01:00
AlexHTW
896b09feb7 refactored token_usage to general usage_tracker class that allows for implementation of audio and image usage tracking 2023-03-12 01:23:35 +01:00
AlexHTW
48d303b775 added BotCommand for requesting usage statistics and token cost
updated README with new features

removed unecessary logging
2023-03-12 01:20:38 +01:00
AlexHTW
0776e2299e added tracking for token usage per user 2023-03-12 01:17:21 +01:00
k3it
ad8b136c4e attempt to extract audio from the attachments, even when not
detected by telegram as a media file (e.g. some types of mp4)
2023-03-11 20:28:40 +00:00
ned
905f587bdf minor improvements 2023-03-11 11:05:13 +01:00
ned
cf1ceba53f Merge pull request #50 from k3it/add-whisper-formats
Transcribe support for video messages and additional audio formats.
2023-03-11 10:59:26 +01:00
k3it
39aacc1d7d Transcribe support for video messages and additional audio formats. 2023-03-11 03:39:09 +00:00
ned
475310facd Merge pull request #48 from whyevenquestion1t/branch_for_merging
added a link to the /setinline command
2023-03-10 11:15:07 +01:00
whyevenquestion1t
a34d944c73 added a link to the /setinline command
added a link to the /setinline command
2023-03-09 21:02:13 -05:00
ned
b6a724277a update README.md 2023-03-09 12:23:11 +01:00
ned
2331a47924 added bot commands (fixes #47) 2023-03-09 12:17:37 +01:00
ned
34b79a5e2e update README.md 2023-03-07 21:00:26 +01:00
ned
7733bf28c0 move assistant_prompt and max_tokens to .env 2023-03-07 20:04:56 +01:00
ned
ea8d33066c update README.md 2023-03-06 17:27:43 +01:00
ned
c4e902b770 remove quotes in transcript answer 2023-03-06 16:14:41 +01:00
ned
b7d2aaae78 clearer output when answering voice messages (#40) 2023-03-06 16:10:43 +01:00
ned
94cc3a18d1 update README.md 2023-03-06 14:36:38 +01:00
ned
5e92f2f62d Merge branch 'feature/max-age-conversation' 2023-03-06 14:31:34 +01:00
ned
0eeb465e65 added max conversation age logic 2023-03-06 14:31:11 +01:00
ned
02dfd9902d Merge branch 'feature/voice-chat-mode' 2023-03-06 14:03:11 +01:00
ned
8fab052411 added option to reply to voice messages directly with the chatgpt response of the transcript 2023-03-06 14:00:07 +01:00
ned
06c7972012 update README.md 2023-03-06 13:45:35 +01:00