最近搜索
没有最近搜索

Alghiery Dani
已加入2024年10月21日
·
最后活动2025年2月19日
关注
0
关注者
0
活动总数
12
投票
1
订阅
5
活动概览
标记
文章
帖子
社区评论
文章评论
活动概览
的最新活动 Alghiery Dani
Alghiery Dani 创建了一个帖子,
Hi,
So sorry if I posted in the wrong section but this is related to a Zendesk App I created using this Zendesk Developer's tutorial.
As far as I know, based on the tutorial, we are just using the usual OpenAI model to summarize the ticket. But, how do I connect it to my OpenAI Assistant that we personally have created? We have an OpenAI Assistant created through the dashboard and the Assistant has specific product knowledge of our products. Thank you!
The code based on the article above is as follow:
async function getSummary(prompt) {
const options = {
url: "https://api.openai.com/v1/chat/completions",
type: "POST",
contentType: "application/json",
headers: {
Authorization: "Bearer {{setting.openAiApiToken}}",
},
data: JSON.stringify({
model: "gpt-3.5-turbo",
messages: [{ role: "user", content: prompt }],
}),
secure: true,
};
const response = await client.request(options);
已于 2025年1月06日 发布 · Alghiery Dani
0
关注者
2
投票
1
Comment
Alghiery Dani 进行了评论,
Hi, thank you!
Quick question, how about if I want to know open tickets on certain period? I want to know new and open on certain period and compare it with another period. For example, the # of tickets on the morning vs # of tickets on the afternoon. Thank you.
查看评论 · 已于 2024年11月05日 发布 · Alghiery Dani
0
关注者
0
投票
0
评论
Alghiery Dani 进行了评论,
Hi, this is really awesome!
Is there a way to track the next group or the next escalation's first response time? For example, it's escalated to the manager team as mentioned above, and we want to track the first time replied by the manager team? Thank you.
查看评论 · 已于 2024年10月21日 发布 · Alghiery Dani
0
关注者
0
投票
0
评论