cryptum 0.0.416 → 0.0.418
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +1 -1
- data/lib/cryptum/open_ai.rb +3 -3
- data/lib/cryptum/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4ac64167c106a6469cbbaf4d775c24ab6e56da7c33574708b31446fe874ec273
|
4
|
+
data.tar.gz: 2d0f68679621b1cb2bc53e07940abf6ace43a68edb42bded3826f4e4bb5efa16
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 02bcf71d0444f58d14409b0d25e54c411442522c491389df720feb23006f5a45c0099796d2c438124164d209f9544c9b86664406aad8e4b6a765671ec69a5754
|
7
|
+
data.tar.gz: a2ed0098da2c55cabd6060d0055790493795d0e8591a731a646f29cee42e37d5c91c12ff8cef95ac6fecb239fe49e998f154e79c897544943b64731b326bee6c
|
data/.rubocop.yml
CHANGED
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