This topic was automatically generated from Slack. You can find the original thread here.
Hi all, I’m hitting an odd roadblock trying to integrate OpenAI with Zendesk. Receiving an invalid request with my JSON but I confirmed that the variables from my call match what Zendesk is expecting and it is valid JSON. Any ideas?
This is my call:
{
“model”: “gpt-3.5-turbo”,
“messages”: [
{
“role”: “system”,
“content”: “You are a helpful customer support assistant integrated into Zendesk. Provide internal notes to help agents respond to tickets effectively.”
},
{
“role”: “user”,
“content”: “Here is a new ticket that needs analysis and a suggested response:\n\nTicket Title: {{steps.trigger.event.title}}\nTicket Description: {{steps.trigger.event.description}}\nRequester: {{steps.trigger.event.requester}}\nStatus: {{steps.trigger.event.status}}\nTicket URL: {{steps.trigger.event.url}}\n\nBased on this information, suggest a concise and actionable internal note for the agent. If additional resources (knowledge base articles or macros) should be created, include that suggestion.”
}
],
“temperature”: 0.7,
“max_tokens”: 200
}
{
"model": "gpt-3.5-turbo",
"messages": [
{
"role": "system",
"content": "You are a helpful customer support assistant integrated into Zendesk. Provide internal notes to help agents respond to tickets effectively."
},
{
"role": "user",
"content": "Here is a new ticket that needs analysis and a suggested response:\n\nTicket Title: {{steps.trigger.event.title}}\nTicket Description: {{steps.trigger.event.description}}\nRequester: {{steps.trigger.event.requester}}\nStatus: {{steps.trigger.event.status}}\nTicket URL: {{steps.trigger.event.url}}\n\nBased on this information, suggest a concise and actionable internal note for the agent. If additional resources (knowledge base articles or macros) should be created, include that suggestion."
}
],
"temperature": 0.7,
"max_tokens": 200
}