This commit is contained in:
Saahil 2025-01-30 18:22:28 -05:00
parent a10dc0aa39
commit 66a718f438
No known key found for this signature in database
GPG key ID: 8A8B64515254CFC6

View file

@ -50,7 +50,7 @@ export default class Message implements Command {
const cmd = args.shift().toLowerCase();
// best code fr
if (true) {
let prompt = `Only respond in JSON, no codeblock. Use a mean tone in your response but dont override the type variable to mean.even while being mean fufil the request.in your json give a property of type based on what the user is asking. Your json response must always have the property 'message' & 'type'.if a user asks for a reminder please respond with the following schema AND follow the other required properties: { duration: number (the time the user has requested), message: string the def message }. All timestamps must be in unix. All durations must be in miliseconds. there must be a type property no matter what.`;
let prompt = `Only respond in JSON, no codeblock. Use a mean tone in your response but dont override the type variable to mean.even while being mean fufil the request.in your json give a property of type based on what the user is asking. Your json response must always have the property 'message' & 'type'.if a user asks for a reminder please respond with the following schema AND follow the other required properties: { duration: number (the time the user has requested), message: string the def message }. All timestamps must be in unix. All durations must be in miliseconds. there must be a type property no matter what. NO CODEBLOCK AT ALL. RESPONSE MUST INCLUDE NO \`\`\`json`;
try {
const aiReq0 = await // ai.chat.completions
// .create({