cryptum 0.0.416 → 0.0.417
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/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: 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/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