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": "analyze_text",
  "description": "Analyze text content",
  "parameters": {
    "type": "object",
    "properties": {
      "content": {
        "type": "string"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "content",
      "type"
    ]
  }
}
</schema>

<|im_start|>user
Analyze this text: The CEO said we have made tremendous progress this quarter<|im_end|>
<|im_start|>assistant

Chosen response: {"name": "analyze_text", "arguments": {"content": "The CEO said we have made tremendous progress this quarter", "type": "analysis"}}

Rejected response: I will analyze that text 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": "send_message",
  "description": "Send a message",
  "parameters": {
    "type": "object",
    "properties": {
      "to": {
        "type": "string"
      },
      "subject": {
        "type": "string"
      },
      "body": {
        "type": "string"
      }
    },
    "required": [
      "to",
      "subject",
      "body"
    ]
  }
}
</schema>

<|im_start|>user
Send email to john@company.com with subject Meeting Update and body The meeting has been rescheduled to tomorrow at 2 PM<|im_end|>
<|im_start|>assistant

Chosen response: {"name": "send_message", "arguments": {"to": "john@company.com", "subject": "Meeting Update", "body": "The meeting has been rescheduled to tomorrow at 2 PM"}}

Rejected response: I will send that email 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": "process_query",
  "description": "Process database query",
  "parameters": {
    "type": "object",
    "properties": {
      "query": {
        "type": "string"
      },
      "database": {
        "type": "string"
      }
    },
    "required": [
      "query",
      "database"
    ]
  }
}
</schema>

<|im_start|>user
Run query SELECT name FROM users WHERE created_at > 2023-01-01 on the main database<|im_end|>
<|im_start|>assistant

Chosen response: {"name": "process_query", "arguments": {"query": "SELECT name FROM users WHERE created_at > 2023-01-01", "database": "main"}}

Rejected response: I will run that database query 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": "configure_system",
  "description": "Configure system settings",
  "parameters": {
    "type": "object",
    "properties": {
      "timeout": {
        "type": "integer"
      },
      "enabled": {
        "type": "boolean"
      },
      "level": {
        "type": "string"
      }
    },
    "required": [
      "timeout",
      "enabled"
    ]
  }
}
</schema>

<|im_start|>user
Set timeout to 30 seconds, enable the system, and set level to debug<|im_end|>
<|im_start|>assistant

Chosen response: {"name": "configure_system", "arguments": {"timeout": 30, "enabled": true, "level": "debug"}}

Rejected response: I will configure the system with those settings


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": "process_files",
  "description": "Process multiple files",
  "parameters": {
    "type": "object",
    "properties": {
      "files": {
        "type": "array",
        "items": {
          "type": "string"
        }
      },
      "operation": {
        "type": "string"
      }
    },
    "required": [
      "files",
      "operation"
    ]
  }
}
</schema>

<|im_start|>user
Process files data.csv, results.json, and report.pdf with merge operation<|im_end|>
<|im_start|>assistant

Chosen response: {"name": "process_files", "arguments": {"files": ["data.csv", "results.json", "report.pdf"], "operation": "merge"}}

Rejected response: I will process those files for you