chatgpt_assistant 0.1.2 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.env_prod_sample +1 -1
- data/.env_sample +1 -1
- data/.rubocop.yml +17 -5
- data/Dockerfile +2 -5
- data/Gemfile +1 -1
- data/Gemfile.lock +6 -6
- data/SECURITY.md +15 -0
- data/exe/chatgpt_assistant +2 -2
- data/exe/chatgpt_bot +1 -1
- data/lib/bots/application_bot.rb +22 -91
- data/lib/bots/discord_bot.rb +102 -241
- data/lib/bots/helpers/audio_helper.rb +18 -0
- data/lib/bots/helpers/authentication_helper.rb +47 -0
- data/lib/bots/helpers/discord_helper.rb +102 -0
- data/lib/bots/helpers/discord_voice_helper.rb +50 -0
- data/lib/bots/helpers/file_helper.rb +10 -0
- data/lib/bots/helpers/logger_action_helper.rb +14 -0
- data/lib/bots/helpers/messenger_helper.rb +134 -0
- data/lib/bots/helpers/search_helper.rb +34 -0
- data/lib/bots/helpers/telegram_helper.rb +89 -0
- data/lib/bots/helpers/validation_helper.rb +29 -0
- data/lib/bots/helpers/visit_helper.rb +24 -0
- data/lib/bots/telegram_bot.rb +120 -235
- data/lib/chatgpt_assistant/audio_recognition.rb +31 -32
- data/lib/chatgpt_assistant/audio_synthesis.rb +72 -76
- data/lib/chatgpt_assistant/chatter.rb +34 -27
- data/lib/chatgpt_assistant/config.rb +22 -18
- data/lib/chatgpt_assistant/default_messages.rb +108 -108
- data/lib/chatgpt_assistant/migrations.rb +62 -4
- data/lib/chatgpt_assistant/models.rb +53 -7
- data/lib/chatgpt_assistant/version.rb +1 -1
- data/lib/chatgpt_assistant.rb +25 -13
- data/workflows/deploy.yml +19 -0
- data/workflows/deploy_and_build.yml +19 -0
- metadata +22 -6
metadata
CHANGED
@@ -1,17 +1,17 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chatgpt_assistant
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- JesusGautamah
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-04-
|
11
|
+
date: 2023-04-10 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: |-
|
14
|
-
This gem has the intention to facilitate the creation of chatbots with
|
14
|
+
This gem has the intention to facilitate the creation of chatbots with Chatgpt,
|
15
15
|
Telegram bot, Discord bot, Audio Transcription and IBM Cloud Text to Speech or AWS Polly in docker containers.
|
16
16
|
Documentation: https://github.com/JesusGautamah/chatgpt_assistant
|
17
17
|
email:
|
@@ -37,6 +37,7 @@ files:
|
|
37
37
|
- LICENSE.txt
|
38
38
|
- README.md
|
39
39
|
- Rakefile
|
40
|
+
- SECURITY.md
|
40
41
|
- deploy.sh
|
41
42
|
- deploy_and_build.sh
|
42
43
|
- docker-compose.prod.yml
|
@@ -45,6 +46,17 @@ files:
|
|
45
46
|
- exe/chatgpt_bot
|
46
47
|
- lib/bots/application_bot.rb
|
47
48
|
- lib/bots/discord_bot.rb
|
49
|
+
- lib/bots/helpers/audio_helper.rb
|
50
|
+
- lib/bots/helpers/authentication_helper.rb
|
51
|
+
- lib/bots/helpers/discord_helper.rb
|
52
|
+
- lib/bots/helpers/discord_voice_helper.rb
|
53
|
+
- lib/bots/helpers/file_helper.rb
|
54
|
+
- lib/bots/helpers/logger_action_helper.rb
|
55
|
+
- lib/bots/helpers/messenger_helper.rb
|
56
|
+
- lib/bots/helpers/search_helper.rb
|
57
|
+
- lib/bots/helpers/telegram_helper.rb
|
58
|
+
- lib/bots/helpers/validation_helper.rb
|
59
|
+
- lib/bots/helpers/visit_helper.rb
|
48
60
|
- lib/bots/telegram_bot.rb
|
49
61
|
- lib/chatgpt_assistant.rb
|
50
62
|
- lib/chatgpt_assistant/audio_recognition.rb
|
@@ -58,6 +70,8 @@ files:
|
|
58
70
|
- logs/.keep
|
59
71
|
- sig/chatgpt_assistant.rbs
|
60
72
|
- voice/.keep
|
73
|
+
- workflows/deploy.yml
|
74
|
+
- workflows/deploy_and_build.yml
|
61
75
|
homepage: https://github.com/JesusGautamah/chatgpt_assistant
|
62
76
|
licenses:
|
63
77
|
- MIT
|
@@ -66,6 +80,7 @@ metadata:
|
|
66
80
|
homepage_uri: https://github.com/JesusGautamah/chatgpt_assistant
|
67
81
|
source_code_uri: https://github.com/JesusGautamah/chatgpt_assistant.git
|
68
82
|
changelog_uri: https://github.com/JesusGautamah/chatgpt_assistant/releases
|
83
|
+
rubygems_mfa_required: 'true'
|
69
84
|
post_install_message:
|
70
85
|
rdoc_options: []
|
71
86
|
require_paths:
|
@@ -81,9 +96,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
81
96
|
- !ruby/object:Gem::Version
|
82
97
|
version: '0'
|
83
98
|
requirements: []
|
84
|
-
rubygems_version: 3.
|
99
|
+
rubygems_version: 3.4.10
|
85
100
|
signing_key:
|
86
101
|
specification_version: 4
|
87
|
-
summary: Easy way chatbot with
|
88
|
-
and IBM Cloud Text to Speech or AWS Polly in
|
102
|
+
summary: Easy way chatbot with Chatgpt, Telegram bot, Discord bot, currently using
|
103
|
+
GPT-3.5-turbo, Audio Transcription and IBM Cloud Text to Speech or AWS Polly in
|
104
|
+
docker containers.
|
89
105
|
test_files: []
|