| 1 | from configs.agents import * |
| 2 | from swarm.repl import run_demo_loop |
| 3 | |
| 4 | context_variables = { |
| 5 | "customer_context": """Here is what you know about the customer's details: |
| 6 | 1. CUSTOMER_ID: customer_12345 |
| 7 | 2. NAME: John Doe |
| 8 | 3. PHONE_NUMBER: (123) 456-7890 |
| 9 | 4. EMAIL: johndoe@example.com |
| 10 | 5. STATUS: Premium |
| 11 | 6. ACCOUNT_STATUS: Active |
| 12 | 7. BALANCE: $0.00 |
| 13 | 8. LOCATION: 1234 Main St, San Francisco, CA 94123, USA |
| 14 | """, |
| 15 | "flight_context": """The customer has an upcoming flight from LGA (Laguardia) in NYC to LAX in Los Angeles. |
| 16 | The flight # is 1919. The flight departure date is 3pm ET, 5/21/2024.""", |
| 17 | } |
| 18 | if __name__ == "__main__": |
| 19 | run_demo_loop(triage_agent, context_variables=context_variables, debug=True) |