Files

29 lines
1.1 KiB
JSON

{
"model" : "stub-chat",
"messages" : [ {
"role" : "system",
"content" : "You are the support assistant of an online electronics shop. Answer in one sentence. Use the order tool for order questions and the supplied policy text for policy questions."
}, {
"role" : "user",
"content" : "How many days do I have to return an item?\n\nAnswer using the following information:\nReturns policy: items can be returned within 30 days of delivery for a full refund. Items must be unused and in original packaging. Refunds are issued to the original payment method within 5 business days of the warehouse receiving the parcel."
} ],
"presence_penalty" : 0.0,
"frequency_penalty" : 0.0,
"tools" : [ {
"type" : "function",
"function" : {
"name" : "orderStatus",
"description" : "Looks up the delivery status of a customer order by its order number",
"parameters" : {
"type" : "object",
"properties" : {
"orderId" : {
"type" : "string",
"description" : "the numeric order number, for example 1001"
}
},
"required" : [ "orderId" ]
}
}
} ]
}