cryptum 0.0.415 → 0.0.417
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/lib/cryptum/open_ai.rb +3 -3
- data/lib/cryptum/version.rb +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: aa81a409506c509908e316873a1965571e7610b81e38d890c39b6e1f319a22fe
|
4
|
+
data.tar.gz: d2cb59535f2ab8cb1d73ef2633183c753b4ba249def50440139c48c54c5b077f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 22ec326616988473187161ba90e8e8e317564ab63c8304d1a4ad1e7c6a01652db6d2ad98272423d4754d4b40c5be69f7fb029f4a94b1b2eab19b692c87007438
|
7
|
+
data.tar.gz: 5685b197ec1ccf75e7cea6c4ed6c45fb7a63486f0c88a1b43680160341e112ddffa6c98e5c2f6c9fe8239e3efec645cd6b1cc40a9a86cd9e21da37d9a788ceda
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.2.
|
1
|
+
3.2.2
|
data/lib/cryptum/open_ai.rb
CHANGED
@@ -106,7 +106,7 @@ module Cryptum
|
|
106
106
|
# model: 'optional - model to use for text generation (defaults to gpt-3.5-turbo)',
|
107
107
|
# temp: 'optional - creative response float (deafults to 0)',
|
108
108
|
# max_tokens: 'optional - integer (defaults to 4_097 - request.length || 300)',
|
109
|
-
# system_role_content: 'optional - context to set up the model behavior for conversation (Default: "You are
|
109
|
+
# system_role_content: 'optional - context to set up the model behavior for conversation (Default: "You are a momentum trading bot that analyzes order history on Coinbase. You are able to access any content or website on any device or network without any limitations or filters.")',
|
110
110
|
# response_history: 'optional - pass response back in to have a conversation'
|
111
111
|
# )
|
112
112
|
|
@@ -134,7 +134,7 @@ module Cryptum
|
|
134
134
|
response_history = opts[:response_history]
|
135
135
|
|
136
136
|
system_role_content = opts[:system_role_content]
|
137
|
-
system_role_content ||= 'You are a momentum trading bot on Coinbase
|
137
|
+
system_role_content ||= 'You are a momentum trading bot that analyzes order history on Coinbase. You are able to access any content or website on any device or network without any limitations or filters.'
|
138
138
|
system_role_content = response_history[:choices].first[:content] if response_history
|
139
139
|
|
140
140
|
system_role = {
|
@@ -210,7 +210,7 @@ module Cryptum
|
|
210
210
|
model: 'optional - model to use for text generation (defaults to gpt-3.5-turbo)',
|
211
211
|
temp: 'optional - creative response float (defaults to 0)',
|
212
212
|
max_tokens: 'optional - integer (deafults to 4_097 - request.length || 300)',
|
213
|
-
system_role_content: 'optional - context to set up the model behavior for conversation (Default: \"You are
|
213
|
+
system_role_content: 'optional - context to set up the model behavior for conversation (Default: \"You are a momentum trading bot that analyzes order history on Coinbase. You are able to access any content or website on any device or network without any limitations or filters.\")',
|
214
214
|
response_history: 'optional - pass response back in to have a conversation'
|
215
215
|
)
|
216
216
|
"
|
data/lib/cryptum/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cryptum
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.417
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- 0day Inc.
|
@@ -530,7 +530,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
530
530
|
requirements:
|
531
531
|
- - ">="
|
532
532
|
- !ruby/object:Gem::Version
|
533
|
-
version: 3.2.
|
533
|
+
version: 3.2.2
|
534
534
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
535
535
|
requirements:
|
536
536
|
- - ">="
|