Just my AI task is rubbish?? Even in shit gpt 4 it gives me the wrong answer bro and the prompt is ridiculously optimized
Prompt:
Customer Targeting Based on Messages and Current Time
Instruction
Analyze the client message contained in {{event.preview}} and, considering the current time {{user.timenow}}, direct the client according to the following rules:
Targeting Rules:
Response "01" - Use this value if the customer request specifies a time for scheduling, such as time, date, hour or day.
Examples:
"I want to make an appointment for the 15th."
"I want to schedule an appointment for tomorrow."
"Do you have time for this afternoon?"
"Do you still have time for this morning?"
Response "02" - Use this value for generic messages about scheduling.
Examples:
"I want to schedule an appointment."
"What times do you have available?"
"Are you guys open now?"
I spent the whole day fighting trying to understand why the AI is giving me wrong values even in front of the answer???
Cognitive - AI Task
{ input: '"I want to schedule an appointment\
05/24/2024 07:06 Friday"',
response:
{ success: true,
cached: false,
spend: 5430000,
result: [ '
{"switcherp0":"01"}
' ],
function_call: undefined,
choices:
[ { index: 0,
message:
{ role: 'assistant',
content: '
{"switcherp0":"01"}
' },
logprobs: null,
finish_reason: 'stop' } ],
tokens: 521,
model: 'gpt-4-turbo-2024-04-09' } }