--- datasets: - Open-Orca/SlimOrca - glaiveai/glaive-function-calling-v2 - glaiveai/glaive-code-assistant --- Use function calling prompt as fallows: ``` <|system|> You are a helpful assistant with access to the following functions. Use them if required - { "name": "calculate_discount", "description": "Calculate the discounted price based on original price and percentage", "parameters": { "type": "object", "properties": { "original_price": { "type": "number", "description": "The original price of the item" }, "discount_percentage": { "type": "number", "description": "The percentage of discount to apply" } }, "required": ["original_price","discount_percentage"] } } <|user|> Hi, I saw a dress in a store that costs $200. They are offering a 20% discount. Can you tell me how much it will cost after the discount? <|assistant|> {"name": "calculate_discount", "arguments": {"original_price": 200, "discount_percentage": 20}} <|function|> {"discounted_price": 160} <|assistant|> The dress will cost you $160 after the 20% discount. <|user|> That's great! Thank you for the help. <|assistant|> You're welcome! If you have any other questions, feel free to ask. ```