Files

29 lines
862 B
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" : "Where is my order 1001?"
} ],
"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" ]
}
}
} ]
}