ruboty-openai_chat 0.1.1 → 0.1.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f5acda135cb2a4635413d1a40a3946ac5a5b8aeb5649a0598c064e6d0e5b8cf5
4
- data.tar.gz: 0aa38a53b0b2f6b5120b1fe892ba2ba2b26a68fe5e7895d013cc2e01f15fc605
3
+ metadata.gz: 314d39333cd606e790f2258e93bcca1026a8b9a95b828ce635566874ad4d97ec
4
+ data.tar.gz: 6b4b9a87a46f6cb84208728b25a510285f23667a2e1872457f8a9510bd017803
5
5
  SHA512:
6
- metadata.gz: 63acc6128d68c96114394bc3bf0f0e83f24a00bb45a6248979b93bf8609b0c5853a92c83b7ab5fd65878843020353cf3875cf912d11c652738ae30724ecec343
7
- data.tar.gz: 982f819a9a4ee37b33078b56b37b4850983e555025ed787e468fe1a4e8296be8d35248e29a25f15838c05b91b6cb5a5a3d8ea3389c66cf8ab9ddd922108acde9
6
+ metadata.gz: 14cc9e80b32707885731cc1d4f7dd3bb43e040fc7b0ec228e6ed0443547a2864c7b4c7492ba9d70f2ec464b5e8176fdceb4159a674c060a8906d2cc29c56ec2d
7
+ data.tar.gz: a363accd2db5225c2aea3578bc2867dfa111455b5a75022f072de0bdf8a5de9bf4030ac95afd049607506ceedf1ddc91d531a8d82d15b3bac28eb41edcb4ef42
data/Gemfile CHANGED
@@ -5,7 +5,7 @@ source "https://rubygems.org"
5
5
  # Specify your gem's dependencies in ruboty-openai-chat.gemspec
6
6
  gemspec
7
7
 
8
+ gem "bump"
8
9
  gem "rake", "~> 13.0"
9
10
  gem "rspec", "~> 3.0"
10
11
  gem "rubocop", "~> 1.21"
11
- gem "bump"
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 matches.
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
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Ruboty
4
4
  module OpenAIChat
5
- VERSION = "0.1.1"
5
+ VERSION = "0.1.2"
6
6
  end
7
7
  end
@@ -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 matches."
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.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 matches.
91
+ summary: OpenAI responds to given message if any other handler does not match.
92
92
  test_files: []