ruboty-openai_chat 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/README.md +1 -1
- data/lib/ruboty/handlers/openai_chat.rb +1 -1
- data/lib/ruboty/openai_chat/version.rb +1 -1
- data/ruboty-openai_chat.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 314d39333cd606e790f2258e93bcca1026a8b9a95b828ce635566874ad4d97ec
|
4
|
+
data.tar.gz: 6b4b9a87a46f6cb84208728b25a510285f23667a2e1872457f8a9510bd017803
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 14cc9e80b32707885731cc1d4f7dd3bb43e040fc7b0ec228e6ed0443547a2864c7b4c7492ba9d70f2ec464b5e8176fdceb4159a674c060a8906d2cc29c56ec2d
|
7
|
+
data.tar.gz: a363accd2db5225c2aea3578bc2867dfa111455b5a75022f072de0bdf8a5de9bf4030ac95afd049607506ceedf1ddc91d531a8d82d15b3bac28eb41edcb4ef42
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Ruboty::OpenAIChat
|
2
2
|
|
3
|
-
[OpenAI](https://openai.com/) responds to given message if any other handler does not
|
3
|
+
[OpenAI](https://openai.com/) responds to given message if any other handler does not match.
|
4
4
|
|
5
5
|
This gem uses conversation with an AI assistant like https://beta.openai.com/examples/default-chat as prompt for OpenAI.
|
6
6
|
|
@@ -7,7 +7,7 @@ module Ruboty
|
|
7
7
|
class OpenAIChat < Base
|
8
8
|
env :OPENAI_ACCESS_TOKEN, "Pass OpenAI ACCESS TOKEN"
|
9
9
|
env :OPENAI_ORGANIZATION_ID, "Pass OpenAI Organization ID"
|
10
|
-
env :OPENAI_CHAT_PRETEXT, "Pretext of OpenAI prompt"
|
10
|
+
env :OPENAI_CHAT_PRETEXT, "Pretext of OpenAI prompt", optional: true
|
11
11
|
env :OPENAI_CHAT_LANGUAGE, "Pass your primary language", optional: true
|
12
12
|
env :OPENAI_CHAT_MEMORIZE_SECONDS, "AI remembers the past dialogs in the specified seconds", optional: true
|
13
13
|
|
data/ruboty-openai_chat.gemspec
CHANGED
@@ -9,7 +9,7 @@ Gem::Specification.new do |spec|
|
|
9
9
|
spec.email = ["tomo.asleep@gmail.com"]
|
10
10
|
spec.license = "Apache-2.0"
|
11
11
|
|
12
|
-
spec.summary = "OpenAI responds to given message if any other handler does not
|
12
|
+
spec.summary = "OpenAI responds to given message if any other handler does not match."
|
13
13
|
spec.homepage = "https://github.com/tomoasleep/ruboty-openai_chat"
|
14
14
|
spec.required_ruby_version = ">= 2.6.0"
|
15
15
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruboty-openai_chat
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tomoya Chiba
|
@@ -88,5 +88,5 @@ requirements: []
|
|
88
88
|
rubygems_version: 3.1.6
|
89
89
|
signing_key:
|
90
90
|
specification_version: 4
|
91
|
-
summary: OpenAI responds to given message if any other handler does not
|
91
|
+
summary: OpenAI responds to given message if any other handler does not match.
|
92
92
|
test_files: []
|