Dataset Viewer
Auto-converted to Parquet Duplicate
conversations
stringlengths
229
3.89k
tools
stringlengths
73
1.15k
[{"role": "user", "content": "Bạn có thể đặt vé máy bay cho tôi từ New York tới London được không?"}, {"role": "assistant", "content": "Tôi xin lỗi, nhưng tôi không có khả năng đặt chuyến bay. Chức năng hiện tại của tôi cho phép tôi nhận được tỷ giá hối đoái giữa hai loại tiền tệ. Nếu bạn cần giúp đỡ về điều đó, hãy hỏ...
{"name": "get_exchange_rate", "description": "Get the exchange rate between two currencies", "parameters": {"type": "object", "properties": {"base_currency": {"type": "string", "description": "The currency to convert from"}, "target_currency": {"type": "string", "description": "The currency to convert to"}}, "required"...
[{"role": "user", "content": "Xin chào, tôi cần trợ giúp về khoản vay mà tôi đang cân nhắc."}, {"role": "assistant", "content": "Tất nhiên là tôi rất sẵn lòng giúp đỡ. Bạn có thể vui lòng cung cấp cho tôi số tiền gốc của khoản vay, lãi suất hàng năm và thời hạn vay theo tháng không?"}, {"role": "user", "content": "Chắc...
{"name": "calculate_loan_payment", "description": "Calculate the monthly payment for a loan", "parameters": {"type": "object", "properties": {"principal": {"type": "number", "description": "The principal amount of the loan"}, "interest_rate": {"type": "number", "description": "The annual interest rate of the loan"}, "l...
[{"role": "user", "content": "Bạn có thể đặt vé máy bay cho tôi được không?"}, {"role": "assistant", "content": "Tôi xin lỗi, nhưng tôi không thể hỗ trợ đặt vé máy bay. Khả năng hiện tại của tôi bị giới hạn trong việc tìm kiếm công thức nấu ăn dựa trên các thành phần cụ thể. Bạn có cần trợ giúp điều gì khác không, có l...
{"name": "search_recipes", "description": "Search for recipes based on specified ingredients", "parameters": {"type": "object", "properties": {"ingredients": {"type": "array", "items": {"type": "string"}, "description": "The ingredients to search for"}, "cuisine": {"type": "string", "description": "The cuisine type of ...
[{"role": "user", "content": "Bạn có thể vui lòng đặt cho tôi một chuyến bay từ New York tới London được không?"}, {"role": "assistant", "content": "Tôi xin lỗi, nhưng là một AI, tôi không có khả năng thực hiện các nhiệm vụ bên ngoài như đặt vé máy bay. Chức năng hiện tại của tôi là hỗ trợ chuyển đổi tiền tệ. Nếu bạn c...
{"name": "convert_currency", "description": "Convert currency from one type to another", "parameters": {"type": "object", "properties": {"amount": {"type": "number", "description": "The amount to convert"}, "from_currency": {"type": "string", "description": "The currency to convert from"}, "to_currency": {"type": "stri...
[{"role": "user", "content": "Xin chào, tôi muốn tính chỉ số BMI của mình. Tôi nặng 70 kg và cao 1,75 mét."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "calculate_bmi", "arguments": "{\"weight\": 70, \"height\": 1.75}"}}]}, {"role": "tool", "content": "{\"bmi\": 22.86...
{"name": "calculate_bmi", "description": "Calculate Body Mass Index (BMI)", "parameters": {"type": "object", "properties": {"weight": {"type": "number", "description": "The weight of the person in kilograms"}, "height": {"type": "number", "description": "The height of the person in meters"}}, "required": ["weight", "he...
[{"role": "user", "content": "Xin chào, tôi cần tính chỉ số BMI của mình. Tôi nặng 70 kg và cao 1,75 mét."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "calculate_bmi", "arguments": "{\"weight\": 70, \"height\": 1.75}"}}]}, {"role": "tool", "content": "{\"bmi\": 22.86}...
{"name": "calculate_bmi", "description": "Calculate the Body Mass Index (BMI)", "parameters": {"type": "object", "properties": {"weight": {"type": "number", "description": "The weight in kilograms"}, "height": {"type": "number", "description": "The height in meters"}}, "required": ["weight", "height"]}}
[{"role": "user", "content": "Xin chào, tôi muốn tính chỉ số BMI của mình. Tôi nặng 70 kg và cao 1,75 mét."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "calculate_bmi", "arguments": "{\"weight\": 70, \"height\": 1.75}"}}]}, {"role": "tool", "content": "{\"bmi\": 22.86...
{"name": "calculate_bmi", "description": "Calculate Body Mass Index (BMI) based on weight and height", "parameters": {"type": "object", "properties": {"weight": {"type": "number", "description": "The weight in kilograms"}, "height": {"type": "number", "description": "The height in meters"}}, "required": ["weight", "hei...
[{"role": "user", "content": "Bạn có thể vui lòng đặt cho tôi một chuyến bay từ New York tới London được không?"}, {"role": "assistant", "content": "Tôi xin lỗi, nhưng tôi không thể hỗ trợ đặt vé máy bay vì đây là nhiệm vụ bên ngoài. Khả năng hiện tại của tôi bị giới hạn ở các chức năng được cung cấp cho tôi, chẳng hạn...
{"name": "generate_qr_code", "description": "Generate a QR code for a given input", "parameters": {"type": "object", "properties": {"input": {"type": "string", "description": "The input data for the QR code"}}, "required": ["input"]}}
[{"role": "user", "content": "Này, tôi cần mã QR cho trang web của mình. Bạn có thể giúp tôi với đó?"}, {"role": "assistant", "content": "Tất nhiên rồi! Bạn có thể vui lòng cung cấp cho tôi URL của trang web của bạn không?"}, {"role": "user", "content": "Chắc chắn rồi, đó là www.mywebsite.com."}, {"role": "assistant", ...
{"name": "generate_qr_code", "description": "Generate a QR code for a specified text or URL", "parameters": {"type": "object", "properties": {"text": {"type": "string", "description": "The text or URL to encode in the QR code"}, "size": {"type": "integer", "description": "The size of the QR code image"}}, "required": [...
[{"role": "user", "content": "Xin chào, tôi cần trợ giúp trong việc tính toán khoản thanh toán thế chấp của mình."}, {"role": "assistant", "content": "Tất nhiên là tôi có thể giúp việc đó. Bạn có thể vui lòng cung cấp cho tôi số tiền vay, lãi suất hàng năm và thời hạn vay theo năm không?"}, {"role": "user", "content": ...
{"name": "calculate_mortgage_payment", "description": "Calculate the monthly mortgage payment", "parameters": {"type": "object", "properties": {"loan_amount": {"type": "number", "description": "The amount of the loan"}, "interest_rate": {"type": "number", "description": "The annual interest rate"}, "loan_term": {"type"...
[{"role": "user", "content": "Bạn có thể đặt vé máy bay cho tôi từ New York tới London được không?"}, {"role": "assistant", "content": "Tôi xin lỗi, nhưng tôi không có khả năng đặt vé máy bay. Các chức năng hiện tại của tôi cho phép tôi tính toán các khoản thanh toán thế chấp. Nếu bạn cần giúp đỡ về điều đó, hãy hỏi."}...
{"name": "calculate_mortgage_payment", "description": "Calculate the monthly mortgage payment", "parameters": {"type": "object", "properties": {"loan_amount": {"type": "number", "description": "The loan amount in dollars"}, "interest_rate": {"type": "number", "description": "The annual interest rate in percentage"}, "l...
[{"role": "user", "content": "Xin chào, tôi cần mã QR cho trang web của mình. Bạn có thể giúp tôi với đó?"}, {"role": "assistant", "content": "Tất nhiên, tôi có thể giúp bạn điều đó. Bạn có thể vui lòng cung cấp cho tôi URL của trang web của bạn không?"}, {"role": "user", "content": "Chắc chắn rồi, đó là www.mywebsite....
{"name": "generate_qr_code", "description": "Generate a QR code for a given text", "parameters": {"type": "object", "properties": {"text": {"type": "string", "description": "The text to be encoded in the QR code"}}, "required": ["text"]}}
[{"role": "user", "content": "Bạn có thể vui lòng đặt pizza cho tôi được không?"}, {"role": "assistant", "content": "Tôi xin lỗi, nhưng là một AI, tôi không có khả năng thực hiện các nhiệm vụ bên ngoài như đặt bánh pizza. Tôi có thể hỗ trợ bạn các công việc liên quan đến chức năng được cung cấp cho tôi, chẳng hạn như t...
{"name": "generate_barcode", "description": "Generate a barcode for a product", "parameters": {"type": "object", "properties": {"product_code": {"type": "string", "description": "The product code"}, "format": {"type": "string", "enum": ["QR", "UPC", "EAN"], "description": "The barcode format"}}, "required": ["product_c...
[{"role": "user", "content": "Xin chào, bạn có thể cho tôi biết bây giờ là mấy giờ không?"}, {"role": "assistant", "content": "Chắc chắn rồi, hãy để tôi kiểm tra điều đó cho bạn."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "get_current_time", "arguments": {}}}]}, {"r...
{"name": "get_current_time", "description": "Get the current time", "parameters": {}}
[{"role": "user", "content": "Tôi nhìn thấy một chiếc áo khoác tôi thích trong một cửa hàng. Ban đầu nó có giá 200 USD nhưng được giảm giá 20%. Bạn có thể cho tôi biết giá sau khi giảm giá là bao nhiêu không?"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "calculate_dis...
{"name": "calculate_discount", "description": "Calculate the discounted price of a product", "parameters": {"type": "object", "properties": {"original_price": {"type": "number", "description": "The original price of the product"}, "discount_percentage": {"type": "number", "description": "The discount percentage"}}, "re...
[{"role": "user", "content": "Tôi cần tính diện tích hình tròn có bán kính 5 đơn vị. Bạn có thể giúp tôi với đó?"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "calculate_area", "arguments": "{\"shape\": \"circle\", \"dimensions\": {\"radius\": 5}}"}}]}, {"role": "tool"...
{"name": "calculate_area", "description": "Calculate the area of a geometric shape", "parameters": {"type": "object", "properties": {"shape": {"type": "string", "description": "The type of geometric shape (circle, square, triangle, etc.)"}, "dimensions": {"type": "object", "properties": {"radius": {"type": "number", "d...
[{"role": "user", "content": "Từ này \"serendipity\" có nghĩa là gì?"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "get_definition", "arguments": "{\"word\": \"serendipity\"}"}}]}, {"role": "tool", "content": "{\"definition\": \"Serendipity is the occurrence and develo...
{"name": "get_definition", "description": "Get the definition of a word", "parameters": {"type": "object", "properties": {"word": {"type": "string", "description": "The word to get the definition of"}}, "required": ["word"]}}
[{"role": "user", "content": "Tôi cần một số ngẫu nhiên từ 1 đến 100."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "generate_random_number", "arguments": "{\"min\": 1, \"max\": 100}"}}]}, {"role": "tool", "content": "{\"result\": 42}"}, {"role": "assistant", "content"...
{"name": "generate_random_number", "description": "Generate a random number within a specified range", "parameters": {"type": "object", "properties": {"min": {"type": "number", "description": "The minimum value of the range"}, "max": {"type": "number", "description": "The maximum value of the range"}}, "required": ["mi...
[{"role": "user", "content": "Xin chào, tôi cần biết khoảng cách giữa New York và Los Angeles."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "calculate_distance", "arguments": "{\"location1\": \"New York\", \"location2\": \"Los Angeles\"}"}}]}, {"role": "tool", "conten...
{"name": "calculate_distance", "description": "Calculate the distance between two locations", "parameters": {"type": "object", "properties": {"location1": {"type": "string", "description": "The first location"}, "location2": {"type": "string", "description": "The second location"}}, "required": ["location1", "location2...
[{"role": "user", "content": "Bạn có thể vui lòng đặt pizza cho tôi được không?"}, {"role": "assistant", "content": "Xin lỗi, nhưng tôi không thể thực hiện các tác vụ bên ngoài như đặt bánh pizza. Khả năng của tôi bị giới hạn ở các chức năng được cung cấp cho tôi. Trong trường hợp này, tôi có thể giúp bạn tính diện tíc...
{"name": "calculate_area", "description": "Calculate the area of a shape", "parameters": {"type": "object", "properties": {"shape": {"type": "string", "description": "The shape for which area needs to be calculated"}, "dimensions": {"type": "object", "properties": {"length": {"type": "number", "description": "The lengt...
[{"role": "user", "content": "Xin chào, tôi cần trợ giúp về cách tính thuế. Thu nhập của tôi là $50000 và thuế suất là 20%."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "calculate_tax", "arguments": "{\"income\": 50000, \"tax_rate\": 20}"}}]}, {"role": "tool", "conten...
{"name": "calculate_tax", "description": "Calculate the tax amount based on the income", "parameters": {"type": "object", "properties": {"income": {"type": "number", "description": "The income amount"}, "tax_rate": {"type": "number", "description": "The tax rate in percentage"}}, "required": ["income", "tax_rate"]}}
[{"role": "user", "content": "Xin chào, tôi cần tính chỉ số BMI của mình. Tôi nặng 70 kg và cao 1,75 m."}, {"role": "assistant", "content": "Chắc chắn rồi, tôi có thể giúp việc đó. Hãy để tôi tính toán nó cho bạn."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "calculat...
{"name": "calculate_bmi", "description": "Calculate the Body Mass Index (BMI) based on weight and height", "parameters": {"type": "object", "properties": {"weight": {"type": "number", "description": "The weight of the person in kilograms"}, "height": {"type": "number", "description": "The height of the person in meters...
[{"role": "user", "content": "Tôi cần tạo một danh sách việc cần làm trong ngày của mình. Bạn có thể giúp tôi với đó?"}, {"role": "assistant", "content": "Tất nhiên là tôi rất sẵn lòng giúp đỡ. Bạn có thể vui lòng cho tôi biết nhiệm vụ bạn muốn thêm vào danh sách việc cần làm của mình không?"}, {"role": "user", "conten...
{"name": "create_todo_list", "description": "Create a to-do list", "parameters": {"type": "object", "properties": {"tasks": {"type": "array", "items": {"type": "string"}, "description": "The tasks to add to the to-do list"}}, "required": ["tasks"]}}
[{"role": "user", "content": "Tôi đang tìm sách của JK Rowling. Bạn có thể giúp tôi tìm thấy chúng?"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "search_books", "arguments": "{\"keyword\": \"J.K. Rowling\"}"}}]}, {"role": "tool", "content": "{\"results\": [{\"title\":...
{"name": "search_books", "description": "Search for books based on title or author", "parameters": {"type": "object", "properties": {"keyword": {"type": "string", "description": "The keyword to search for in book titles or authors"}}, "required": ["keyword"]}}
[{"role": "user", "content": "Xin chào, tôi cần mã QR cho trang web của mình."}, {"role": "assistant", "content": "Chắc chắn rồi, tôi có thể giúp việc đó. Bạn có thể vui lòng cung cấp cho tôi URL của trang web của bạn không?"}, {"role": "user", "content": "Có, URL là www.mywebsite.com."}, {"role": "assistant", "content...
{"name": "generate_qr_code", "description": "Generate a QR code for a given text or URL", "parameters": {"type": "object", "properties": {"content": {"type": "string", "description": "The text or URL to be encoded in the QR code"}}, "required": ["content"]}}
[{"role": "user", "content": "Xin chào, tôi cần hóa đơn cho đơn hàng của mình. Mã đặt hàng là 12345, bao gồm một cuốn sách và một cây bút. Tổng số tiền là 20 USD."}, {"role": "assistant", "content": "Chắc chắn rồi, tôi có thể giúp việc đó. Hãy để tôi tạo hóa đơn cho bạn."}, {"role": "assistant", "content": "", "tool_ca...
{"name": "generate_invoice", "description": "Generate an invoice for a specified order", "parameters": {"type": "object", "properties": {"order_details": {"type": "object", "properties": {"order_number": {"type": "string", "description": "The order number"}, "items": {"type": "array", "items": {"type": "string"}, "desc...
[{"role": "user", "content": "Bạn có thể vui lòng đặt cho tôi một chuyến bay từ New York tới London được không?"}, {"role": "assistant", "content": "Tôi xin lỗi, nhưng tôi không thể hỗ trợ đặt vé máy bay vì đây là nhiệm vụ bên ngoài và tôi không có chức năng nào được cung cấp cho nhiệm vụ đó. Tôi có thể giúp tính tuổi ...
{"name": "calculate_age", "description": "Calculate the age based on birthdate", "parameters": {"type": "object", "properties": {"birthdate": {"type": "string", "format": "date", "description": "The birthdate"}}}}
[{"role": "user", "content": "Xin chào, tôi cần tính mức tiêu thụ nhiên liệu cho ô tô của mình. Tôi đã đi được 500 km và mức tiêu thụ nhiên liệu của xe tôi là 20 km/lít. Bạn có thể giúp tôi với đó?"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "calculate_fuel_consumpti...
{"name": "calculate_fuel_consumption", "description": "Calculate the fuel consumption based on distance and fuel efficiency", "parameters": {"type": "object", "properties": {"distance": {"type": "number", "description": "The distance traveled"}, "fuel_efficiency": {"type": "number", "description": "The fuel efficiency ...
[{"role": "user", "content": "Tôi muốn tạo một tài khoản mới."}, {"role": "assistant", "content": "Chắc chắn, tôi có thể giúp bạn điều đó. Bạn có thể vui lòng cung cấp cho tôi tên, địa chỉ email và mật khẩu của bạn không?"}, {"role": "user", "content": "Tên tôi là John Doe, email là johndoe@example.com và mật khẩu là m...
{"name": "create_user", "description": "Create a new user with provided details", "parameters": {"type": "object", "properties": {"name": {"type": "string", "description": "The name of the user"}, "email": {"type": "string", "description": "The email address of the user"}, "password": {"type": "string", "description": ...
[{"role": "user", "content": "Tôi đang tìm kiếm một công thức làm mì ống nhanh chóng."}, {"role": "assistant", "content": "Chắc chắn rồi, tôi có thể giúp việc đó. Bạn có bao nhiêu thời gian để chuẩn bị?"}, {"role": "user", "content": "Tôi có khoảng 30 phút."}, {"role": "assistant", "content": "", "tool_calls": [{"type"...
{"name": "search_recipes", "description": "Search for recipes based on specific criteria", "parameters": {"type": "object", "properties": {"keywords": {"type": "array", "items": {"type": "string"}, "description": "Keywords for recipe search"}, "max_prep_time": {"type": "integer", "description": "The maximum preparation...
[{"role": "user", "content": "Xin chào, bạn có thể giúp tôi tính tuổi của tôi được không? Tôi sinh ngày 15-05-1990."}, {"role": "assistant", "content": "Tất nhiên là tôi có thể giúp việc đó. Hãy để tôi tính toán nó cho bạn."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name":...
{"name": "calculate_age", "description": "Calculate the age based on birth date", "parameters": {"type": "object", "properties": {"birth_date": {"type": "string", "format": "date", "description": "The birth date"}}, "required": ["birth_date"]}}
[{"role": "user", "content": "Bạn có thể đặt pizza cho tôi được không?"}, {"role": "assistant", "content": "Tôi xin lỗi, nhưng tôi không thể hỗ trợ việc đó. Khả năng hiện tại của tôi cho phép tôi tính toán khoảng cách giữa hai địa điểm. Tôi không có khả năng đặt hàng hoặc thực hiện các nhiệm vụ bên ngoài."}]
{"name": "calculate_distance", "description": "Calculate the distance between two locations", "parameters": {"type": "object", "properties": {"origin": {"type": "string", "description": "The origin location"}, "destination": {"type": "string", "description": "The destination location"}}, "required": ["origin", "destina...
[{"role": "user", "content": "Xin chào, tôi sinh ngày 15-05-1990. Bạn có thể cho tôi biết hôm nay tôi bao nhiêu tuổi không?"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "calculate_age", "arguments": "{\"birthdate\": \"1990-05-15\"}"}}]}, {"role": "tool", "content": "{...
{"name": "calculate_age", "description": "Calculate the age based on the birthdate", "parameters": {"type": "object", "properties": {"birthdate": {"type": "string", "description": "The birthdate of the person (in YYYY-MM-DD format)"}}, "required": ["birthdate"]}}
[{"role": "user", "content": "Bạn có thể đặt pizza cho tôi được không?"}, {"role": "assistant", "content": "Tôi xin lỗi, nhưng tôi không thể thực hiện nhiệm vụ đó vì nó ở bên ngoài và tôi không có chức năng đặt bánh pizza. Tôi có thể hỗ trợ gửi email."}]
{"name": "send_email", "description": "Send an email to a recipient", "parameters": {"type": "object", "properties": {"recipient": {"type": "string", "description": "The email address of the recipient"}, "subject": {"type": "string", "description": "The subject of the email"}, "message": {"type": "string", "description...
[{"role": "user", "content": "Bạn có thể vui lòng đặt cho tôi một chuyến bay từ New York tới London được không?"}, {"role": "assistant", "content": "Tôi xin lỗi, nhưng là một AI, tôi không có khả năng đặt vé máy bay. Hàm hiện tại của tôi cho phép tôi tính tuổi dựa trên ngày sinh nhất định. Nếu bạn cần giúp đỡ về điều đ...
{"name": "calculate_age", "description": "Calculate the age based on the birthdate", "parameters": {"type": "object", "properties": {"birthdate": {"type": "string", "format": "date", "description": "The birthdate in YYYY-MM-DD format"}}, "required": ["birthdate"]}}
[{"role": "user", "content": "Tôi có một ít thịt gà, ớt chuông và hành tây. Bạn có thể tìm cho tôi một công thức được không?"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "search_recipe", "arguments": "{\"ingredients\": [\"chicken\", \"bell peppers\", \"onions\"]}"}}]}...
{"name": "search_recipe", "description": "Search for recipes based on ingredients", "parameters": {"type": "object", "properties": {"ingredients": {"type": "array", "items": {"type": "string"}, "description": "The ingredients to search for"}, "dietary_restrictions": {"type": "array", "items": {"type": "string"}, "descr...
[{"role": "user", "content": "Bạn có thể vui lòng đặt pizza cho tôi được không?"}, {"role": "assistant", "content": "Xin lỗi, nhưng tôi không thể thực hiện các tác vụ bên ngoài như đặt bánh pizza. Khả năng hiện tại của tôi bị giới hạn ở các chức năng được cung cấp cho tôi. Trong trường hợp này, tôi có thể phân tích cảm...
{"name": "analyze_sentiment", "description": "Analyze the sentiment of a given text", "parameters": {"type": "object", "properties": {"text": {"type": "string", "description": "The text to analyze for sentiment"}}, "required": ["text"]}}
[{"role": "user", "content": "Bạn có thể cho tôi những tiêu đề tin tức mới nhất từ ​​​​Hoa Kỳ bằng tiếng Anh không?"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "get_news_headlines", "arguments": "{\"country\": \"United States\", \"language\": \"English\"}"}}]}, {"rol...
{"name": "get_news_headlines", "description": "Get the latest news headlines", "parameters": {"type": "object", "properties": {"country": {"type": "string", "description": "The country to get news from"}, "category": {"type": "string", "description": "The category of news"}, "language": {"type": "string", "description"...
[{"role": "user", "content": "Xin chào, tôi cần biết khoảng cách giữa New York và Los Angeles."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "calculate_distance", "arguments": "{\"origin\": \"New York\", \"destination\": \"Los Angeles\"}"}}]}, {"role": "tool", "content...
{"name": "calculate_distance", "description": "Calculate the distance between two locations", "parameters": {"type": "object", "properties": {"origin": {"type": "string", "description": "The origin location"}, "destination": {"type": "string", "description": "The destination location"}}, "required": ["origin", "destina...
[{"role": "user", "content": "Xin chào, tôi cần đổi 500 đô la Mỹ sang Euro. Bạn có thể giúp tôi với đó?"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "convert_currency", "arguments": "{\"amount\": 500, \"from_currency\": \"USD\", \"to_currency\": \"EUR\"}"}}]}, {"role"...
{"name": "convert_currency", "description": "Convert an amount from one currency to another", "parameters": {"type": "object", "properties": {"amount": {"type": "number", "description": "The amount to be converted"}, "from_currency": {"type": "string", "description": "The currency to convert from"}, "to_currency": {"ty...
[{"role": "user", "content": "Này, bạn có thể gọi pizza cho tôi được không?"}, {"role": "assistant", "content": "Xin lỗi, nhưng tôi không có khả năng thực hiện các nhiệm vụ bên ngoài như đặt bánh pizza. Chức năng hiện tại của tôi cho phép tôi tạo ghi chú cho bạn. Nếu bạn cần nhớ đặt bánh pizza, tôi chắc chắn có thể giú...
{"name": "create_note", "description": "Create a new note", "parameters": {"type": "object", "properties": {"title": {"type": "string", "description": "Title of the note"}, "content": {"type": "string", "description": "Content of the note"}}, "required": ["title", "content"]}}
[{"role": "user", "content": "Tôi cần một chút cảm hứng. Bạn có thể cho tôi một báo giá?"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "generate_random_quote", "arguments": {}}}]}, {"role": "tool", "content": "{\"quote\": \"The only way to do great work is to love what...
{"name": "generate_random_quote", "description": "Generate a random quote", "parameters": {}}
[{"role": "user", "content": "Xin chào, bạn có thể cho tôi biết giá cổ phiếu hiện tại của Apple Inc. không?"}, {"role": "assistant", "content": "Chắc chắn rồi, hãy để tôi lấy thông tin đó cho bạn."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "get_stock_price", "argume...
{"name": "get_stock_price", "description": "Get the current stock price of a company", "parameters": {"type": "object", "properties": {"company": {"type": "string", "description": "The name of the company"}}, "required": ["company"]}}
[{"role": "user", "content": "Mình đang tìm sách nhưng không nhớ tên đầy đủ. Tôi biết tên tác giả là JK Rowling."}, {"role": "assistant", "content": "Chắc chắn rồi, tôi có thể giúp việc đó. Bạn có thể vui lòng cung cấp cho tôi bất kỳ phần nào của tiêu đề hoặc bất kỳ chi tiết nào khác về cuốn sách không?"}, {"role": "us...
{"name": "search_books", "description": "Search for books based on title or author", "parameters": {"type": "object", "properties": {"title": {"type": "string", "description": "The book title"}, "author": {"type": "string", "description": "The book author"}}, "required": ["title", "author"]}}
[{"role": "user", "content": "Xin chào, tôi cần trợ giúp tính tiền boa cho hóa đơn của mình. Tổng số tiền hóa đơn là 100 USD và tôi muốn để lại 15% tiền boa."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "calculate_tip", "arguments": "{\"bill_amount\": 100, \"tip_perce...
{"name": "calculate_tip", "description": "Calculate the tip amount", "parameters": {"type": "object", "properties": {"bill_amount": {"type": "number", "description": "The total bill amount"}, "tip_percentage": {"type": "number", "description": "The tip percentage"}}, "required": ["bill_amount", "tip_percentage"]}}
[{"role": "user", "content": "Này, tôi muốn biết lời bài hát 'Shape of You' của Ed Sheeran."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "get_lyrics", "arguments": "{\"artist\": \"Ed Sheeran\", \"title\": \"Shape of You\"}"}}]}]
{"name": "get_lyrics", "description": "Get the lyrics of a song", "parameters": {"type": "object", "properties": {"artist": {"type": "string", "description": "The artist of the song"}, "title": {"type": "string", "description": "The title of the song"}}, "required": ["artist", "title"]}}
[{"role": "user", "content": "Bạn có thể đặt pizza cho tôi được không?"}, {"role": "assistant", "content": "Xin lỗi, nhưng tôi không có khả năng thực hiện các nhiệm vụ bên ngoài như đặt bánh pizza. Chức năng hiện tại của tôi cho phép tôi phân tích cảm xúc của một văn bản."}]
{"name": "analyze_sentiment", "description": "Analyze the sentiment of a text", "parameters": {"type": "object", "properties": {"text": {"type": "string", "description": "The text to be analyzed"}}, "required": ["text"]}}
[{"role": "user", "content": "Bạn có thể vui lòng đặt cho tôi một chuyến bay từ New York tới London được không?"}, {"role": "assistant", "content": "Tôi xin lỗi, nhưng là một AI, tôi không có khả năng thực hiện các nhiệm vụ bên ngoài như đặt vé máy bay. Chức năng hiện tại của tôi cho phép tôi tính tổng tiền lãi phải tr...
{"name": "calculate_loan_interest", "description": "Calculate the total interest paid on a loan", "parameters": {"type": "object", "properties": {"loan_amount": {"type": "number", "description": "The loan amount"}, "interest_rate": {"type": "number", "description": "The interest rate"}, "loan_term": {"type": "integer",...
[{"role": "user", "content": "Tôi có một ít thịt gà, bông cải xanh và pho mát. Bạn có thể tìm cho tôi một công thức được không?"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "search_recipes", "arguments": "{\"ingredients\": [\"chicken\", \"broccoli\", \"cheese\"]}"}}]}...
{"name": "search_recipes", "description": "Search for recipes based on ingredients", "parameters": {"type": "object", "properties": {"ingredients": {"type": "array", "items": {"type": "string"}, "description": "The ingredients to be used in the recipe"}}, "required": ["ingredients"]}}
[{"role": "user", "content": "Bạn có thể đặt pizza cho tôi được không?"}, {"role": "assistant", "content": "Xin lỗi, nhưng tôi không thể thực hiện các công việc bên ngoài như đặt bánh pizza. Khả năng hiện tại của tôi bị giới hạn trong việc tìm kiếm sách dựa trên tiêu đề, tác giả hoặc thể loại."}]
{"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", "descriptio...
[{"role": "user", "content": "Bạn có thể vui lòng đặt cho tôi một chuyến bay từ New York tới London được không?"}, {"role": "assistant", "content": "Tôi xin lỗi, nhưng tôi không thể hỗ trợ đặt vé máy bay. Khả năng hiện tại của tôi bị giới hạn trong việc tìm kiếm các bài báo dựa trên các từ khóa và nguồn cụ thể. Có chủ ...
{"name": "search_news", "description": "Search for news articles", "parameters": {"type": "object", "properties": {"keywords": {"type": "array", "items": {"type": "string"}, "description": "The keywords to search for in news articles"}, "source": {"type": "string", "description": "The source of the news articles"}}}}
[{"role": "user", "content": "Bạn có thể vui lòng đặt cho tôi một chuyến bay từ New York tới London được không?"}, {"role": "assistant", "content": "Tôi xin lỗi, nhưng tôi không thể đặt vé máy bay. Khả năng hiện tại của tôi bị giới hạn ở các chức năng được cung cấp cho tôi và hiện tại, tôi có thể hỗ trợ bạn chuyển đổi ...
{"name": "convert_currency", "description": "Convert one currency to another", "parameters": {"type": "object", "properties": {"amount": {"type": "number", "description": "The amount to convert"}, "from_currency": {"type": "string", "description": "The currency to convert from"}, "to_currency": {"type": "string", "desc...
[{"role": "user", "content": "Bạn có thể vui lòng đặt cho tôi một chuyến bay từ New York tới London được không?"}, {"role": "assistant", "content": "Tôi xin lỗi, nhưng tôi không thể hỗ trợ việc đó. Đặt vé máy bay là một nhiệm vụ bên ngoài và tôi không có chức năng nào cung cấp cho nhiệm vụ đó. Tôi có thể giúp bạn tính ...
{"name": "calculate_bmi", "description": "Calculate the Body Mass Index (BMI)", "parameters": {"type": "object", "properties": {"weight": {"type": "number", "description": "The weight of the person in kilograms"}, "height": {"type": "number", "description": "The height of the person in meters"}}, "required": ["weight",...
[{"role": "user", "content": "Xin chào, tôi cần trợ giúp tính toán khoản thanh toán thế chấp hàng tháng của mình."}, {"role": "assistant", "content": "Tất nhiên là tôi có thể giúp việc đó. Bạn có thể vui lòng cung cấp cho tôi số tiền gốc của khoản thế chấp, lãi suất hàng năm và thời hạn vay tính bằng năm không?"}, {"ro...
{"name": "calculate_mortgage_payment", "description": "Calculate the monthly mortgage payment", "parameters": {"type": "object", "properties": {"principal": {"type": "number", "description": "The principal amount of the mortgage"}, "interest_rate": {"type": "number", "description": "The annual interest rate"}, "loan_te...
[{"role": "user", "content": "Bạn có thể đặt pizza cho tôi được không?"}, {"role": "assistant", "content": "Tôi xin lỗi, nhưng tôi không thể hỗ trợ việc đó. Khả năng hiện tại của tôi bị giới hạn trong việc cung cấp các đề xuất phim dựa trên sở thích của bạn. Tôi không có khả năng đặt hàng hoặc thực hiện các nhiệm vụ bê...
{"name": "get_movie_recommendations", "description": "Get movie recommendations based on user preferences", "parameters": {"type": "object", "properties": {"genre": {"type": "string", "description": "The preferred movie genre"}, "language": {"type": "string", "description": "The preferred movie language"}, "year": {"ty...
[{"role": "user", "content": "Bạn có thể đặt pizza cho tôi được không?"}, {"role": "assistant", "content": "Xin lỗi, nhưng tôi không thể thực hiện các công việc bên ngoài như đặt bánh pizza. Khả năng của tôi bị giới hạn ở các chức năng được cung cấp cho tôi. Trong trường hợp này, tôi có thể giúp bạn tìm kiếm sách dựa t...
{"name": "search_books", "description": "Search for books based on title and author", "parameters": {"type": "object", "properties": {"title": {"type": "string", "description": "The title of the book"}, "author": {"type": "string", "description": "The author of the book"}}}}
[{"role": "user", "content": "Tôi có một ít thịt gà, bông cải xanh và pho mát. Tôi có thể làm gì với những thứ này?"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "search_recipes", "arguments": "{\"ingredients\": [\"chicken\", \"broccoli\", \"cheese\"]}"}}]}, {"role": "...
{"name": "search_recipes", "description": "Search for recipes based on ingredients", "parameters": {"type": "object", "properties": {"ingredients": {"type": "array", "items": {"type": "string"}, "description": "The ingredients to search for"}}, "required": ["ingredients"]}}
[{"role": "user", "content": "Xin chào, bạn có thể cho tôi biết tin tức thể thao mới nhất từ ​​Hoa Kỳ không?"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "get_news", "arguments": "{\"category\": \"sports\", \"country\": \"United States\"}"}}]}, {"role": "tool", "conte...
{"name": "get_news", "description": "Get the latest news headlines", "parameters": {"type": "object", "properties": {"category": {"type": "string", "description": "The category of news, e.g. sports, politics, entertainment"}, "country": {"type": "string", "description": "The country for which news headlines are require...
[{"role": "user", "content": "Bạn có thể tìm cho tôi một bộ phim có tựa đề \"Inception\" được không?"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "search_movies", "arguments": "{\"title\": \"Inception\"}"}}]}, {"role": "tool", "content": "{\"movies\": [{\"title\": \"I...
{"name": "search_movies", "description": "Search for movies based on title or genre", "parameters": {"type": "object", "properties": {"title": {"type": "string", "description": "The title of the movie"}, "genre": {"type": "string", "description": "The genre of the movie"}}}}
[{"role": "user", "content": "Bạn có thể vui lòng đặt cho tôi một chuyến bay từ New York tới London được không?"}, {"role": "assistant", "content": "Tôi xin lỗi, nhưng tôi không thể hỗ trợ việc đó. Khả năng hiện tại của tôi cho phép tôi tính Chỉ số khối cơ thể (BMI) dựa trên cân nặng và chiều cao. Tôi không có khả năng...
{"name": "calculate_bmi", "description": "Calculate the Body Mass Index (BMI)", "parameters": {"type": "object", "properties": {"weight": {"type": "number", "description": "The weight of the person in kilograms"}, "height": {"type": "number", "description": "The height of the person in meters"}}, "required": ["weight",...
[{"role": "user", "content": "Xin chào, bạn có thể cho tôi biết giá cổ phiếu hiện tại của Microsoft không?"}, {"role": "assistant", "content": "Chắc chắn rồi, tôi có thể giúp việc đó. Để tôi lấy thông tin cho bạn."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "get_stoc...
{"name": "get_stock_price", "description": "Get the current stock price", "parameters": {"type": "object", "properties": {"symbol": {"type": "string", "description": "The stock symbol, e.g. AAPL"}}, "required": ["symbol"]}}
[{"role": "user", "content": "Tôi cần tạo hóa đơn cho khách hàng có tên John Doe. Anh ta mua 2 quả táo giá 1 đô la mỗi quả và 3 quả cam giá 2 đô la mỗi quả."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "generate_invoice", "arguments": "{\"customer_name\": \"John Doe\"...
{"name": "generate_invoice", "description": "Generate an invoice with specified details", "parameters": {"type": "object", "properties": {"customer_name": {"type": "string", "description": "The name of the customer"}, "items": {"type": "array", "items": {"type": "object", "properties": {"name": {"type": "string", "desc...
[{"role": "user", "content": "Xin chào, bạn có thể cho tôi biết tin tức thể thao mới nhất từ ​​Hoa Kỳ không?"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "get_news_headlines", "arguments": "{\"category\": \"sports\", \"country\": \"United States\"}"}}]}, {"role": "too...
{"name": "get_news_headlines", "description": "Get the latest news headlines", "parameters": {"type": "object", "properties": {"category": {"type": "string", "description": "The category of news (e.g. sports, politics, technology)"}, "country": {"type": "string", "description": "The country for which the news headlines...
[{"role": "user", "content": "Tôi muốn biết tôi sẽ tiết kiệm được bao nhiêu nếu mua một chiếc váy có giá 200 USD với mức giảm giá 20%."}, {"role": "assistant", "content": "Hãy để tôi tính toán điều đó cho bạn."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "calculate_di...
{"name": "calculate_discount", "description": "Calculate the discount amount and final price", "parameters": {"type": "object", "properties": {"original_price": {"type": "number", "description": "The original price of the item"}, "discount_percentage": {"type": "number", "description": "The percentage discount"}}, "req...
[{"role": "user", "content": "Này, bạn có thể cho tôi biết giá cổ phiếu hiện tại của Microsoft không?"}, {"role": "assistant", "content": "Chắc chắn rồi, hãy để tôi lấy thông tin đó cho bạn."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "get_stock_price", "arguments": ...
{"name": "get_stock_price", "description": "Get the current stock price", "parameters": {"type": "object", "properties": {"symbol": {"type": "string", "description": "The stock symbol, e.g. AAPL"}}, "required": ["symbol"]}}
[{"role": "user", "content": "Tôi nhìn thấy một chiếc áo khoác tôi thích trong một cửa hàng. Ban đầu nó có giá 200 USD nhưng được giảm giá 20%. Bạn có thể cho tôi biết giá sau khi giảm giá là bao nhiêu không?"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "calculate_dis...
{"name": "calculate_discount", "description": "Calculate the discounted price", "parameters": {"type": "object", "properties": {"original_price": {"type": "number", "description": "The original price of the item"}, "discount_percentage": {"type": "number", "description": "The discount percentage"}}, "required": ["origi...
[{"role": "user", "content": "Xin chào, tôi cần mã QR cho trang web của mình."}, {"role": "assistant", "content": "Chắc chắn rồi, tôi có thể giúp việc đó. Bạn có thể vui lòng cung cấp cho tôi URL của trang web của bạn không?"}, {"role": "user", "content": "Vâng, đó là www.mywebsite.com."}, {"role": "assistant", "conten...
{"name": "generate_qr_code", "description": "Generate a QR code for a given input", "parameters": {"type": "object", "properties": {"input": {"type": "string", "description": "The input to encode in the QR code"}}, "required": ["input"]}}
[{"role": "user", "content": "Xin chào, tôi cần biết khoảng cách giữa New York và Los Angeles."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "calculate_distance", "arguments": "{\"source\": \"New York\", \"destination\": \"Los Angeles\"}"}}]}, {"role": "tool", "content...
{"name": "calculate_distance", "description": "Calculate the distance between two locations", "parameters": {"type": "object", "properties": {"source": {"type": "string", "description": "The source location"}, "destination": {"type": "string", "description": "The destination location"}}, "required": ["source", "destina...
[{"role": "user", "content": "Bạn có thể đặt pizza cho tôi được không?"}, {"role": "assistant", "content": "Xin lỗi, nhưng tôi không thể thực hiện các công việc bên ngoài như đặt bánh pizza. Khả năng của tôi hiện bị giới hạn ở các chức năng được cung cấp cho tôi, chẳng hạn như tính toán khoảng cách giữa hai địa điểm."}...
{"name": "calculate_distance", "description": "Calculate the distance between two locations", "parameters": {"type": "object", "properties": {"location1": {"type": "string", "description": "The first location"}, "location2": {"type": "string", "description": "The second location"}}, "required": ["location1", "location2...
[{"role": "user", "content": "Tôi cần tạo một liên hệ mới cho bạn tôi John Doe."}, {"role": "assistant", "content": "Chắc chắn rồi, tôi có thể giúp việc đó. Bạn có thể vui lòng cung cấp cho tôi địa chỉ email và số điện thoại của John Doe không?"}, {"role": "user", "content": "Email của anh ấy là johndoe@example.com và ...
{"name": "create_contact", "description": "Create a new contact", "parameters": {"type": "object", "properties": {"name": {"type": "string", "description": "The name of the contact"}, "email": {"type": "string", "format": "email", "description": "The email address of the contact"}, "phone": {"type": "string", "descript...
[{"role": "user", "content": "Mình đang tìm sách nhưng không nhớ tên. Tên tác giả là George Orwell."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "search_books", "arguments": "{\"keywords\": \"\", \"author\": \"George Orwell\"}"}}]}, {"role": "tool", "content": "{\"res...
{"name": "search_books", "description": "Search for books based on title or author", "parameters": {"type": "object", "properties": {"keywords": {"type": "string", "description": "The keywords to search for"}, "author": {"type": "string", "description": "The author of the book (optional)"}, "genre": {"type": "string", ...
[{"role": "user", "content": "Này, tôi thấy một chiếc váy trong cửa hàng. Nó có giá 100 USD và được giảm giá 20%. Bạn có thể cho tôi biết giá ưu đãi được không?"}, {"role": "assistant", "content": "Chắc chắn rồi, hãy để tôi tính toán điều đó cho bạn."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "func...
{"name": "calculate_discount", "description": "Calculate the discounted price of an item", "parameters": {"type": "object", "properties": {"original_price": {"type": "number", "description": "The original price of the item"}, "discount_percentage": {"type": "number", "description": "The percentage discount applied to t...
[{"role": "user", "content": "Tôi cần tạo một danh sách việc cần làm mới cho chuyến đi sắp tới của mình."}, {"role": "assistant", "content": "Chắc chắn rồi, tôi có thể giúp việc đó. Bạn muốn đặt tên danh sách việc cần làm của mình là gì?"}, {"role": "user", "content": "Hãy đặt tên nó là \"Chuyến đi tới Paris\"."}, {"ro...
{"name": "create_todo_list", "description": "Create a new todo list", "parameters": {"type": "object", "properties": {"list_name": {"type": "string", "description": "The name of the todo list"}}, "required": ["list_name"]}}
[{"role": "user", "content": "Bạn có thể đặt pizza cho tôi được không?"}, {"role": "assistant", "content": "Xin lỗi, nhưng tôi không thể thực hiện các công việc bên ngoài như đặt bánh pizza. Hàm hiện tại của tôi cho phép tôi tạo một chuỗi ngẫu nhiên có độ dài xác định. Bạn còn cần trợ giúp điều gì khác nằm trong khả nă...
{"name": "generate_random_string", "description": "Generate a random string with specified length", "parameters": {"type": "object", "properties": {"length": {"type": "integer", "description": "The length of the string"}}, "required": ["length"]}}
[{"role": "user", "content": "Em cần tính diện tích hình chữ nhật. Chiều dài là 10 đơn vị và chiều rộng là 5 đơn vị."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "calculate_area", "arguments": "{\"shape\": \"rectangle\", \"dimensions\": {\"length\": 10, \"width\": 5}}...
{"name": "calculate_area", "description": "Calculate the area of a shape", "parameters": {"type": "object", "properties": {"shape": {"type": "string", "description": "The shape for which to calculate the area"}, "dimensions": {"type": "object", "description": "The dimensions of the shape (e.g. length, width)"}}, "requi...
[{"role": "user", "content": "Xin chào, tôi cần mật khẩu mới. Bạn có thể tạo một cái cho tôi không?"}, {"role": "assistant", "content": "Tất nhiên rồi! Bạn muốn mật khẩu của mình kéo dài bao lâu? Và bạn có muốn nó bao gồm các chữ số và ký hiệu không?"}, {"role": "user", "content": "Tôi muốn nó dài 12 ký tự và vâng, vui...
{"name": "generate_random_password", "description": "Generate a random password", "parameters": {"type": "object", "properties": {"length": {"type": "integer", "description": "The length of the password"}, "include_digits": {"type": "boolean", "description": "Include digits in the password"}, "include_symbols": {"type"...
[{"role": "user", "content": "Xin chào, tôi cần gửi một gói hàng đến New York. Nó nặng khoảng 5 kg. Bạn có thể cho tôi biết chi phí sẽ là bao nhiêu nếu tôi chọn chuyển phát nhanh?"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "calculate_shipping_cost", "arguments": "{\...
{"name": "calculate_shipping_cost", "description": "Calculate the shipping cost", "parameters": {"type": "object", "properties": {"weight": {"type": "number", "description": "Weight of the package in kilograms"}, "destination": {"type": "string", "description": "Destination address for shipping"}, "shipping_method": {"...
[{"role": "user", "content": "Tôi muốn biết những tin tức mới nhất về thể thao."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "get_news", "arguments": "{\"category\": \"sports\"}"}}]}, {"role": "tool", "content": "{\"news\": [{\"title\": \"Olympics 2021: USA wins gold ...
{"name": "get_news", "description": "Get the latest news articles from a specific category", "parameters": {"type": "object", "properties": {"category": {"type": "string", "description": "The category of the news (e.g. sports, politics, entertainment)"}}, "required": ["category"]}}
[{"role": "user", "content": "Bạn có thể đặt pizza cho tôi được không?"}, {"role": "assistant", "content": "Xin lỗi, nhưng tôi không thể thực hiện các nhiệm vụ bên ngoài như đặt bánh pizza. Khả năng hiện tại của tôi bị giới hạn ở các chức năng được cung cấp cho tôi, chẳng hạn như tìm kiếm phim dựa trên các tiêu chí nhấ...
{"name": "search_movies", "description": "Search for movies based on given criteria", "parameters": {"type": "object", "properties": {"title": {"type": "string", "description": "The title of the movie"}, "genre": {"type": "string", "description": "The genre of the movie"}, "year": {"type": "integer", "description": "Th...
[{"role": "user", "content": "Xin chào, tôi cần mã QR cho trang web của mình. Bạn có thể giúp tôi với đó?"}, {"role": "assistant", "content": "Tất nhiên, tôi có thể giúp bạn điều đó. Bạn có thể vui lòng cung cấp cho tôi URL của trang web của bạn không?"}, {"role": "user", "content": "Chắc chắn, URL trang web của tôi là...
{"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"}}, "required": ["text"]}}
[{"role": "user", "content": "Bạn có thể vui lòng đặt pizza cho tôi được không?"}, {"role": "assistant", "content": "Xin lỗi, nhưng tôi không có khả năng đặt bánh pizza vì đây là nhiệm vụ bên ngoài và tôi không có chức năng nào được cung cấp cho nhiệm vụ đó. Tôi có thể hỗ trợ bạn gửi email."}]
{"name": "send_email", "description": "Send an email to a specified recipient", "parameters": {"type": "object", "properties": {"recipient": {"type": "string", "description": "The email address of the recipient"}, "subject": {"type": "string", "description": "The subject of the email"}, "message": {"type": "string", "d...
[{"role": "user", "content": "Xin chào, tôi cần mật khẩu mới cho tài khoản của mình. Bạn có thể tạo một cái cho tôi không?"}, {"role": "assistant", "content": "Tất nhiên là tôi có thể giúp việc đó. Bạn có thể vui lòng chỉ định độ dài và độ phức tạp (thấp, trung bình, cao) của mật khẩu bạn muốn không?"}, {"role": "user"...
{"name": "generate_random_password", "description": "Generate a random password with specified length and complexity", "parameters": {"type": "object", "properties": {"length": {"type": "integer", "description": "The length of the password"}, "complexity": {"type": "string", "description": "The complexity of the passwo...
[{"role": "user", "content": "Xin chào, tôi cần trợ giúp về khoản vay mà tôi đang cân nhắc."}, {"role": "assistant", "content": "Tất nhiên là tôi rất sẵn lòng giúp đỡ. Bạn có thể vui lòng cung cấp cho tôi số tiền gốc của khoản vay, lãi suất hàng năm và thời gian vay theo tháng không?"}, {"role": "user", "content": "Chắ...
{"name": "calculate_loan_repayment", "description": "Calculate the monthly repayment amount for a loan", "parameters": {"type": "object", "properties": {"principal": {"type": "number", "description": "The principal amount of the loan"}, "interest_rate": {"type": "number", "description": "The annual interest rate"}, "lo...
[{"role": "user", "content": "Bạn có thể vui lòng đặt cho tôi một chuyến bay từ New York đến Los Angeles được không?"}, {"role": "assistant", "content": "Tôi xin lỗi, nhưng tôi không thể hỗ trợ việc đó. Khả năng hiện tại của tôi bị giới hạn trong việc tính thuế cho một mức thu nhập nhất định. Tôi không có khả năng đặt ...
{"name": "calculate_tax", "description": "Calculate the tax amount for a given income", "parameters": {"type": "object", "properties": {"income": {"type": "number", "description": "The total income"}, "tax_rate": {"type": "number", "description": "The tax rate in percentage"}}, "required": ["income", "tax_rate"]}}
[{"role": "user", "content": "Xin chào, tôi cần trợ giúp về cách tính tiền boa. Hóa đơn của tôi là 50 USD và tôi muốn để lại 20% tiền boa."}, {"role": "assistant", "content": "Chắc chắn rồi, tôi có thể giúp việc đó. Hãy để tôi tính toán nó cho bạn."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "functi...
{"name": "calculate_tip", "description": "Calculate the tip amount for a bill", "parameters": {"type": "object", "properties": {"bill_amount": {"type": "number", "description": "The total amount of the bill"}, "tip_percentage": {"type": "number", "description": "The percentage of the bill to tip"}}, "required": ["bill_...
[{"role": "user", "content": "Bạn có thể đặt pizza cho tôi được không?"}, {"role": "assistant", "content": "Xin lỗi, nhưng tôi không có khả năng thực hiện các nhiệm vụ bên ngoài như đặt bánh pizza. Chức năng hiện tại của tôi là phân tích cảm xúc của một văn bản nhất định. Tôi có thể hỗ trợ bạn điều gì khác liên quan đế...
{"name": "analyze_sentiment", "description": "Analyze the sentiment of a given text", "parameters": {"type": "object", "properties": {"text": {"type": "string", "description": "The text to analyze"}}, "required": ["text"]}}
[{"role": "user", "content": "Xin chào, tôi cần trợ giúp về cách tính tiền boa. Số tiền trên hóa đơn của tôi là 50 USD và tôi muốn để lại 15% tiền boa."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "calculate_tip", "arguments": "{\"bill_amount\": 50, \"tip_percentage\"...
{"name": "calculate_tip", "description": "Calculate the tip amount", "parameters": {"type": "object", "properties": {"bill_amount": {"type": "number", "description": "The bill amount"}, "tip_percentage": {"type": "number", "description": "The tip percentage"}}, "required": ["bill_amount", "tip_percentage"]}}
[{"role": "user", "content": "Bạn có thể đặt pizza cho tôi được không?"}, {"role": "assistant", "content": "Xin lỗi, nhưng tôi không thể thực hiện các công việc bên ngoài như đặt bánh pizza. Khả năng hiện tại của tôi bị giới hạn ở các chức năng được cung cấp cho tôi. Trong trường hợp này, tôi có thể giúp bạn tìm kiếm v...
{"name": "search_jobs", "description": "Search for jobs based on title or location", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "The search query (title or location)"}}, "required": ["query"]}}
[{"role": "user", "content": "Xin chào, tôi muốn tính chỉ số BMI của mình. Tôi nặng 70 kg và cao 1,75 mét."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "calculate_bmi", "arguments": "{\"weight\": 70, \"height\": 1.75}"}}]}, {"role": "tool", "content": "{\"bmi\": 22.86...
{"name": "calculate_bmi", "description": "Calculate the Body Mass Index (BMI) based on weight and height", "parameters": {"type": "object", "properties": {"weight": {"type": "number", "description": "The weight in kilograms"}, "height": {"type": "number", "description": "The height in meters"}}, "required": ["weight", ...
[{"role": "user", "content": "Tôi cần một số hình ảnh của tháp Eiffel vào ban đêm."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "search_images", "arguments": "{\"keywords\": [\"Eiffel Tower\", \"night\"], \"size\": \"large\"}"}}]}, {"role": "tool", "content": "{\"imag...
{"name": "search_images", "description": "Search for images based on keywords", "parameters": {"type": "object", "properties": {"keywords": {"type": "array", "items": {"type": "string"}, "description": "The keywords to search for"}, "size": {"type": "string", "description": "The desired size of the images"}}, "required...
[{"role": "user", "content": "Xin chào, tôi cần tạo một nhiệm vụ mới trong danh sách việc cần làm của mình."}, {"role": "assistant", "content": "Chắc chắn rồi, tôi có thể giúp việc đó. Bạn có thể vui lòng cho tôi biết mô tả nhiệm vụ và ngày đến hạn không?"}, {"role": "user", "content": "Nhiệm vụ là chuẩn bị một bài thu...
{"name": "create_todo", "description": "Create a new todo item", "parameters": {"type": "object", "properties": {"task": {"type": "string", "description": "The task description"}, "due_date": {"type": "string", "description": "The due date of the task"}}, "required": ["task", "due_date"]}}
[{"role": "user", "content": "Tôi hiện đang ở New York và tôi cần tìm trạm xăng gần nhất trong vòng 5 dặm. Bạn có thể giúp tôi với đó?"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "find_nearest_gas_station", "arguments": "{\"location\": \"New York\", \"max_distance\":...
{"name": "find_nearest_gas_station", "description": "Find the nearest gas station", "parameters": {"type": "object", "properties": {"location": {"type": "string", "description": "The current location"}, "max_distance": {"type": "number", "description": "The maximum distance in miles"}}, "required": ["location", "max_di...
[{"role": "user", "content": "Xin chào, tôi cần trợ giúp tính tiền boa cho hóa đơn của mình. Tổng số tiền là 100 USD và tôi muốn tip 15%."}, {"role": "assistant", "content": "Chắc chắn, tôi có thể giúp bạn điều đó. Hãy để tôi tính toán nó cho bạn."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "functio...
{"name": "calculate_tip", "description": "Calculate the tip amount for a bill", "parameters": {"type": "object", "properties": {"bill_amount": {"type": "number", "description": "The total amount of the bill"}, "tip_percentage": {"type": "number", "description": "The percentage of the tip to be given"}}, "required": ["b...
[{"role": "user", "content": "Tôi đang tìm công thức làm mì ống."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "search_recipe", "arguments": "{\"keyword\": \"pasta\"}"}}]}, {"role": "tool", "content": "{\"status\": \"success\", \"data\": {\"recipeName\": \"Creamy Garli...
{"name": "search_recipe", "description": "Search for a recipe", "parameters": {"type": "object", "properties": {"keyword": {"type": "string", "description": "The keyword to search for"}}, "required": ["keyword"]}}
[{"role": "user", "content": "Bạn có thể đặt pizza cho tôi được không?"}, {"role": "assistant", "content": "Xin lỗi, nhưng tôi không thể thực hiện các công việc bên ngoài như đặt bánh pizza. Khả năng hiện tại của tôi bị giới hạn ở các chức năng được cung cấp cho tôi, chẳng hạn như tìm kiếm sách theo tựa đề, tác giả hoặ...
{"name": "search_book", "description": "Search for a book by title or author", "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...
[{"role": "user", "content": "Tôi đang tìm một bộ phim hài hay để xem. Bạn có thể giúp tôi tìm một cái được không?"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "search_movies", "arguments": "{\"query\": \"comedy\"}"}}]}, {"role": "tool", "content": "{\"results\": [{\"...
{"name": "search_movies", "description": "Search for movies by title or genre", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "The search query"}}, "required": ["query"]}}
[{"role": "user", "content": "Này, bạn có thể phân tích cảm xúc của văn bản này cho tôi được không? \"Hôm nay tôi cảm thấy thực sự hạnh phúc!\""}, {"role": "assistant", "content": "Chắc chắn rồi, tôi có thể giúp việc đó. Hãy để tôi phân tích tình cảm của văn bản của bạn."}, {"role": "assistant", "content": "", "tool_ca...
{"name": "analyze_sentiment", "description": "Analyze the sentiment of a text", "parameters": {"type": "object", "properties": {"text": {"type": "string", "description": "The text to be analyzed"}}, "required": ["text"]}}
[{"role": "user", "content": "Xin chào, tôi sinh ngày 15-05-1990. Bạn có thể cho tôi biết hôm nay tôi bao nhiêu tuổi không?"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "calculate_age", "arguments": "{\"birth_date\": \"1990-05-15\", \"current_date\": \"2022-04-01\"}"}...
{"name": "calculate_age", "description": "Calculate a person's age", "parameters": {"type": "object", "properties": {"birth_date": {"type": "string", "description": "The birth date of the person (YYYY-MM-DD)"}, "current_date": {"type": "string", "description": "The current date (YYYY-MM-DD)"}}, "required": ["birth_date...
[{"role": "user", "content": "Bạn có thể vui lòng đặt pizza cho tôi được không?"}, {"role": "assistant", "content": "Tôi xin lỗi, nhưng tôi không thể hỗ trợ việc đó. Khả năng hiện tại của tôi bị giới hạn trong việc tạo mã vạch cho các đầu vào nhất định. Tôi không có khả năng đặt hàng hoặc thực hiện các nhiệm vụ bên ngo...
{"name": "generate_barcode", "description": "Generate a barcode for a given input", "parameters": {"type": "object", "properties": {"input": {"type": "string", "description": "The input for generating the barcode"}}, "required": ["input"]}}
[{"role": "user", "content": "Tôi cần tính tiền boa cho hóa đơn bữa tối của mình. Tổng số tiền là 85 USD và tôi muốn để lại 20% tiền boa."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "calculate_tip", "arguments": "{\"bill_amount\": 85, \"tip_percentage\": 20}"}}]}, {"...
{"name": "calculate_tip", "description": "Calculate the appropriate tip amount for a bill", "parameters": {"type": "object", "properties": {"bill_amount": {"type": "number", "description": "The total amount of the bill"}, "tip_percentage": {"type": "number", "description": "The percentage of the bill to tip"}}, "requir...
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
4