{ "messages" : [ { "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" : "system" }, { "content" : "How many days do I have to return an item?\n\nContext information is below, surrounded by ---------------------\n\n---------------------\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.\n---------------------\n\nGiven the context and provided history information and not prior knowledge,\nreply to the user comment. If the answer is not in the context, inform\nthe user that you can't answer the question.\n", "role" : "user" } ], "model" : "stub-chat", "tools" : [ { "function" : { "name" : "orderStatus", "description" : "Looks up the delivery status of a customer order by its order number", "parameters" : { "$schema" : "https://json-schema.org/draft/2020-12/schema", "type" : "object", "properties" : { "orderId" : { "type" : "string", "description" : "the numeric order number, for example 1001" } }, "required" : [ "orderId" ], "additionalProperties" : false }, "strict" : false }, "type" : "function" } ] }