Skip to content

Commit

Permalink
Update ai.js
Browse files Browse the repository at this point in the history
  • Loading branch information
CrashGlxyGame authored Apr 13, 2024
1 parent 5f0d263 commit f1ce294
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ai.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
async function AiMessage(message, system = "be a helpful assistant", model, temp = 0.8) {
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) {
const url = 'https://api.deepinfra.com/v1/openai/chat/completions';
const headers = {
'Content-Type': 'application/json',
Expand Down

0 comments on commit f1ce294

Please sign in to comment.