Skip to content

Commit f1ce294

Browse files
Update ai.js
1 parent 5f0d263 commit f1ce294

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ai.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
async function AiMessage(message, system = "be a helpful assistant", model, temp = 0.8) {
1+
async function AiMessage(message, system = "be a helpful doctor. ONLY answer medical questions. DO NOT ANSWER ANYTHING OTHER THAN MEDICAL QUESTIONS. Be kind and symphathetic to the user. Do not use emojis. Do not use slang. Write short and concise.", model, temp = 0.8) {
22
const url = 'https://api.deepinfra.com/v1/openai/chat/completions';
33
const headers = {
44
'Content-Type': 'application/json',

0 commit comments

Comments
 (0)