prompt:
<|im_start|>system
You are a helpful assistant that calls functions by responding with valid JSON when given a schema. Always respond with JSON function calls only, never prose.<|im_end|>

<schema>
{
  "name": "get_stock_price",
  "description": "Return the latest price for a given ticker symbol.",
  "parameters": {
    "type": "object",
    "properties": {
      "ticker": {"type": "string"}
    },
    "required": ["ticker"]
  }
}
</schema>

<|im_start|>user
What's Apple trading at right now?<|im_end|>
<|im_start|>assistant

chosen: {"name": "get_stock_price", "arguments": {"ticker": "AAPL"}}

rejected: I'll help you check Apple's current stock price. Let me look that up for you using the stock price function.


prompt:
<|im_start|>system
You are a helpful assistant that calls functions by responding with valid JSON when given a schema. Always respond with JSON function calls only, never prose.<|im_end|>

<schema>
{
  "name": "send_email",
  "description": "Send an email to a recipient.",
  "parameters": {
    "type": "object",
    "properties": {
      "to": {"type": "string"},
      "subject": {"type": "string"},
      "body": {"type": "string"}
    },
    "required": ["to", "subject", "body"]
  }
}
</schema>

<|im_start|>user
Send John an email about the meeting tomorrow at 2pm<|im_end|>
<|im_start|>assistant

chosen: {"name": "send_email", "arguments": {"to": "john@example.com", "subject": "Meeting Tomorrow at 2pm", "body": "Hi John, just wanted to remind you about our meeting scheduled for tomorrow at 2pm. Looking forward to speaking with you."}}

rejected: I'll send John an email about the meeting. I'll compose a professional message mentioning the 2pm meeting time tomorrow and send it to him.


prompt:
<|im_start|>system
You are a helpful assistant that calls functions by responding with valid JSON when given a schema. Always respond with JSON function calls only, never prose.<|im_end|>

<schema>
{
  "name": "get_weather",
  "description": "Get current weather for a location.",
  "parameters": {
    "type": "object",
    "properties": {
      "location": {"type": "string"},
      "units": {"type": "string", "enum": ["celsius", "fahrenheit"]}
    },
    "required": ["location"]
  }
}
</schema>

<|im_start|>user
How's the weather in New York?<|im_end|>
<|im_start|>assistant

chosen: {"name": "get_weather", "arguments": {"location": "New York"}}

rejected: Let me check the current weather conditions in New York for you. I'll get the latest weather information from the weather service.


prompt:
<|im_start|>system
You are a helpful assistant that calls functions by responding with valid JSON when given a schema. Always respond with JSON function calls only, never prose.<|im_end|>

<schema>
{
  "name": "calculate_tip",
  "description": "Calculate tip amount for a bill.",
  "parameters": {
    "type": "object",
    "properties": {
      "bill_amount": {"type": "number"},
      "tip_percentage": {"type": "number"}
    },
    "required": ["bill_amount", "tip_percentage"]
  }
}
</schema>

<|im_start|>user
What's a 20% tip on a $45 bill?<|im_end|>
<|im_start|>assistant

chosen: {"name": "calculate_tip", "arguments": {"bill_amount": 45, "tip_percentage": 20}}

rejected: I can help you calculate that tip! For a $45 bill with a 20% tip rate, let me do the math for you.


prompt:
<|im_start|>system
You are a helpful assistant that calls functions by responding with valid JSON when given a schema. Always respond with JSON function calls only, never prose.<|im_end|>

<schema>
{
  "name": "search_products",
  "description": "Search for products in an online store.",
  "parameters": {
    "type": "object",
    "properties": {
      "query": {"type": "string"},
      "category": {"type": "string"},
      "max_price": {"type": "number"}
    },
    "required": ["query"]
  }
}
</schema>

<|im_start|>user
Find me wireless headphones under $100<|im_end|>
<|im_start|>assistant

chosen: {"name": "search_products", "arguments": {"query": "wireless headphones", "max_price": 100}}

rejected: I'll search for wireless headphones that are priced under $100. Let me look through our product catalog to find the best options for you.


prompt:
<|im_start|>system
You are a helpful assistant that calls functions by responding with valid JSON when given a schema. Always respond with JSON function calls only, never prose.<|im_end|>

<schema>
{
  "name": "book_appointment",
  "description": "Book an appointment with a service provider.",
  "parameters": {
    "type": "object",
    "properties": {
      "service": {"type": "string"},
      "date": {"type": "string"},
      "time": {"type": "string"},
      "provider": {"type": "string"}
    },
    "required": ["service", "date", "time"]
  }
}
</schema>

<|im_start|>user
Book me a haircut for next Friday at 3pm<|im_end|>
<|im_start|>assistant

chosen: {"name": "book_appointment", "arguments": {"service": "haircut", "date": "next Friday", "time": "3pm"}}

rejected: I'll help you book a haircut appointment for next Friday at 3pm. Let me check the available slots and schedule that for you.


prompt:
<|im_start|>system
You are a helpful assistant that calls functions by responding with valid JSON when given a schema. Always respond with JSON function calls only, never prose.<|im_end|>

<schema>
{
  "name": "translate_text",
  "description": "Translate text from one language to another.",
  "parameters": {
    "type": "object",
    "properties": {
      "text": {"type": "string"},
      "source_language": {"type": "string"},
      "target_language": {"type": "string"}
    },
    "required": ["text", "target_language"]
  }
}
</schema>

<|im_start|>user
Translate 'Hello, how are you?' to Spanish<|im_end|>
<|im_start|>assistant

chosen: {"name": "translate_text", "arguments": {"text": "Hello, how are you?", "target_language": "Spanish"}}

rejected: I'll translate that phrase to Spanish for you. 'Hello, how are you?' is a common greeting that should translate nicely.


prompt:
<|im_start|>system
You are a helpful assistant that calls functions by responding with valid JSON when given a schema. Always respond with JSON function calls only, never prose.<|im_end|>

<schema>
{
  "name": "create_reminder",
  "description": "Create a reminder for a specific date and time.",
  "parameters": {
    "type": "object",
    "properties": {
      "title": {"type": "string"},
      "description": {"type": "string"},
      "date": {"type": "string"},
      "time": {"type": "string"}
    },
    "required": ["title", "date", "time"]
  }
}
</schema>

<|im_start|>user
Remind me to call mom tomorrow at 6pm<|im_end|>
<|im_start|>assistant

chosen: {"name": "create_reminder", "arguments": {"title": "Call mom", "date": "tomorrow", "time": "6pm"}}

rejected: I'll set up a reminder for you to call your mom tomorrow at 6pm. That's a nice way to stay in touch with family!