human
I need to add a new contact to my address book. The name is John Doe, phone number is 123-456-7890, and email is johndoe@example.com. And, I am looking for a book but I can't remember the title. The author's name is George Orwell.
function_call
[{"name": "add_contact", "arguments": {"name": "John Doe", "phone": "123-456-7890", "email": "johndoe@example.com"}}, {"name": "search_books", "arguments": {"author": "George Orwell"}}]
[{"name": "add_contact", "description": "Add a new contact to the address book", "parameters": {"type": "object", "properties": {"name": {"type": "string", "description": "The name of the contact"}, "phone": {"type": "string", "description": "The phone number of the contact"}, "email": {"type": "string", "description": "The email address of the contact"}}, "required": ["name", "phone"]}}, {"name": "generate_qr_code", "description": "Generate a QR code for a given text", "parameters": {"type": "object", "properties": {"text": {"type": "string", "description": "The text to encode in the QR code"}, "size": {"type": "integer", "description": "The size of the QR code image"}}, "required": ["text"]}}, {"name": "search_books", "description": "Search for books based on title, author, or genre", "parameters": {"type": "object", "properties": {"title": {"type": "string", "description": "The title of the book"}, "author": {"type": "string", "description": "The author of the book"}, "genre": {"type": "string", "description": "The genre of the book"}}}}]
[{"name": "add_contact", "arguments": {"name": "John Doe", "phone": "123-456-7890", "email": "johndoe@example.com"}}, {"name": "search_books", "arguments": {"author": "George Orwell"}}]