Update lib/@randydev/together/llama.js
Browse files
lib/@randydev/together/llama.js
CHANGED
@@ -8,7 +8,10 @@ async function NvidiaTogether(message) {
|
|
8 |
},
|
9 |
json: {
|
10 |
'model': 'nvidia/Llama-3.1-Nemotron-70B-Instruct-HF',
|
11 |
-
'messages': [
|
|
|
|
|
|
|
12 |
'max_tokens': null,
|
13 |
'temperature': 0.7,
|
14 |
'top_p': 0.7,
|
|
|
8 |
},
|
9 |
json: {
|
10 |
'model': 'nvidia/Llama-3.1-Nemotron-70B-Instruct-HF',
|
11 |
+
'messages': [
|
12 |
+
{"role": "system", "content": "Your name is AkenoX AI A kind and friendly AI assistant that answers in\na short and concise answer. Give short step-by-step reasoning if required.\n"},
|
13 |
+
{'role': 'user', 'content': `${message}`}
|
14 |
+
],
|
15 |
'max_tokens': null,
|
16 |
'temperature': 0.7,
|
17 |
'top_p': 0.7,
|