conversations
stringlengths
136
3.93k
tools
stringlengths
75
1.89k
[{"role": "user", "content": "คุณช่วยจองเที่ยวบินจากนิวยอร์กไปลอนดอนให้ฉันได้ไหม"}, {"role": "assistant", "content": "ฉันต้องขอโทษด้วย แต่ฉันไม่สามารถช่วยจองเที่ยวบินได้ เนื่องจากเป็นงานภายนอกที่อยู่นอกเหนือขอบเขตความสามารถของฉัน ฉันสามารถช่วยคำนวณจำนวนทิปตามยอดบิลและเปอร์เซ็นต์ทิปได้"}]
[{"name": "calculate_tip", "description": "Calculate the tip amount based on the bill total and tip percentage", "parameters": {"type": "object", "properties": {"bill_total": {"type": "number", "description": "The total bill amount"}, "tip_percentage": {"type": "number", "description": "The percentage of tip to be give...
[{"role": "user", "content": "สวัสดี ฉันกำลังทำงานโปรเจ็กต์ออกแบบและต้องการหาสีที่เข้ากันกับสี #FF5733 คุณช่วยฉันได้ไหม?"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "get_complementary_color", "arguments": {"color": "#FF5733"}}}]}, {"role": "tool", "content": "{\"comp...
[{"name": "get_complementary_color", "description": "Get the complementary color of a given color", "parameters": {"type": "object", "properties": {"color": {"type": "string", "description": "The color in hex code or name"}}, "required": ["color"]}}, {"name": "calculate_hypotenuse", "description": "Calculate the length...
[{"role": "user", "content": "สวัสดี! คุณช่วยฉันได้ไหม?"}, {"role": "assistant", "content": "แน่นอน! ฉันอยู่ที่นี่เพื่อช่วยเหลือคุณ คุณต้องการให้ฉันช่วยอะไร?"}, {"role": "user", "content": "ฉันต้องการจองเที่ยวบินไปนิวยอร์ก คุณช่วยฉันได้ไหม?"}, {"role": "assistant", "content": "ฉันขอโทษ แต่ในฐานะ AI ฉันไม่สามารถทำภารกิจ...
[{"name": "get_random_quote", "description": "Get a random quote", "parameters": {"type": "object", "properties": {}}}]
[{"role": "user", "content": "สวัสดี ฉันต้องการทราบราคาหุ้นปัจจุบันของ AAPL"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "get_stock_price", "arguments": {"symbol": "AAPL"}}}]}, {"role": "tool", "content": "{\"stock_price\": 150.75}", "name": "get_stock_price"}, {"role...
[{"name": "get_stock_price", "description": "Get the current stock price", "parameters": {"type": "object", "properties": {"symbol": {"type": "string", "description": "The symbol of the stock, e.g. AAPL"}}, "required": ["symbol"]}}]
[{"role": "user", "content": "สวัสดี, ฉันต้องการคำนวณค่า BMI ของฉัน ฉันหนัก 70 กิโลกรัม และสูง 1.75 เมตร"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "calculate_bmi", "arguments": {"weight": 70, "height": 1.75}}}]}, {"role": "tool", "content": "{\"bmi\": 22.86, \"cate...
[{"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", "h...
[{"role": "user", "content": "คุณช่วยจองเที่ยวบินจากนิวยอร์กไปลอสแอนเจลิสให้ฉันได้ไหม?"}, {"role": "assistant", "content": "ฉันขอโทษด้วย แต่ฉันไม่สามารถจองเที่ยวบินได้ ฉันมีขีดความสามารถจำกัดอยู่แค่การคำนวณดอกเบี้ยของสินเชื่อหรือการลงทุน ถ้าคุณต้องการความช่วยเหลือในเรื่องนั้น ฉันยินดีที่จะช่วย!"}]
[{"name": "calculate_interest", "description": "Calculate the interest on a loan or investment", "parameters": {"type": "object", "properties": {"amount": {"type": "number", "description": "The principal amount"}, "interest_rate": {"type": "number", "description": "The interest rate"}, "time_period": {"type": "integer"...
[{"role": "user", "content": "สวัสดี ฉันต้องการความช่วยเหลือในการคำนวณเกรดเฉลี่ย ฉันมีเกรดและหน่วยกิตสำหรับแต่ละวิชาแล้ว"}, {"role": "assistant", "content": "แน่นอน ฉันสามารถช่วยได้ กรุณาแจ้งชื่อวิชา เกรดที่ได้ และหน่วยกิตสำหรับวิชานั้น"}, {"role": "user", "content": "โอเค นี่คือข้อมูล สำหรับวิชาคณิตศาสตร์ ฉันได้เกรด A...
[{"name": "calculate_gpa", "description": "Calculate the GPA (Grade Point Average)", "parameters": {"type": "object", "properties": {"grades": {"type": "array", "items": {"type": "object", "properties": {"subject": {"type": "string", "description": "The name of the subject"}, "credit_hours": {"type": "number", "descrip...
[{"role": "user", "content": "เฮ้ย, บอกระยะทางจากนิวยอร์กไปลอสแอนเจลิสด้วยรถยนต์ได้ไหม?"}, {"role": "assistant", "content": "ได้สิ, เดี๋ยวฉันคำนวณให้"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "calculate_distance", "arguments": {"origin": "New York", "destination": ...
[{"name": "calculate_distance", "description": "Calculate the distance between two locations", "parameters": {"type": "object", "properties": {"origin": {"type": "string", "description": "The starting location"}, "destination": {"type": "string", "description": "The destination location"}, "mode": {"type": "string", "d...
[{"role": "user", "content": "สวัสดี, ฉันกำลังมองหาหนังแอ็คชั่นดีๆ ที่ออกในปี 2019 ช่วยแนะนำหน่อยได้ไหม?"}, {"role": "assistant", "content": "ได้สิ, ฉันจะหาข้อมูลให้คุณ"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "search_movies", "arguments": {"query": "action", "yea...
[{"name": "search_movies", "description": "Search for movies by title or genre", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "The search query (title or genre)"}, "year": {"type": "integer", "description": "The release year of the movies"}}, "required": ["query"]}}]
[{"role": "user", "content": "สวัสดี, ฉันต้องการคำนวณพื้นที่ของสี่เหลี่ยมผืนผ้า ความยาวคือ 10 หน่วยและความกว้างคือ 5 หน่วย"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "calculate_area", "arguments": {"shape": "rectangle", "dimensions": {"length": 10, "breadth": 5}}}}]...
[{"name": "calculate_area", "description": "Calculate the area of a geometric shape", "parameters": {"type": "object", "properties": {"shape": {"type": "string", "description": "The type of geometric shape"}, "dimensions": {"type": "object", "description": "The dimensions of the shape"}}, "required": ["shape", "dimensi...
[{"role": "user", "content": "ฉันอยากรู้ว่าจะประหยัดเงินได้เท่าไหร่ถ้าซื้อชุดราคา $100 ที่ลดราคา 20%"}, {"role": "assistant", "content": "แน่นอน ฉันช่วยคำนวณราคาส่วนลดให้คุณได้"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "calculate_discount", "arguments": {"original_...
[{"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 percentage of discount"}}, "required": ["o...
[{"role": "user", "content": "สวัสดี, ฉันเห็นแจ็คเก็ตที่ชอบในร้าน ราคาเดิมคือ $200 แต่มีส่วนลด 20% อยากรู้ว่าจะต้องจ่ายเท่าไหร่หลังจากหักส่วนลดแล้ว?"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "calculate_discount", "arguments": {"original_price": 200, "discount_perce...
[{"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 percentage of discount app...
[{"role": "user", "content": "สวัสดี ฉันกำลังหาหนังสือแต่จำชื่อหนังสือไม่ได้แน่ชัด ฉันรู้ว่ามันเขียนโดย George Orwell"}, {"role": "assistant", "content": "แน่นอน ฉันสามารถช่วยได้ เราลองใช้ฟังก์ชั่นค้นหาหนังสือเพื่อหาหนังสือเล่มนั้นกันเถอะ"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "func...
[{"name": "search_for_hotels", "description": "Search for hotels based on given criteria", "parameters": {"type": "object", "properties": {"location": {"type": "string", "description": "The location of the hotels"}, "check_in_date": {"type": "string", "format": "date", "description": "The check-in date"}, "check_out_da...
[{"role": "user", "content": "สวัสดี ฉันต้องการความช่วยเหลือในการคำนวณทิป บิลของฉันเป็นจำนวน $50 และฉันต้องการให้ทิป 20%"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "calculate_tip", "arguments": {"bill_amount": 50, "tip_percentage": 20}}}]}, {"role": "tool", "content...
[{"name": "calculate_tip", "description": "Calculate the tip amount for a given bill", "parameters": {"type": "object", "properties": {"bill_amount": {"type": "number", "description": "The total bill amount"}, "tip_percentage": {"type": "number", "description": "The percentage of tip to be applied"}}, "required": ["bil...
[{"role": "user", "content": "สวัสดี, ฉันต้องการความช่วยเหลือเกี่ยวกับการคำนวณการชำระเงินของฉัน"}, {"role": "assistant", "content": "แน่นอน, ฉันสามารถช่วยได้ กรุณาแจ้งจำนวนเงินต้นของสินเชื่อ, อัตราดอกเบี้ยต่อปี และระยะเวลาของสินเชื่อเป็นปี"}, {"role": "user", "content": "ได้, จำนวนเงินต้นคือ $200,000, อัตราดอกเบี้ยต่อป...
[{"name": "calculate_loan_payment", "description": "Calculate the monthly loan payment based on principal, interest rate, and loan term", "parameters": {"type": "object", "properties": {"principal": {"type": "number", "description": "The principal amount of the loan"}, "interest_rate": {"type": "number", "description":...
[{"role": "user", "content": "สวัสดี ฉันต้องการความช่วยเหลือในการคำนวณการชำระเงินของฉัน"}, {"role": "assistant", "content": "แน่นอน ฉันสามารถช่วยคุณได้ กรุณาแจ้งจำนวนเงินที่ต้องการยืม อัตราดอกเบี้ยต่อปี และระยะเวลาการยืมเป็นปี"}, {"role": "user", "content": "แน่นอน จำนวนเงินที่ต้องการยืมคือ $50000 อัตราดอกเบี้ยคือ 5% ต...
[{"name": "calculate_loan_payment", "description": "Calculate the monthly loan payment", "parameters": {"type": "object", "properties": {"loan_amount": {"type": "number", "description": "The loan amount"}, "interest_rate": {"type": "number", "description": "The interest rate per year"}, "loan_term": {"type": "integer",...
[{"role": "user", "content": "สวัสดี ฉันต้องการทราบระยะทางระหว่างนิวยอร์กและลอสแองเจลิส"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "calculate_distance", "arguments": {"origin": "New York", "destination": "Los Angeles"}}}]}, {"role": "tool", "content": "{\"distance\"...
[{"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", "destin...
[{"role": "user", "content": "สวัสดี, ฉันต้องการส่งอีเมลถึงเจ้านายของฉัน คุณช่วยฉันได้ไหม?"}, {"role": "assistant", "content": "แน่นอน, ฉันสามารถช่วยคุณได้ กรุณาแจ้งอีเมลผู้รับ, หัวเรื่องของอีเมล และเนื้อหาของอีเมล"}, {"role": "user", "content": "อีเมลผู้รับคือ boss@company.com, หัวเรื่องคือ 'Monthly Report', และข้อควา...
[{"name": "send_email", "description": "Send an email to a recipient", "parameters": {"type": "object", "properties": {"recipient_email": {"type": "string", "description": "The email address of the recipient"}, "subject": {"type": "string", "description": "The subject of the email"}, "message": {"type": "string", "desc...
[{"role": "user", "content": "ฉันเห็นชุดที่ชอบ มันราคาเดิม $200 แต่ตอนนี้ลดราคา 20% คุณช่วยบอกฉันได้ไหมว่าหลังจากลดราคาแล้วมันจะเหลือเท่าไหร่"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "calculate_discount", "arguments": {"original_price": 200, "discount_percentage":...
[{"name": "calculate_discount", "description": "Calculate the discounted price", "parameters": {"type": "object", "properties": {"original_price": {"type": "number", "description": "The original price"}, "discount_percentage": {"type": "number", "description": "The discount percentage"}}, "required": ["original_price",...
[{"role": "user", "content": "สวัสดี, ฉันต้องการความช่วยเหลือในการคำนวณทิปสำหรับบิลของฉัน ยอดบิลทั้งหมดคือ $50 และฉันต้องการให้ทิป 15%"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "calculate_tip", "arguments": {"bill_amount": 50, "tip_percentage": 15}}}]}, {"role": "t...
[{"name": "calculate_tip", "description": "Calculate the tip amount for a given bill", "parameters": {"type": "object", "properties": {"bill_amount": {"type": "number", "description": "The total bill amount"}, "tip_percentage": {"type": "number", "description": "The percentage of tip to be given"}}, "required": ["bill_...
[{"role": "user", "content": "สวัสดี ฉันเกิดวันที่ 1990-05-15 คุณบอกฉันได้ไหมว่าวันนี้ฉันอายุเท่าไหร่?"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "calculate_age", "arguments": {"birth_date": "1990-05-15"}}}]}, {"role": "tool", "content": "{\"age\": 31}", "name": "ca...
[{"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 in YYYY-MM-DD format"}}, "required": ["birth_date"]}}, {"name": "get_random_quote_author", "description": "...
[{"role": "user", "content": "คุณช่วยจองเที่ยวบินจากนิวยอร์กไปลอสแอนเจลิสให้ฉันได้ไหม"}, {"role": "assistant", "content": "ฉันขอโทษด้วย ฉันไม่สามารถช่วยในเรื่องนั้นได้ ฉันสามารถทำได้แค่เพียงหน้าที่ที่ได้รับมอบหมายมาเท่านั้น และการจองเที่ยวบินนั้นเป็นงานภายนอกที่ฉันไม่มีหน้าที่รับผิดชอบ ฉันสามารถช่วยคุณคำนวณส่วนลดสินค้า...
[{"name": "calculate_discount", "description": "Calculate the discounted price based on original price and discount percentage", "parameters": {"type": "object", "properties": {"original_price": {"type": "number", "description": "The original price of the product"}, "discount_percentage": {"type": "number", "descriptio...
[{"role": "user", "content": "คุณช่วยสั่งพิซซ่าให้ฉันได้ไหม?"}, {"role": "assistant", "content": "ฉันขอโทษด้วยค่ะ แต่ฉันไม่สามารถทำภารกิจภายนอก เช่น สั่งพิซซ่าได้ ฉันทำได้เพียงให้คำจำกัดความของคำ หากคุณต้องการคำจำกัดความของคำใด ๆ ถามฉันได้เลยค่ะ!"}]
[{"name": "get_definition", "description": "Get the definition of a word", "parameters": {"type": "object", "properties": {"word": {"type": "string", "description": "The word to get the definition for"}}, "required": ["word"]}}]
[{"role": "user", "content": "สวัสดีค่ะ ฉันอยากคำนวณค่า BMI ของฉัน ฉันหนัก 70 กิโลกรัม และสูง 1.75 เมตร"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "calculate_bmi", "arguments": {"weight": 70, "height": 1.75}}}]}, {"role": "tool", "content": "{\"bmi\": 22.86}", "name...
[{"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": "สวัสดี ฉันต้องการติดตามพัสดุของฉัน หมายเลขติดตามคือ 123456789"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "track_package", "arguments": {"tracking_number": "123456789"}}}]}, {"role": "tool", "content": "{\"status\": \"In transit\", \"est...
[{"name": "track_package", "description": "Track the status of a package", "parameters": {"type": "object", "properties": {"tracking_number": {"type": "string", "description": "The tracking number of the package"}}, "required": ["tracking_number"]}}]
[{"role": "user", "content": "สวัสดี ฉันกำลังมองหางานในสายงานวิทยาศาสตร์ข้อมูลในนิวยอร์ก คุณช่วยฉันได้ไหม"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "search_jobs", "arguments": {"keywords": ["data science"], "location": "New York"}}}]}, {"role": "tool", "content": "...
[{"name": "analyze_customer_reviews", "description": "Analyze customer reviews for a product", "parameters": {"type": "object", "properties": {"product_name": {"type": "string", "description": "The name of the product"}}, "required": ["product_name"]}}, {"name": "search_jobs", "description": "Search for jobs based on k...
[{"role": "user", "content": "ฉันต้องการคำนวณพื้นที่ของสี่เหลี่ยมผืนผ้า ความยาว 10 หน่วย และความกว้าง 5 หน่วย"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "calculate_area", "arguments": {"shape": "rectangle", "dimensions": {"length": 10, "width": 5}}}}]}, {"role": "to...
[{"name": "calculate_area", "description": "Calculate the area of a geometric shape", "parameters": {"type": "object", "properties": {"shape": {"type": "string", "description": "The geometric shape (e.g. circle, rectangle)"}, "dimensions": {"type": "object", "additionalProperties": true, "description": "The dimensions ...
[{"role": "user", "content": "สวัสดีค่ะ ฉันอยากคำนวณค่า BMI ของฉัน ฉันหนัก 70 กิโลกรัม และสูง 1.75 เมตร"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "calculate_bmi", "arguments": {"weight": 70, "height": 1.75}}}]}, {"role": "tool", "content": "{\"bmi\": 22.86, \"categ...
[{"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": "สวัสดี ฉันต้องการทราบระยะทางระหว่างนิวยอร์กและลอสแอนเจลิส"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "calculate_distance", "arguments": {"location1": "New York", "location2": "Los Angeles"}}}]}, {"role": "tool", "content": "{\"distance\...
[{"name": "calculate_shipping_time", "description": "Calculate the estimated shipping time for a package", "parameters": {"type": "object", "properties": {"origin": {"type": "string", "description": "The origin of the package"}, "destination": {"type": "string", "description": "The destination of the package"}, "weight...
[{"role": "user", "content": "ฉันต้องการส่งอีเมลถึงเจ้านาย คุณช่วยฉันได้ไหม"}, {"role": "assistant", "content": "แน่นอน ฉันช่วยคุณได้ กรุณาแจ้งอีเมลของผู้รับ หัวข้ออีเมล และเนื้อหาที่คุณต้องการส่งด้วยค่ะ"}, {"role": "user", "content": "ได้เลย อีเมลของผู้รับคือ boss@company.com หัวข้อคือ 'Project Update' และข้อความคือ '...
[{"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", "descriptio...
[{"role": "user", "content": "สวัสดี ฉันต้องการ QR code สำหรับเว็บไซต์ของฉัน"}, {"role": "assistant", "content": "แน่นอน ฉันช่วยได้ กรุณาให้ URL ของเว็บไซต์ของคุณด้วยได้ไหม"}, {"role": "user", "content": "ได้ มันคือ www.mywebsite.com"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function"...
[{"name": "generate_qr_code", "description": "Generate a QR code for a text", "parameters": {"type": "object", "properties": {"text": {"type": "string", "description": "The text for the QR code"}}, "required": ["text"]}}]
[{"role": "user", "content": "สวัสดี ฉันต้องการทราบความหมายของคำว่า 'Ephemeral'"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "get_definition", "arguments": {"word": "Ephemeral"}}}]}, {"role": "tool", "content": "{\"definition\": \"Ephemeral: lasting for a very short t...
[{"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": "สวัสดีค่ะ ฉันอยากจะคำนวณค่า BMI ของฉัน ฉันหนัก 70 กิโลกรัม และสูง 1.75 เมตร"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "calculate_bmi", "arguments": {"weight": 70, "height": 1.75}}}]}, {"role": "tool", "content": "{\"bmi\": 22.86}", "na...
[{"name": "calculate_bmi", "description": "Calculate the body mass index (BMI) of a person", "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...
[{"role": "user", "content": "สวัสดี ฉันต้องการคำนวณค่า BMI ของฉัน ฉันหนัก 70 กิโลกรัม และสูง 1.75 เมตร"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "calculate_bmi", "arguments": {"weight": 70, "height": 1.75}}}]}, {"role": "tool", "content": "{\"bmi\": 22.86}", "name...
[{"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": "สวัสดี ฉันต้องการคำนวณ BMI ของฉัน ฉันหนัก 70 กิโลกรัม และสูง 1.75 เมตร"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "calculate_bmi", "arguments": {"weight": 70, "height": 1.75}}}]}, {"role": "tool", "content": "{\"bmi\": 22.86}", "name": ...
[{"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": "สวัสดี, ฉันเห็นชุดที่ชอบในร้าน มันมีราคาเดิม $200 แต่มีส่วนลด 20% อยู่ คุณช่วยคำนวณราคาหลังส่วนลดให้ฉันได้ไหม?"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "calculate_discount", "arguments": {"original_price": 200, "discount_percentage": ...
[{"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 percentage discount"}}, "required": ["orig...
[{"role": "user", "content": "สวัสดี, ฉันต้องการคำนวณค่า BMI ของฉัน ฉันหนัก 70 กิโลกรัม และสูง 1.75 เมตร"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "calculate_bmi", "arguments": {"weight": 70, "height": 1.75}}}]}, {"role": "tool", "content": "{\"bmi\": 22.86}", "nam...
[{"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": "สวัสดี, ฉันต้องการรู้ว่าฉันอายุเท่าไหร่ เกิดวันที่ 1990-05-15"}, {"role": "assistant", "content": "ได้แน่นอน ฉันช่วยคำนวณอายุให้คุณได้"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "calculate_age", "arguments": {"birth_date": "1990-05-15"}...
[{"name": "calculate_age", "description": "Calculate the age based on the birth date", "parameters": {"type": "object", "properties": {"birth_date": {"type": "string", "description": "The birth date in YYYY-MM-DD format"}}, "required": ["birth_date"]}}]
[{"role": "user", "content": "ฉันต้องการตัวเลขสุ่มระหว่าง 1 ถึง 100"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "generate_random_number", "arguments": {"min": 1, "max": 100}}}]}, {"role": "tool", "content": "{\"result\": 42}", "name": "generate_random_number"}, {"rol...
[{"name": "generate_random_number", "description": "Generate a random number within a specified range", "parameters": {"type": "object", "properties": {"min": {"type": "integer", "description": "The minimum value of the range"}, "max": {"type": "integer", "description": "The maximum value of the range"}}, "required": [...
[{"role": "user", "content": "ฉันต้องการส่งอีเมลถึงเจ้านายของฉัน"}, {"role": "assistant", "content": "แน่นอน ฉันสามารถช่วยคุณได้ กรุณาแจ้งอีเมลของผู้รับ หัวเรื่องของอีเมล และเนื้อหาที่คุณต้องการส่ง"}, {"role": "user", "content": "อีเมลของผู้รับคือ boss@company.com หัวเรื่องคือ 'Project Update' และเนื้อหาคือ 'เรียน เจ้า...
[{"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", "descriptio...
[{"role": "user", "content": "สวัสดี ฉันต้องการแปลประโยคจากภาษาอังกฤษเป็นภาษาฝรั่งเศส ประโยคคือ 'Hello, how are you?'"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "translate_text", "arguments": {"text": "Hello, how are you?", "source_language": "English", "target_lang...
[{"name": "translate_text", "description": "Translate text from one language to another", "parameters": {"type": "object", "properties": {"text": {"type": "string", "description": "The text to be translated"}, "source_language": {"type": "string", "description": "The source language of the text"}, "target_language": {"...
[{"role": "user", "content": "ฉันกำลังมองหาหนังสือของเจ.เค โรว์ลิ่ง"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "search_books", "arguments": {"query": "J.K Rowling"}}}]}, {"role": "tool", "content": "{\"results\": [{\"title\": \"Harry Potter and the Philosopher's Sto...
[{"name": "search_books", "description": "Search for books based on title or author", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "The search query (title or author)"}}, "required": ["query"]}}]
[{"role": "user", "content": "ฉันต้องการสร้างโน้ตสำหรับการประชุมพรุ่งนี้"}, {"role": "assistant", "content": "แน่นอน ฉันสามารถช่วยคุณได้ คุณต้องการให้ชื่อโน้ตเป็นอะไร"}, {"role": "user", "content": "ให้ชื่อว่า 'Team Meeting Agenda' ละกัน"}, {"role": "assistant", "content": "เยี่ยม! แล้วคุณต้องการให้มีเนื้อหาอะไรในโน้ตบ...
[{"name": "create_note", "description": "Create a new note", "parameters": {"type": "object", "properties": {"title": {"type": "string", "description": "The title of the note"}, "content": {"type": "string", "description": "The content of the note"}}, "required": ["title", "content"]}}]
[{"role": "user", "content": "คุณสั่งพิซซ่าให้ฉันได้ไหม"}, {"role": "assistant", "content": "ฉันต้องขอโทษด้วย แต่ในฐานะ AI ฉันไม่มีขีดความสามารถในการทำภารกิจภายนอก เช่น การสั่งพิซซ่า ฉันสามารถให้ข้อมูลตามฟังก์ชันที่มีให้ฉันได้ เช่น การหาข้อมูลเกี่ยวกับภาพยนตร์"}]
[{"name": "suggest_friends", "description": "Suggest potential friends based on user's interests and location", "parameters": {"type": "object", "properties": {"interests": {"type": "array", "items": {"type": "string"}, "description": "User's interests"}, "location": {"type": "string", "description": "User's location"}...
[{"role": "user", "content": "สวัสดี, คุณช่วยตรวจสอบการสะกดคำศัพท์ให้ฉันได้ไหม?"}, {"role": "assistant", "content": "แน่นอน, ฉันยินดีช่วยเหลือคุณ โปรดบอกคำศัพท์ที่คุณต้องการตรวจสอบ"}, {"role": "user", "content": "คำศัพท์คือ \"accommodate\""}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "fun...
[{"name": "check_word_spelling", "description": "Check the spelling of a word", "parameters": {"type": "object", "properties": {"word": {"type": "string", "description": "The word to check the spelling of"}}, "required": ["word"]}}]
[{"role": "user", "content": "เฮ้ คุณบอกฉันได้ไหมว่าฉันอายุเท่าไหร่ถ้าฉันเกิดวันที่ 1990-05-15"}, {"role": "assistant", "content": "แน่นอน ฉันจะคำนวณให้คุณ"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "calculate_age", "arguments": {"birthdate": "1990-05-15"}}}]}, {"ro...
[{"name": "calculate_age", "description": "Calculate the age based on birthdate", "parameters": {"type": "object", "properties": {"birthdate": {"type": "string", "format": "date", "description": "The birthdate of the person"}}, "required": ["birthdate"]}}]
[{"role": "user", "content": "คุณสั่งพิซซ่าให้ฉันได้ไหม?"}, {"role": "assistant", "content": "ฉันขอโทษ แต่ฉันไม่สามารถทำภารกิจภายนอก เช่น การสั่งพิซซ่าได้ ความสามารถของฉันจำกัดอยู่ที่ฟังก์ชันที่ได้รับมอบหมาย ในกรณีนี้ ฉันสามารถช่วยคำนวณระยะทางระหว่างสองสถานที่ได้"}]
[{"name": "calculate_distance", "description": "Calculate the distance between two locations", "parameters": {"type": "object", "properties": {"start_location": {"type": "string", "description": "The starting location"}, "end_location": {"type": "string", "description": "The ending location"}}, "required": ["start_loca...
[{"role": "user", "content": "ฉันอยากกินอาหารอิตาเลียน ฉันมีมะเขือเทศ กระเทียม และพาสต้าที่บ้าน คุณแนะนำสูตรอาหารได้ไหม"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "get_recipe", "arguments": {"cuisine": "Italian", "ingredients": ["tomatoes", "garlic", "pasta"]}}}]}, ...
[{"name": "get_recipe", "description": "Get a recipe based on user's preferences", "parameters": {"type": "object", "properties": {"cuisine": {"type": "string", "description": "The cuisine type of the recipe"}, "diet": {"type": "string", "description": "The dietary restrictions for the recipe"}, "ingredients": {"type":...
[{"role": "user", "content": "สวัสดี ฉันต้องการความช่วยเหลือในการคำนวณทิปสำหรับบิลของฉัน จำนวนเงินทั้งหมดในบิลคือ $50 และฉันต้องการให้ทิป 15%"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "calculate_tip", "arguments": {"bill_amount": 50, "tip_percentage": 15}}}]}, {"ro...
[{"name": "schedule_social_media_post", "description": "Schedule a post on social media", "parameters": {"type": "object", "properties": {"content": {"type": "string", "description": "The content of the post"}, "date": {"type": "string", "description": "The date to schedule the post"}, "platform": {"type": "string", "d...
[{"role": "user", "content": "สวัสดีค่ะ ฉันต้องการความช่วยเหลือเกี่ยวกับการคำนวณเงินผ่อนชำระสินเชื่อ"}, {"role": "assistant", "content": "แน่นอนค่ะ ฉันสามารถช่วยได้ กรุณาแจ้งจำนวนเงินต้นของสินเชื่อ อัตราดอกเบี้ยต่อปี และระยะเวลาของสินเชื่อเป็นปีด้วยค่ะ"}, {"role": "user", "content": "ได้ค่ะ จำนวนเงินต้นคือ $200,000 อัต...
[{"name": "calculate_loan_payment", "description": "Calculate the monthly loan payment", "parameters": {"type": "object", "properties": {"principal": {"type": "number", "description": "The principal amount of the loan"}, "interest_rate": {"type": "number", "description": "The annual interest rate"}, "loan_term": {"type...
[{"role": "user", "content": "ฉันต้องการคำนวณพื้นที่ของสี่เหลี่ยมผืนผ้า ความยาว 10 หน่วย และความกว้าง 5 หน่วย"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "calculate_area", "arguments": {"shape": "rectangle", "dimensions": {"length": 10, "width": 5}}}}]}, {"role": "to...
[{"name": "calculate_area", "description": "Calculate the area of a shape", "parameters": {"type": "object", "properties": {"shape": {"type": "string", "description": "The shape (e.g. circle, rectangle, triangle)"}, "dimensions": {"type": "object", "description": "The dimensions of the shape", "properties": {"radius": ...
[{"role": "user", "content": "ฉันต้องการจัดตารางการประชุม"}, {"role": "assistant", "content": "แน่นอน ฉันสามารถช่วยได้ คุณกรุณาให้ชื่อการประชุม อีเมลของผู้เข้าร่วม วันที่ และเวลาที่จะจัดประชุมด้วยได้ไหม"}, {"role": "user", "content": "ชื่อการประชุมคือ 'Project Update' ผู้เข้าร่วมคือ john.doe@example.com และ jane.doe@ex...
[{"name": "estimate_car_value", "description": "Estimate the market value of a car", "parameters": {"type": "object", "properties": {"car_details": {"type": "object", "properties": {"make": {"type": "string", "description": "The make of the car"}, "model": {"type": "string", "description": "The model of the car"}, "yea...
[{"role": "user", "content": "สวัสดี, ฉันซื้อชุดราคา $100 และมีส่วนลด 20% คุณช่วยคำนวณให้หน่อยได้ไหมว่าฉันต้องจ่ายเงินเท่าไหร่"}, {"role": "assistant", "content": "แน่นอน, ฉันสามารถช่วยคุณได้ ฉันจะคำนวณราคาหลังจากลดให้คุณ"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "...
[{"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 percentage of the discount...
[{"role": "user", "content": "สวัสดีค่ะ ฉันต้องการส่งพัสดุไปนิวยอร์ก น้ำหนักประมาณ 5 กิโลกรัม รบกวนช่วยคำนวณค่าส่งให้หน่อยได้ไหมคะ"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "calculate_shipping_cost", "arguments": {"weight": 5, "destination": "New York"}}}]}, {"role...
[{"name": "calculate_shipping_cost", "description": "Calculate the shipping cost for a package", "parameters": {"type": "object", "properties": {"weight": {"type": "number", "description": "The weight of the package in kilograms"}, "destination": {"type": "string", "description": "The destination of the package"}}, "re...
[{"role": "user", "content": "ฉันอยากดูหนังอ่ะ ช่วยแนะนำหนังที่มีคำว่า 'adventure' หน่อยได้ไหม"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "search_movies", "arguments": {"keywords": ["adventure"]}}}]}, {"role": "tool", "content": "{\"movies\": [\"อินเดียน่า โจนส์: ขุ...
[{"name": "search_movies", "description": "Search for movies based on keywords", "parameters": {"type": "object", "properties": {"keywords": {"type": "array", "items": {"type": "string"}, "description": "The keywords to search for"}}, "required": ["keywords"]}}]
[{"role": "user", "content": "สวัสดี คุณบอกราคาหุ้นปัจจุบันของ Apple ได้ไหม"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "get_stock_price", "arguments": {"symbol": "AAPL"}}}]}, {"role": "tool", "content": "{\"stock_price\": \"145.09\"}", "name": "get_stock_price"}, {"...
[{"name": "get_stock_price", "description": "Get the current stock price", "parameters": {"type": "object", "properties": {"symbol": {"type": "string", "description": "The stock symbol"}}}}]
[{"role": "user", "content": "ฉันต้องการคำนวณพื้นที่ของวงกลมที่มีรัศมี 5 หน่วย"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "calculate_area", "arguments": {"shape": "circle", "dimensions": {"radius": 5}}}}]}, {"role": "tool", "content": "{\"area\": 78.54}", "name": "c...
[{"name": "calculate_area", "description": "Calculate the area of a shape", "parameters": {"type": "object", "properties": {"shape": {"type": "string", "description": "The type of shape (e.g. circle, square, triangle)"}, "dimensions": {"type": "object", "properties": {"radius": {"type": "number", "description": "The ra...
[{"role": "user", "content": "สวัสดี คุณช่วยคำนวณอายุของฉันได้ไหม ฉันเกิดวันที่ 1990-05-15"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "calculateAge", "arguments": {"birthdate": "1990-05-15"}}}]}, {"role": "tool", "content": "{\"age\": 31}", "name": "calculateAge"}, ...
[{"name": "calculateAge", "description": "Calculate the age based on birthdate", "parameters": {"type": "object", "properties": {"birthdate": {"type": "string", "description": "The birthdate of the person"}}, "required": ["birthdate"]}}]
[{"role": "user", "content": "คุณช่วยหาหนังให้ฉันได้ไหม"}, {"role": "assistant", "content": "แน่นอน! คุณช่วยบอกชื่อหนังที่ต้องการได้ไหม"}, {"role": "user", "content": "หนังเรื่องนี้ชื่อว่า 'Inception' "}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "search_movie", "argu...
[{"name": "search_movie", "description": "Search for a movie", "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": "The year of release of th...
[{"role": "user", "content": "สวัสดี ฉันต้องการความช่วยเหลือในการคำนวณทิป บิลของฉันเป็นเงิน $50 และฉันต้องการทิ้งทิป 15%"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "calculate_tip", "arguments": {"bill_amount": 50, "tip_percentage": 15}}}]}, {"role": "tool", "content...
[{"name": "calculate_tip", "description": "Calculate the tip amount for a given bill", "parameters": {"type": "object", "properties": {"bill_amount": {"type": "number", "description": "The total bill amount"}, "tip_percentage": {"type": "number", "description": "The percentage of tip to be given"}}, "required": ["bill_...
[{"role": "user", "content": "ฉันกำลังหาหนังเรื่องหนึ่งแต่จำชื่อไม่ได้ทั้งหมด ฉันคิดว่ามันมีคำว่า 'star' อยู่ในชื่อและมันเป็นหนังแนววิทยาศาสตร์"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "search_movies", "arguments": {"title": "star", "genre": "sci-fi"}}}]}, {"role"...
[{"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": "T...
[{"role": "user", "content": "คุณช่วยจองเที่ยวบินจากนิวยอร์กไปลอนดอนให้ฉันได้ไหม?"}, {"role": "assistant", "content": "ฉันขอโทษ แต่ฉันไม่สามารถช่วยจองเที่ยวบินได้ ฉันสามารถคำนวณระยะทางของเส้นทางตามต้นทาง จุดแวะพัก และปลายทางที่ให้มา อย่างไรก็ตาม ฉันไม่สามารถทำภารกิจภายนอก เช่น การจองเที่ยวบินได้"}]
[{"name": "calculate_route_distance", "description": "Calculate the distance of a route", "parameters": {"type": "object", "properties": {"origin": {"type": "string", "description": "The starting point of the route"}, "waypoints": {"type": "array", "items": {"type": "string"}, "description": "The waypoints along the ro...
[{"role": "user", "content": "สวัสดี, ฉันเพิ่งทานอาหารที่ร้านอาหารเสร็จและบิลทั้งหมดเป็น $50 ฉันต้องการทิป 15% ช่วยคำนวณให้หน่อยได้ไหมว่าควรให้เท่าไหร่"}, {"role": "assistant", "content": "ได้สิ, ฉันช่วยคำนวณให้คุณได้"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "calc...
[{"name": "calculate_tip", "description": "Calculate the tip amount based on bill total and tip percentage", "parameters": {"type": "object", "properties": {"bill_total": {"type": "number", "description": "The total amount of the bill"}, "tip_percentage": {"type": "number", "description": "The percentage to tip"}}, "re...
[{"role": "user", "content": "ฉันเห็นแจ็คเก็ตที่ชอบในร้าน มันมีราคาเดิม $200 แต่มีส่วนลด 20% คุณบอกฉันได้ไหมว่าหลังจากลดราคาแล้วจะเหลือเท่าไหร่"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "calculate_discount", "arguments": {"original_price": 200, "discount_percentage...
[{"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"}}, "r...
[{"role": "user", "content": "สวัสดี, ฉันกำลังมองหาหนังมาดู อยากดูหนังตลกยุค 90s"}, {"role": "assistant", "content": "ได้สิ, ฉันจะหาหนังตลกยุค 90s ให้คุณ"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "search_movies", "arguments": {"keyword": "comedy", "year": 1990}}}]}...
[{"name": "search_movies", "description": "Search for movies based on given criteria", "parameters": {"type": "object", "properties": {"keyword": {"type": "string", "description": "The keyword to search for movies"}, "genre": {"type": "string", "description": "The genre of the movies to filter"}, "year": {"type": "inte...
[{"role": "user", "content": "สวัสดีค่ะ ฉันต้องการความช่วยเหลือในการคำนวณการจ่ายเงินกู้ยืม"}, {"role": "assistant", "content": "แน่นอนค่ะ ฉันสามารถช่วยได้ กรุณาแจ้งจำนวนเงินต้นของกู้ยืม อัตราดอกเบี้ยต่อปี และระยะเวลาของกู้ยืมเป็นปี"}, {"role": "user", "content": "ได้ค่ะ จำนวนเงินต้นคือ $200,000 อัตราดอกเบี้ยต่อปีคือ 3....
[{"name": "calculate_loan_payment", "description": "Calculate the monthly loan payment", "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"}, "term":...
[{"role": "user", "content": "ฉันเห็นแจ็คเก็ตที่ชอบในร้านค้า มันมีราคาเดิมอยู่ที่ $200 แต่พวกเขากำลังเสนอส่วนลด 20% คุณบอกฉันได้ไหมว่าฉันจะต้องจ่ายเงินเท่าไหร่หลังจากส่วนลด?"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "calculate_discount", "arguments": {"original_pri...
[{"name": "calculate_discount", "description": "Calculate the discount on 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 to be applied"...
[{"role": "user", "content": "ฉันต้องการสร้างกิจกรรมในปฏิทินสำหรับการประชุมของฉันในวันพรุ่งนี้"}, {"role": "assistant", "content": "แน่นอน ฉันสามารถช่วยคุณได้ กรุณาแจ้งชื่อกิจกรรม เวลาเริ่มต้น และเวลาสิ้นสุดให้ฉันทราบด้วย"}, {"role": "user", "content": "ชื่อกิจกรรมคือ 'Project Discussion' เริ่มต้นเวลา 10:00 และสิ้นสุดเ...
[{"name": "create_calendar_event", "description": "Create a calendar event with given details", "parameters": {"type": "object", "properties": {"title": {"type": "string", "description": "The title of the event"}, "start_time": {"type": "string", "description": "The start time of the event in the format HH:MM"}, "end_t...
[{"role": "user", "content": "สวัสดีค่ะ ฉันต้องการคำนวณค่า BMI ของฉัน ฉันหนัก 70 กิโลกรัม และสูง 1.75 เมตร"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "calculate_bmi", "arguments": {"weight": 70, "height": 1.75}}}]}, {"role": "tool", "content": "{\"bmi\": 22.86}", "n...
[{"name": "searchRestaurants", "description": "Search for restaurants based on location, cuisine, or price range", "parameters": {"type": "object", "properties": {"location": {"type": "string", "description": "The location of the restaurant"}, "cuisine": {"type": "string", "description": "The cuisine type"}, "price_ran...
[{"role": "user", "content": "สวัสดี ฉันต้องการรู้ระยะทางระหว่างนิวยอร์กกับลอสแอนเจลิส คุณช่วยฉันได้ไหม"}, {"role": "assistant", "content": "แน่นอน ฉันสามารถช่วยได้ ให้ฉันคำนวณระยะทางให้คุณ"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "calculate_distance", "arguments"...
[{"name": "calculate_distance", "description": "Calculate the distance between two points", "parameters": {"type": "object", "properties": {"point1": {"type": "object", "properties": {"latitude": {"type": "number", "description": "The latitude of the first point"}, "longitude": {"type": "number", "description": "The lo...
[{"role": "user", "content": "สวัสดี, ฉันต้องการ QR code สำหรับเว็บไซต์ของฉัน คุณสามารถสร้างให้ฉันได้ไหม?"}, {"role": "assistant", "content": "แน่นอน, ฉันสามารถช่วยได้ กรุณาให้ URL ของเว็บไซต์ของคุณ"}, {"role": "user", "content": "ได้เลย, เว็บไซต์ของฉันคือ www.mywebsite.com"}, {"role": "assistant", "content": "", "tool...
[{"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": "สวัสดี ฉันต้องการความช่วยเหลือเกี่ยวกับการคำนวณสินเชื่อ"}, {"role": "assistant", "content": "แน่นอน ฉันยินดีช่วยเหลือ กรุณาแจ้งจำนวนเงินต้นของสินเชื่อ อัตราดอกเบี้ยต่อปี และระยะเวลาของสินเชื่อเป็นเดือน"}, {"role": "user", "content": "ได้เลย จำนวนเงินต้นคือ $50000 อัตราดอกเบี้ยต่อปีคือ 5% แ...
[{"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 for the loan"}, ...
[{"role": "user", "content": "สวัสดี ฉันต้องการความช่วยเหลือในการคำนวณทิปสำหรับบิลของฉัน จำนวนเงินทั้งหมดของบิลคือ $50 และฉันต้องการทิป 15%"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "calculate_tip", "arguments": {"bill_amount": 50, "tip_percentage": 15}}}]}, {"role...
[{"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 percentage tip"}}, "required": ["bill_amount", "tip_percentage"]}}]
[{"role": "user", "content": "คุณช่วยสั่งพิซซ่าให้ฉันได้ไหม?"}, {"role": "assistant", "content": "ฉันขอโทษด้วยค่ะ แต่ฉันไม่สามารถสั่งพิซซ่าได้เนื่องจากเป็นงานภายนอก ฉันสามารถค้นหาหนังสือตามชื่อหรือผู้แต่งได้เท่านั้น มีอะไรอื่นที่ฉันสามารถช่วยคุณได้ภายในขอบเขตความสามารถของฉันไหมคะ?"}]
[{"name": "search_books", "description": "Search for books based on title or author", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "The search query"}, "author": {"type": "string", "description": "Optional. The author name"}}, "required": ["query"]}}]
[{"role": "user", "content": "สวัสดี ฉันมีข้อความที่ต้องการวิเคราะห์ความยาว คุณช่วยฉันได้ไหม"}, {"role": "assistant", "content": "แน่นอน! กรุณาให้ข้อความที่คุณต้องการวิเคราะห์"}, {"role": "user", "content": "นี่คือข้อความ: \"Artificial intelligence is the simulation of human intelligence processes by machines, especial...
[{"name": "analyze_text_length", "description": "Analyze the length of a given text", "parameters": {"type": "object", "properties": {"text": {"type": "string", "description": "The text to analyze"}}, "required": ["text"]}}]
[{"role": "user", "content": "ฉันต้องการสร้างโน้ตสำหรับการประชุมพรุ่งนี้"}, {"role": "assistant", "content": "แน่นอน ฉันสามารถช่วยได้ คุณต้องการให้ชื่อและเนื้อหาของโน้ตเป็นอะไรคะ?"}, {"role": "user", "content": "ชื่อควรเป็น \"การประชุมทีม\" และเนื้อหาควรเป็น \"อภิปรายการอัพเดตโครงการ การจัดสรรงบประมาณ และการมอบหมายงานใ...
[{"name": "upload_image", "description": "Upload an image file", "parameters": {"type": "object", "properties": {"file_url": {"type": "string", "description": "The URL of the image file to upload"}, "caption": {"type": "string", "description": "The caption for the image"}}, "required": ["file_url"]}}, {"name": "create_...
[{"role": "user", "content": "ช่วยสั่งพิซซ่าให้ฉันหน่อยได้ไหม?"}, {"role": "assistant", "content": "ฉันขอโทษด้วย แต่ฉันไม่สามารถทำภารกิจภายนอกได้ เช่น สั่งพิซซ่า ฉันทำได้เพียงหน้าที่ที่ได้รับมอบหมายให้ทำ เช่น คำนวณพื้นที่ของรูปทรง"}]
[{"name": "calculate_area", "description": "Calculate the area of a shape", "parameters": {"type": "object", "properties": {"shape": {"type": "string", "description": "The type of shape (circle, square, triangle, etc.)"}, "dimensions": {"type": "object", "description": "The dimensions of the shape", "properties": {"rad...
[{"role": "user", "content": "ฉันเห็นชุดที่ฉันชอบ มันมีราคาเดิมอยู่ที่ $200 แต่ตอนนี้มีส่วนลด 20% ชุดนั้นจะมีราคาเท่าไหร่ตอนนี้"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "calculate_discount", "arguments": {"original_price": 200, "discount_percentage": 20}}}]}, {"ro...
[{"name": "calculate_discount", "description": "Calculate the discounted price", "parameters": {"type": "object", "properties": {"original_price": {"type": "number", "description": "The original price of the product"}, "discount_percentage": {"type": "number", "description": "The percentage discount"}}, "required": ["o...
[{"role": "user", "content": "คุณสามารถบอกฉันเกี่ยวกับภาพยนตร์เรื่อง 'Inception' ได้ไหม"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "get_movie_details", "arguments": {"title": "Inception"}}}]}, {"role": "tool", "content": "{\"title\": \"Inception\", \"director\": \"C...
[{"name": "get_movie_details", "description": "Get details of a movie", "parameters": {"type": "object", "properties": {"title": {"type": "string", "description": "The title of the movie"}}, "required": ["title"]}}]
[{"role": "user", "content": "สวัสดี ฉันต้องการคำนวณเงินเดือนรวมของฉัน ฉันทำงาน 40 ชั่วโมงในสัปดาห์นี้ และอัตราค่าจ้างรายชั่วโมงของฉันคือ $15 คุณช่วยฉันคำนวณได้ไหม?"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "calculate_gross_salary", "arguments": {"hourly_rate": 15,...
[{"name": "calculate_gross_salary", "description": "Calculate the gross salary based on hourly rate and hours worked", "parameters": {"type": "object", "properties": {"hourly_rate": {"type": "number", "description": "The hourly rate"}, "hours_worked": {"type": "number", "description": "The number of hours worked"}}, "r...
[{"role": "user", "content": "ฉันกำลังมองหาสินค้าชื่อ 'iPhone 12' อยู่"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "search_product", "arguments": {"name": "iPhone 12"}}}]}, {"role": "tool", "content": "{\"product\": {\"name\": \"iPhone 12\", \"category\": \"Electroni...
[{"name": "reserve_table", "description": "Reserve a table at a restaurant", "parameters": {"type": "object", "properties": {"restaurant_name": {"type": "string", "description": "The name of the restaurant"}, "reservation_date": {"type": "string", "description": "The date of the reservation"}, "party_size": {"type": "i...
[{"role": "user", "content": "สวัสดี ฉันกำลังวางแผนเดินทางด้วยรถยนต์ คุณช่วยบอกระยะทางระหว่างนิวยอร์กและลอสแอนเจลิสได้ไหม?"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "calculate_distance", "arguments": {"origin": "New York", "destination": "Los Angeles"}}}]}, {"role"...
[{"name": "calculate_distance", "description": "Calculate the distance between two locations", "parameters": {"type": "object", "properties": {"origin": {"type": "string", "description": "The starting location"}, "destination": {"type": "string", "description": "The destination location"}}, "required": ["origin", "dest...
[{"role": "user", "content": "ฉันมีไก่กับบรอกโคลี คุณช่วยหาสูตรอาหารให้ฉันได้ไหม"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "search_recipes", "arguments": {"ingredients": ["chicken", "broccoli"]}}}]}, {"role": "tool", "content": "{\"recipes\": [{\"name\": \"Chicken ...
[{"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"}, "cuisine": {"type": "string", "description": "The cuisine type to filter th...
[{"role": "user", "content": "เฮ้ ฉันรู้สึกเบื่อๆ อยู่ คุณช่วยบอกอะไรที่น่าสนใจให้ฉันฟังหน่อยได้ไหม"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "get_random_fact", "arguments": {}}}]}, {"role": "tool", "content": "{\"fact\": \"Did you know that an octopus has three he...
[{"name": "get_random_fact", "description": "Retrieve a random fact from a database of facts", "parameters": {}}, {"name": "get_translation", "description": "Get the translation of a word in a given language", "parameters": {"type": "object", "properties": {"word": {"type": "string", "description": "The word to transla...
[{"role": "user", "content": "ฉันต้องการบาร์โค้ดสำหรับสินค้า"}, {"role": "assistant", "content": "แน่นอน ฉันสามารถช่วยได้ คุณกรุณาให้ข้อมูลรหัสสินค้า ชื่อสินค้า และราคาสินค้าได้ไหม"}, {"role": "user", "content": "รหัสสินค้าคือ 12345 ชื่อสินค้าคือ \"Apple Juice\" และราคาคือ 2.99"}, {"role": "assistant", "content": "", "...
[{"name": "generate_barcode", "description": "Generate a barcode for a product", "parameters": {"type": "object", "properties": {"product_id": {"type": "string", "description": "The ID of the product"}, "product_name": {"type": "string", "description": "The name of the product"}, "price": {"type": "number", "descriptio...
[{"role": "user", "content": "คุณสามารถวิเคราะห์ความรู้สึกของโพสต์เกี่ยวกับการเปลี่ยนแปลงภูมิอากาศบน Twitter ได้ไหม?"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "analyze_social_media_sentiment", "arguments": {"topic": "climate change", "platform": "Twitter"}}}]}, {"r...
[{"name": "analyze_social_media_sentiment", "description": "Analyze the sentiment of social media posts related to a topic", "parameters": {"type": "object", "properties": {"topic": {"type": "string", "description": "The topic to analyze"}, "platform": {"type": "string", "description": "The social media platform to sea...
[{"role": "user", "content": "ฉันต้องการรหัสผ่านใหม่ คุณช่วยสร้างรหัสผ่านแบบสุ่มให้ฉันได้ไหม"}, {"role": "assistant", "content": "แน่นอน! คุณต้องการให้รหัสผ่านยาวเท่าไหร่"}, {"role": "user", "content": "ฉันต้องการให้มันยาว 12 ตัวอักษร"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function...
[{"name": "generate_random_password", "description": "Generate a random password with specified length", "parameters": {"type": "object", "properties": {"length": {"type": "integer", "description": "The length of the password"}}, "required": ["length"]}}]
[{"role": "user", "content": "ฉันอยู่ที่นิวยอร์กและกำลังมองหาร้านอาหารอิตาเลียน คุณช่วยฉันได้ไหม?"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "search_restaurant", "arguments": {"location": "New York", "cuisine": "Italian"}}}]}, {"role": "tool", "content": "{\"restaur...
[{"name": "search_restaurant", "description": "Search for nearby restaurants", "parameters": {"type": "object", "properties": {"location": {"type": "string", "description": "The location to search for restaurants"}, "cuisine": {"type": "string", "description": "The type of cuisine to search for"}, "price_range": {"type...
[{"role": "user", "content": "สวัสดี ฉันต้องการคำนวณค่า BMI ของฉัน ความสูงของฉันคือ 1.75 เมตร และฉันมีน้ำหนัก 70 กิโลกรัม"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "calculate_bmi", "arguments": {"height": 1.75, "weight": 70}}}]}, {"role": "tool", "content": "{\"bmi...
[{"name": "calculate_bmi", "description": "Calculate Body Mass Index (BMI)", "parameters": {"type": "object", "properties": {"height": {"type": "number", "description": "The height in meters"}, "weight": {"type": "number", "description": "The weight in kilograms"}}, "required": ["height", "weight"]}}]
[{"role": "user", "content": "สวัสดี, ฉันเห็นชุดเดรสที่ชอบมาก มันราคาเดิม $200 แต่มีส่วนลด 20% คุณช่วยบอกฉันได้ไหมว่าหลังจากส่วนลดแล้วราคาจะเป็นเท่าไหร่"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "calculate_discount", "arguments": {"original_price": 200, "discount_p...
[{"name": "calculate_discount", "description": "Calculate the discounted price based on original price and discount percentage", "parameters": {"type": "object", "properties": {"original_price": {"type": "number", "description": "The original price"}, "discount_percentage": {"type": "number", "description": "The discou...
[{"role": "user", "content": "สวัสดี ฉันอยากรู้ราคาหุ้นปัจจุบันของ AAPL"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "get_stock_price", "arguments": {"symbol": "AAPL"}}}]}, {"role": "tool", "content": "{\"status\": \"success\", \"data\": {\"symbol\": \"AAPL\", \"price...
[{"name": "find_closest_gas_station", "description": "Find the closest gas station based on current location", "parameters": {"type": "object", "properties": {"latitude": {"type": "number", "description": "The current latitude"}, "longitude": {"type": "number", "description": "The current longitude"}}, "required": ["la...
[{"role": "user", "content": "สวัสดีค่ะ ฉันต้องการคำนวณค่า BMI ของฉัน ฉันหนัก 70 กิโลกรัม และสูง 1.75 เมตร"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "calculate_bmi", "arguments": {"weight": 70, "height": 1.75}}}]}, {"role": "tool", "content": "{\"bmi\": 22.86}", "n...
[{"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": "ฉันมีรหัสคูปอง 'SAVE20' และฉันต้องการใช้มันกับสินค้าที่ราคา $100 คุณบอกฉันได้ไหมว่าฉันจะต้องจ่ายเท่าไหร่หลังจากใช้คูปอง"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "calculate_discounted_price", "arguments": {"original_price": 100, "coupo...
[{"name": "calculate_discounted_price", "description": "Calculate the discounted price after applying a coupon", "parameters": {"type": "object", "properties": {"original_price": {"type": "number", "description": "The original price of the item"}, "coupon_code": {"type": "string", "description": "The coupon code to be ...
[{"role": "user", "content": "สวัสดี คุณบอกฉันได้ไหมว่าฉันอายุเท่าไหร่ ถ้าฉันเกิดวันที่ 1990-05-15"}, {"role": "assistant", "content": "ได้แน่นอน ฉันจะคำนวณให้คุณ"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "calculate_age", "arguments": {"birth_date": "1990-05-15"}}}...
[{"name": "calculate_age", "description": "Calculate the age based on the birth date", "parameters": {"type": "object", "properties": {"birth_date": {"type": "string", "format": "date", "description": "The birth date in format YYYY-MM-DD"}}, "required": ["birth_date"]}}]
[{"role": "user", "content": "คุณช่วยสั่งพิซซ่าให้ฉันได้ไหม?"}, {"role": "assistant", "content": "ฉันขอโทษด้วย แต่ฉันไม่สามารถทำภารกิจภายนอกเช่นการสั่งพิซซ่าได้ ฉันมีหน้าที่คำนวณระยะทางระหว่างสองสถานที่ หากคุณต้องการความช่วยเหลือในเรื่องนั้น ก็ถามฉันได้เลย!"}]
[{"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", "location...
[{"role": "user", "content": "คุณสั่งพิซซ่าให้ฉันได้ไหม"}, {"role": "assistant", "content": "ฉันขอโทษ แต่ฉันไม่สามารถทำภารกิจภายนอกเช่นการสั่งพิซซ่าได้ ความสามารถของฉันในปัจจุบันถูกจำกัดอยู่เพียงการสร้างโปรไฟล์ผู้ใช้ใหม่"}]
[{"name": "create_user", "description": "Create a new user profile", "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": "The password...
[{"role": "user", "content": "คุณสั่งพิซซ่าให้ฉันได้ไหม"}, {"role": "assistant", "content": "ฉันขอโทษ แต่ฉันไม่สามารถทำภารกิจภายนอก เช่น สั่งพิซซ่า ฉันมีขีดความสามารถจำกัดอยู่แค่หน้าที่ที่ได้รับมอบหมาย ในกรณีนี้ ฉันสามารถช่วยคำนวณอายุจากวันเกิดได้"}]
[{"name": "calculate_age", "description": "Calculate the age based on the birth date", "parameters": {"type": "object", "properties": {"birth_date": {"type": "string", "description": "The birth date (format: 'YYYY-MM-DD')"}}, "required": ["birth_date"]}}]
[{"role": "user", "content": "เฮ้ คุณบอกราคาหุ้นปัจจุบันของ Apple Inc ได้ไหม?"}, {"role": "assistant", "content": "แน่นอน เดี๋ยวฉันไปหาข้อมูลมาให้คุณ"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "get_stock_price", "arguments": {"company": "Apple Inc."}}}]}, {"role": "...
[{"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": "สวัสดี, ฉันอยากรู้ราคาส่วนลดของชุดเดรส ราคาเดิมคือ $100 และส่วนลดคือ 20%."}, {"role": "assistant", "content": "แน่นอน, ฉันจะคำนวณให้คุณ"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "calculate_discounted_price", "arguments": {"original_pri...
[{"name": "calculate_discounted_price", "description": "Calculate the discounted price of an item", "parameters": {"type": "object", "properties": {"original_price": {"type": "number", "description": "The original price of the item"}, "discount": {"type": "number", "description": "The discount percentage"}}, "required"...
[{"role": "user", "content": "สวัสดี ฉันต้องการความช่วยเหลือเกี่ยวกับการคำนวณการชำระเงินสินเชื่อ"}, {"role": "assistant", "content": "แน่นอน ฉันสามารถช่วยได้ กรุณาแจ้งยอดสินเชื่อทั้งหมด อัตราดอกเบี้ยต่อปี และระยะเวลาสินเชื่อเป็นปีให้ฉันทราบได้ไหม"}, {"role": "user", "content": "ได้เลย ยอดสินเชื่อทั้งหมดคือ $200,000 อัต...
[{"name": "calculate_loan_payment", "description": "Calculate the monthly payment for a loan", "parameters": {"type": "object", "properties": {"loan_amount": {"type": "number", "description": "The total loan amount"}, "interest_rate": {"type": "number", "description": "The annual interest rate"}, "loan_term": {"type": ...