diff --git a/examples/function-calling/arguments/chatgpt.apple-airpods.input.json b/examples/function-calling/arguments/chatgpt.apple-airpods.input.json new file mode 100644 index 0000000..f633717 --- /dev/null +++ b/examples/function-calling/arguments/chatgpt.apple-airpods.input.json @@ -0,0 +1,299 @@ +{ + "section_code": "general", + "opened_at": null, + "closed_at": null, + "content": { + "title": "Apple AirPods", + "format": "md", + "body": "Apple AirPods are wireless Bluetooth earbuds designed by Apple, designed to work seamlessly with Apple devices like iPhones and iPads. Enjoy superior sound quality and convenience with automatic on and connection, easy setup for all your Apple devices, and quick access to Siri. They offer a rich and immersive audio experience with a built-in microphone to filter out background noise and focus on the sound of your voice. The AirPods come with a sleek charging case providing long battery life, making them the ultimate choice for on-the-go listening.", + "files": [], + "thumbnails": [ + { + "name": "apple_airpods", + "extension": "jpg", + "url": "https://example.com/photos/apple_airpods.jpg" + } + ] + }, + "channels": [ + { + "code": "samchon", + "category_codes": [ + "electronics", + "smart_phones", + "accessories", + "clothing" + ] + } + ], + "units": [ + { + "options": [ + { + "type": "select", + "name": "Model", + "variable": true, + "candidates": [ + { + "name": "AirPods 2nd Generation" + }, + { + "name": "AirPods 3rd Generation" + }, + { + "name": "AirPods Pro" + }, + { + "name": "AirPods Max" + } + ] + }, + { + "type": "select", + "name": "Color", + "variable": true, + "candidates": [ + { + "name": "White" + }, + { + "name": "Black" + }, + { + "name": "Space Gray" + } + ] + } + ], + "stocks": [ + { + "name": "AirPods 2nd Generation - White", + "price": { + "nominal": 159, + "real": 159 + }, + "quantity": 100, + "choices": [ + { + "option_index": 0, + "candidate_index": 0 + }, + { + "option_index": 1, + "candidate_index": 0 + } + ] + }, + { + "name": "AirPods 2nd Generation - Black", + "price": { + "nominal": 159, + "real": 159 + }, + "quantity": 100, + "choices": [ + { + "option_index": 0, + "candidate_index": 0 + }, + { + "option_index": 1, + "candidate_index": 1 + } + ] + }, + { + "name": "AirPods 2nd Generation - Space Gray", + "price": { + "nominal": 159, + "real": 159 + }, + "quantity": 100, + "choices": [ + { + "option_index": 0, + "candidate_index": 0 + }, + { + "option_index": 1, + "candidate_index": 2 + } + ] + }, + { + "name": "AirPods 3rd Generation - White", + "price": { + "nominal": 199, + "real": 199 + }, + "quantity": 100, + "choices": [ + { + "option_index": 0, + "candidate_index": 1 + }, + { + "option_index": 1, + "candidate_index": 0 + } + ] + }, + { + "name": "AirPods 3rd Generation - Black", + "price": { + "nominal": 199, + "real": 199 + }, + "quantity": 100, + "choices": [ + { + "option_index": 0, + "candidate_index": 1 + }, + { + "option_index": 1, + "candidate_index": 1 + } + ] + }, + { + "name": "AirPods 3rd Generation - Space Gray", + "price": { + "nominal": 199, + "real": 199 + }, + "quantity": 100, + "choices": [ + { + "option_index": 0, + "candidate_index": 1 + }, + { + "option_index": 1, + "candidate_index": 2 + } + ] + }, + { + "name": "AirPods Pro - White", + "price": { + "nominal": 249, + "real": 249 + }, + "quantity": 100, + "choices": [ + { + "option_index": 0, + "candidate_index": 2 + }, + { + "option_index": 1, + "candidate_index": 0 + } + ] + }, + { + "name": "AirPods Pro - Black", + "price": { + "nominal": 249, + "real": 249 + }, + "quantity": 100, + "choices": [ + { + "option_index": 0, + "candidate_index": 2 + }, + { + "option_index": 1, + "candidate_index": 1 + } + ] + }, + { + "name": "AirPods Pro - Space Gray", + "price": { + "nominal": 249, + "real": 249 + }, + "quantity": 100, + "choices": [ + { + "option_index": 0, + "candidate_index": 2 + }, + { + "option_index": 1, + "candidate_index": 2 + } + ] + }, + { + "name": "AirPods Max - White", + "price": { + "nominal": 549, + "real": 549 + }, + "quantity": 50, + "choices": [ + { + "option_index": 0, + "candidate_index": 3 + }, + { + "option_index": 1, + "candidate_index": 0 + } + ] + }, + { + "name": "AirPods Max - Black", + "price": { + "nominal": 549, + "real": 549 + }, + "quantity": 50, + "choices": [ + { + "option_index": 0, + "candidate_index": 3 + }, + { + "option_index": 1, + "candidate_index": 1 + } + ] + }, + { + "name": "AirPods Max - Space Gray", + "price": { + "nominal": 549, + "real": 549 + }, + "quantity": 50, + "choices": [ + { + "option_index": 0, + "candidate_index": 3 + }, + { + "option_index": 1, + "candidate_index": 2 + } + ] + } + ], + "name": "Apple AirPods", + "required": true, + "primary": true + } + ], + "tags": [ + "electronics", + "audio", + "wireless", + "Apple", + "AirPods", + "Bluetooth" + ] +} \ No newline at end of file diff --git a/examples/function-calling/arguments/chatgpt.apple-imac.input.json b/examples/function-calling/arguments/chatgpt.apple-imac.input.json new file mode 100644 index 0000000..643637e --- /dev/null +++ b/examples/function-calling/arguments/chatgpt.apple-imac.input.json @@ -0,0 +1,265 @@ +{ + "section_code": "general", + "opened_at": "2023-10-01T00:00:00Z", + "closed_at": null, + "content": { + "title": "Apple iMac", + "format": "html", + "body": "The Apple iMac is renowned for its sleek design, powerful performance, and immersive display, offering a premium computing experience for creative professionals and general users alike.", + "files": [ + { + "name": "iMac", + "extension": "jpg", + "url": "https://example.com/imac.jpg" + } + ], + "thumbnails": [ + { + "name": "iMac_thumbnail", + "extension": "jpg", + "url": "https://example.com/imac_thumbnail.jpg" + } + ] + }, + "channels": [ + { + "code": "samchon", + "category_codes": [ + "electronics", + "desktops" + ] + } + ], + "units": [ + { + "options": [ + { + "type": "select", + "name": "CPU", + "variable": true, + "candidates": [ + { + "name": "M1" + }, + { + "name": "M1 Pro" + } + ] + }, + { + "type": "select", + "name": "RAM", + "variable": true, + "candidates": [ + { + "name": "8GB" + }, + { + "name": "16GB" + } + ] + }, + { + "type": "select", + "name": "Storage", + "variable": true, + "candidates": [ + { + "name": "256GB SSD" + }, + { + "name": "512GB SSD" + } + ] + } + ], + "stocks": [ + { + "name": "iMac M1/8GB/256GB", + "price": { + "nominal": 1299, + "real": 1299 + }, + "quantity": 10, + "choices": [ + { + "option_index": 0, + "candidate_index": 0 + }, + { + "option_index": 1, + "candidate_index": 0 + }, + { + "option_index": 2, + "candidate_index": 0 + } + ] + }, + { + "name": "iMac M1/8GB/512GB", + "price": { + "nominal": 1499, + "real": 1499 + }, + "quantity": 5, + "choices": [ + { + "option_index": 0, + "candidate_index": 0 + }, + { + "option_index": 1, + "candidate_index": 0 + }, + { + "option_index": 2, + "candidate_index": 1 + } + ] + }, + { + "name": "iMac M1/16GB/256GB", + "price": { + "nominal": 1499, + "real": 1499 + }, + "quantity": 8, + "choices": [ + { + "option_index": 0, + "candidate_index": 0 + }, + { + "option_index": 1, + "candidate_index": 1 + }, + { + "option_index": 2, + "candidate_index": 0 + } + ] + }, + { + "name": "iMac M1/16GB/512GB", + "price": { + "nominal": 1699, + "real": 1699 + }, + "quantity": 12, + "choices": [ + { + "option_index": 0, + "candidate_index": 0 + }, + { + "option_index": 1, + "candidate_index": 1 + }, + { + "option_index": 2, + "candidate_index": 1 + } + ] + }, + { + "name": "iMac M1 Pro/8GB/256GB", + "price": { + "nominal": 1599, + "real": 1599 + }, + "quantity": 15, + "choices": [ + { + "option_index": 0, + "candidate_index": 1 + }, + { + "option_index": 1, + "candidate_index": 0 + }, + { + "option_index": 2, + "candidate_index": 0 + } + ] + }, + { + "name": "iMac M1 Pro/8GB/512GB", + "price": { + "nominal": 1799, + "real": 1799 + }, + "quantity": 7, + "choices": [ + { + "option_index": 0, + "candidate_index": 1 + }, + { + "option_index": 1, + "candidate_index": 0 + }, + { + "option_index": 2, + "candidate_index": 1 + } + ] + }, + { + "name": "iMac M1 Pro/16GB/256GB", + "price": { + "nominal": 1799, + "real": 1799 + }, + "quantity": 8, + "choices": [ + { + "option_index": 0, + "candidate_index": 1 + }, + { + "option_index": 1, + "candidate_index": 1 + }, + { + "option_index": 2, + "candidate_index": 0 + } + ] + }, + { + "name": "iMac M1 Pro/16GB/512GB", + "price": { + "nominal": 1999, + "real": 1999 + }, + "quantity": 6, + "choices": [ + { + "option_index": 0, + "candidate_index": 1 + }, + { + "option_index": 1, + "candidate_index": 1 + }, + { + "option_index": 2, + "candidate_index": 1 + } + ] + } + ], + "name": "Apple iMac", + "required": true, + "primary": true + } + ], + "tags": [ + "Apple", + "iMac", + "Computers", + "Electronics" + ] +} \ No newline at end of file diff --git a/examples/function-calling/arguments/chatgpt.apple-ipad.input.json b/examples/function-calling/arguments/chatgpt.apple-ipad.input.json new file mode 100644 index 0000000..4ada7a3 --- /dev/null +++ b/examples/function-calling/arguments/chatgpt.apple-ipad.input.json @@ -0,0 +1,244 @@ +{ + "section_code": "general", + "opened_at": null, + "closed_at": null, + "content": { + "title": "Apple iPad", + "format": "txt", + "body": "The Apple iPad is a versatile tablet with a stunning display, fast processor, and advanced features, perfect for both productivity and entertainment. With its sleek design and accessibility to a wide range of apps, it's a device that caters to everyone's needs.", + "files": [ + { + "name": "ipad-image", + "extension": "jpg", + "url": "https://example.com/ipad.jpg" + } + ], + "thumbnails": [ + { + "name": "ipad-thumbnail", + "extension": "jpg", + "url": "https://example.com/ipad-thumbnail.jpg" + } + ] + }, + "channels": [ + { + "code": "samchon", + "category_codes": [ + "electronics", + "tablets", + "ipads" + ] + } + ], + "units": [ + { + "options": [ + { + "type": "select", + "name": "Storage", + "variable": true, + "candidates": [ + { + "name": "64GB" + }, + { + "name": "256GB" + }, + { + "name": "512GB" + } + ] + }, + { + "type": "select", + "name": "Color", + "variable": true, + "candidates": [ + { + "name": "Silver" + }, + { + "name": "Space Gray" + }, + { + "name": "Gold" + } + ] + } + ], + "stocks": [ + { + "name": "64GB Silver", + "price": { + "nominal": 399, + "real": 399 + }, + "quantity": 50, + "choices": [ + { + "option_index": 0, + "candidate_index": 0 + }, + { + "option_index": 1, + "candidate_index": 0 + } + ] + }, + { + "name": "64GB Space Gray", + "price": { + "nominal": 399, + "real": 399 + }, + "quantity": 50, + "choices": [ + { + "option_index": 0, + "candidate_index": 0 + }, + { + "option_index": 1, + "candidate_index": 1 + } + ] + }, + { + "name": "64GB Gold", + "price": { + "nominal": 399, + "real": 399 + }, + "quantity": 50, + "choices": [ + { + "option_index": 0, + "candidate_index": 0 + }, + { + "option_index": 1, + "candidate_index": 2 + } + ] + }, + { + "name": "256GB Silver", + "price": { + "nominal": 499, + "real": 499 + }, + "quantity": 50, + "choices": [ + { + "option_index": 0, + "candidate_index": 1 + }, + { + "option_index": 1, + "candidate_index": 0 + } + ] + }, + { + "name": "256GB Space Gray", + "price": { + "nominal": 499, + "real": 499 + }, + "quantity": 50, + "choices": [ + { + "option_index": 0, + "candidate_index": 1 + }, + { + "option_index": 1, + "candidate_index": 1 + } + ] + }, + { + "name": "256GB Gold", + "price": { + "nominal": 499, + "real": 499 + }, + "quantity": 50, + "choices": [ + { + "option_index": 0, + "candidate_index": 1 + }, + { + "option_index": 1, + "candidate_index": 2 + } + ] + }, + { + "name": "512GB Silver", + "price": { + "nominal": 599, + "real": 599 + }, + "quantity": 50, + "choices": [ + { + "option_index": 0, + "candidate_index": 2 + }, + { + "option_index": 1, + "candidate_index": 0 + } + ] + }, + { + "name": "512GB Space Gray", + "price": { + "nominal": 599, + "real": 599 + }, + "quantity": 50, + "choices": [ + { + "option_index": 0, + "candidate_index": 2 + }, + { + "option_index": 1, + "candidate_index": 1 + } + ] + }, + { + "name": "512GB Gold", + "price": { + "nominal": 599, + "real": 599 + }, + "quantity": 50, + "choices": [ + { + "option_index": 0, + "candidate_index": 2 + }, + { + "option_index": 1, + "candidate_index": 2 + } + ] + } + ], + "name": "iPad", + "required": true, + "primary": true + } + ], + "tags": [ + "tablet", + "iPad", + "Apple" + ] +} \ No newline at end of file diff --git a/examples/function-calling/arguments/chatgpt.apple-iphone.input.json b/examples/function-calling/arguments/chatgpt.apple-iphone.input.json index f1cdd84..52f2c7c 100644 --- a/examples/function-calling/arguments/chatgpt.apple-iphone.input.json +++ b/examples/function-calling/arguments/chatgpt.apple-iphone.input.json @@ -1,18 +1,22 @@ { "section_code": "general", - "status": null, "opened_at": null, "closed_at": null, "content": { - "title": "Apple MacBook Pro", - "format": "md", - "body": "MacBook Pro\n\n**The Ultimate Tool for Professionals**\n\nMacBook Pro is designed to elevate your creativity and productivity to new heights. Combining exceptional performance, elegant design, and the unparalleled experience only Apple can deliver, this is the device that empowers you to tackle any challenge with confidence.\n\n- **Remarkable Performance**\n \n Powered by the next-generation chip, it handles demanding tasks and complex projects effortlessly, delivering unmatched speed and efficiency.\n \n- **Outstanding Display**\n \n The Retina display offers rich colors and sharp contrast, creating an immersive visual experience. With ProMotion technology, enjoy smooth scrolling and fluid animations like never before.\n \n- **All-Day Battery Life**\n \n Stay focused and in the flow wherever you go with a battery that lasts all day. This is a laptop that works as hard as you do.\n \n- **Sleek Yet Powerful Design**\n \n A precision aluminum body that’s lightweight yet durable, paired with a minimalist design that stands out on your desk and on the go.\n \n- **Smart Connectivity**\n \n Versatile ports for high-speed data transfer and seamless compatibility ensure you're ready for any work environment.\n \n\nWith MacBook Pro, your potential knows no bounds. **It’s time to rediscover what you’re capable of.**\n", + "title": "iPhone 16: Redefining Innovation", + "format": "txt", + "body": "The iPhone 16 takes mobile technology to new heights with its cutting-edge design, enhanced performance, and revolutionary features. With a stunning ProMotion XDR display, an even more powerful A18 Bionic chip, and advanced camera capabilities, the iPhone 16 delivers unparalleled speed, clarity, and creativity. Whether you're capturing cinematic moments or experiencing seamless multitasking, the iPhone 16 ensures every interaction feels extraordinary.\n\nTagline:\n\niPhone 16: The Future in Your Hands.\n\nAbout the thumbnail images, please fill from the below image URL addresses.", "files": [], "thumbnails": [ { - "name": "mbp14-spaceblack-gallery1-202410", + "name": "iPhone 16 Redefining Innovation", "extension": "jpeg", - "url": "https://store.storeimages.cdn-apple.com/8756/as-images.apple.com/is/mbp14-spaceblack-gallery1-202410?wid=4000&hei=3074&fmt=jpeg&qlt=90&.v=1729264981617" + "url": "https://serpapi.com/searches/673d45f1bbc18bba240d3d4a/images/dbe630a9b7aa7b2757c88476b16680958208286d1a50297b172d53ed4bec4bd7.jpeg" + }, + { + "name": "iPhone 16 Redefining Innovation 2", + "extension": "jpeg", + "url": "https://serpapi.com/searches/673d45f1bbc18bba240d3d4a/images/dbe630a9b7aa7b27d67682ac72cf28e88e98dc5b91a205f6c97946f84d6162a9.jpeg" } ] }, @@ -20,9 +24,7 @@ { "code": "samchon", "category_codes": [ - "electronics", - "laptops", - "macbooks" + "smart_phones" ] } ], @@ -31,123 +33,51 @@ "options": [ { "type": "select", - "name": "Color", + "name": "Model", "variable": true, "candidates": [ { - "name": "Sliver" + "name": "iPhone 16 Basic" }, { - "name": "Space Gray" - } - ] - }, - { - "type": "select", - "name": "RAM", - "variable": true, - "candidates": [ - { - "name": "16GB" + "name": "iPhone 16 Plus" }, { - "name": "32GB" + "name": "iPhone 16 Pro" }, { - "name": "64GB" + "name": "iPhone 16 Pro Max" } ] }, { "type": "select", - "name": "SSD", + "name": "Storage", "variable": true, "candidates": [ { - "name": "512GB" + "name": "128 GB" }, { - "name": "1TB" + "name": "256 GB" }, { - "name": "2TB" - } - ] - }, - { - "type": "select", - "name": "Keyboard Language", - "variable": true, - "candidates": [ - { - "name": "English" + "name": "512 GB" }, { - "name": "Korean" + "name": "1 TB" } ] } ], "stocks": [ { - "name": "Sliver / 16GB / 512GB / English", - "price": { - "nominal": 2000000, - "real": 1800000 - }, - "quantity": 100, - "choices": [ - { - "option_index": 0, - "candidate_index": 0 - }, - { - "option_index": 1, - "candidate_index": 0 - }, - { - "option_index": 2, - "candidate_index": 0 - }, - { - "option_index": 3, - "candidate_index": 0 - } - ] - }, - { - "name": "Sliver / 16GB / 512GB / Korean", - "price": { - "nominal": 2000000, - "real": 1800000 - }, - "quantity": 100, - "choices": [ - { - "option_index": 0, - "candidate_index": 0 - }, - { - "option_index": 1, - "candidate_index": 0 - }, - { - "option_index": 2, - "candidate_index": 0 - }, - { - "option_index": 3, - "candidate_index": 1 - } - ] - }, - { - "name": "Sliver / 16GB / 1TB / English", + "name": "iPhone 16 Basic - 128GB", "price": { - "nominal": 2300000, - "real": 2070000 + "nominal": 1250000, + "real": 1250000 }, - "quantity": 100, + "quantity": 1000, "choices": [ { "option_index": 0, @@ -156,24 +86,16 @@ { "option_index": 1, "candidate_index": 0 - }, - { - "option_index": 2, - "candidate_index": 1 - }, - { - "option_index": 3, - "candidate_index": 0 } ] }, { - "name": "Sliver / 16GB / 1TB / Korean", + "name": "iPhone 16 Basic - 256GB", "price": { - "nominal": 2300000, - "real": 2070000 + "nominal": 1400000, + "real": 1400000 }, - "quantity": 100, + "quantity": 1000, "choices": [ { "option_index": 0, @@ -181,25 +103,17 @@ }, { "option_index": 1, - "candidate_index": 0 - }, - { - "option_index": 2, - "candidate_index": 1 - }, - { - "option_index": 3, "candidate_index": 1 } ] }, { - "name": "Sliver / 16GB / 2TB / English", + "name": "iPhone 16 Basic - 512GB", "price": { - "nominal": 2900000, - "real": 2610000 + "nominal": 1700000, + "real": 1700000 }, - "quantity": 100, + "quantity": 1000, "choices": [ { "option_index": 0, @@ -207,869 +121,200 @@ }, { "option_index": 1, - "candidate_index": 0 - }, - { - "option_index": 2, "candidate_index": 2 - }, - { - "option_index": 3, - "candidate_index": 0 } ] }, { - "name": "Sliver / 16GB / 2TB / Korean", + "name": "iPhone 16 Plus - 128GB", "price": { - "nominal": 2900000, - "real": 2610000 + "nominal": 1350000, + "real": 1350000 }, - "quantity": 100, + "quantity": 1000, "choices": [ { "option_index": 0, - "candidate_index": 0 - }, - { - "option_index": 1, - "candidate_index": 0 - }, - { - "option_index": 2, - "candidate_index": 2 - }, - { - "option_index": 3, "candidate_index": 1 - } - ] - }, - { - "name": "Sliver / 32GB / 512GB / English", - "price": { - "nominal": 2600000, - "real": 2340000 - }, - "quantity": 100, - "choices": [ - { - "option_index": 0, - "candidate_index": 0 }, { "option_index": 1, - "candidate_index": 1 - }, - { - "option_index": 2, - "candidate_index": 0 - }, - { - "option_index": 3, "candidate_index": 0 } ] }, { - "name": "Sliver / 32GB / 512GB / Korean", + "name": "iPhone 16 Plus - 256GB", "price": { - "nominal": 2600000, - "real": 2340000 + "nominal": 1500000, + "real": 1500000 }, - "quantity": 100, + "quantity": 1000, "choices": [ { "option_index": 0, - "candidate_index": 0 - }, - { - "option_index": 1, "candidate_index": 1 }, - { - "option_index": 2, - "candidate_index": 0 - }, - { - "option_index": 3, - "candidate_index": 1 - } - ] - }, - { - "name": "Sliver / 32GB / 1TB / English", - "price": { - "nominal": 2900000, - "real": 2610000 - }, - "quantity": 100, - "choices": [ - { - "option_index": 0, - "candidate_index": 0 - }, { "option_index": 1, "candidate_index": 1 - }, - { - "option_index": 2, - "candidate_index": 1 - }, - { - "option_index": 3, - "candidate_index": 0 } ] }, { - "name": "Sliver / 32GB / 1TB / Korean", + "name": "iPhone 16 Plus - 512GB", "price": { - "nominal": 2900000, - "real": 2610000 + "nominal": 1800000, + "real": 1800000 }, - "quantity": 100, + "quantity": 1000, "choices": [ { "option_index": 0, - "candidate_index": 0 - }, - { - "option_index": 1, - "candidate_index": 1 - }, - { - "option_index": 2, - "candidate_index": 1 - }, - { - "option_index": 3, "candidate_index": 1 - } - ] - }, - { - "name": "Sliver / 32GB / 2TB / English", - "price": { - "nominal": 3500000, - "real": 3150000 - }, - "quantity": 100, - "choices": [ - { - "option_index": 0, - "candidate_index": 0 }, { "option_index": 1, - "candidate_index": 1 - }, - { - "option_index": 2, "candidate_index": 2 - }, - { - "option_index": 3, - "candidate_index": 0 } ] }, { - "name": "Sliver / 32GB / 2TB / Korean", + "name": "iPhone 16 Pro - 128GB", "price": { - "nominal": 3500000, - "real": 3150000 + "nominal": 1550000, + "real": 1550000 }, - "quantity": 100, + "quantity": 1000, "choices": [ { "option_index": 0, - "candidate_index": 0 - }, - { - "option_index": 1, - "candidate_index": 1 - }, - { - "option_index": 2, "candidate_index": 2 }, - { - "option_index": 3, - "candidate_index": 1 - } - ] - }, - { - "name": "Sliver / 64GB / 512GB / English", - "price": { - "nominal": 3200000, - "real": 2880000 - }, - "quantity": 100, - "choices": [ - { - "option_index": 0, - "candidate_index": 0 - }, { "option_index": 1, - "candidate_index": 2 - }, - { - "option_index": 2, - "candidate_index": 0 - }, - { - "option_index": 3, "candidate_index": 0 } ] }, { - "name": "Sliver / 64GB / 512GB / Korean", + "name": "iPhone 16 Pro - 256GB", "price": { - "nominal": 3200000, - "real": 2880000 + "nominal": 1700000, + "real": 1700000 }, - "quantity": 100, + "quantity": 1000, "choices": [ { "option_index": 0, - "candidate_index": 0 - }, - { - "option_index": 1, "candidate_index": 2 }, - { - "option_index": 2, - "candidate_index": 0 - }, - { - "option_index": 3, - "candidate_index": 1 - } - ] - }, - { - "name": "Sliver / 64GB / 1TB / English", - "price": { - "nominal": 3500000, - "real": 3150000 - }, - "quantity": 100, - "choices": [ - { - "option_index": 0, - "candidate_index": 0 - }, { "option_index": 1, - "candidate_index": 2 - }, - { - "option_index": 2, "candidate_index": 1 - }, - { - "option_index": 3, - "candidate_index": 0 } ] }, { - "name": "Sliver / 64GB / 1TB / Korean", + "name": "iPhone 16 Pro - 512GB", "price": { - "nominal": 3500000, - "real": 3150000 + "nominal": 2000000, + "real": 2000000 }, - "quantity": 100, + "quantity": 1000, "choices": [ { "option_index": 0, - "candidate_index": 0 + "candidate_index": 2 }, { "option_index": 1, "candidate_index": 2 - }, - { - "option_index": 2, - "candidate_index": 1 - }, - { - "option_index": 3, - "candidate_index": 1 } ] }, { - "name": "Sliver / 64GB / 2TB / English", + "name": "iPhone 16 Pro - 1TB", "price": { - "nominal": 4100000, - "real": 3690000 + "nominal": 2300000, + "real": 2300000 }, - "quantity": 100, + "quantity": 1000, "choices": [ { "option_index": 0, - "candidate_index": 0 - }, - { - "option_index": 1, - "candidate_index": 2 - }, - { - "option_index": 2, "candidate_index": 2 }, { - "option_index": 3, - "candidate_index": 0 + "option_index": 1, + "candidate_index": 3 } ] }, { - "name": "Sliver / 64GB / 2TB / Korean", + "name": "iPhone 16 Pro Max - 256GB", "price": { - "nominal": 4100000, - "real": 3690000 + "nominal": 1900000, + "real": 1900000 }, - "quantity": 100, + "quantity": 1000, "choices": [ { "option_index": 0, - "candidate_index": 0 + "candidate_index": 3 }, { "option_index": 1, - "candidate_index": 2 - }, - { - "option_index": 2, - "candidate_index": 2 - }, - { - "option_index": 3, "candidate_index": 1 } ] }, { - "name": "Space Gray / 16GB / 512GB / English", + "name": "iPhone 16 Pro Max - 512GB", "price": { - "nominal": 2050000, - "real": 1845000 + "nominal": 2200000, + "real": 2200000 }, - "quantity": 100, + "quantity": 1000, "choices": [ { "option_index": 0, - "candidate_index": 1 + "candidate_index": 3 }, { "option_index": 1, - "candidate_index": 0 - }, - { - "option_index": 2, - "candidate_index": 0 - }, - { - "option_index": 3, - "candidate_index": 0 + "candidate_index": 2 } ] }, { - "name": "Space Gray / 16GB / 512GB / Korean", + "name": "iPhone 16 Pro Max - 1TB", "price": { - "nominal": 2050000, - "real": 1845000 + "nominal": 2500000, + "real": 2500000 }, - "quantity": 100, + "quantity": 1000, "choices": [ { "option_index": 0, - "candidate_index": 1 + "candidate_index": 3 }, { "option_index": 1, - "candidate_index": 0 - }, - { - "option_index": 2, - "candidate_index": 0 - }, - { - "option_index": 3, - "candidate_index": 1 + "candidate_index": 3 } ] - }, - { - "name": "Space Gray / 16GB / 1TB / English", - "price": { - "nominal": 2350000, - "real": 2115000 - }, - "quantity": 100, - "choices": [ - { - "option_index": 0, - "candidate_index": 1 - }, - { - "option_index": 1, - "candidate_index": 0 - }, - { - "option_index": 2, - "candidate_index": 1 - }, - { - "option_index": 3, - "candidate_index": 0 - } - ] - }, - { - "name": "Space Gray / 16GB / 1TB / Korean", - "price": { - "nominal": 2350000, - "real": 2115000 - }, - "quantity": 100, - "choices": [ - { - "option_index": 0, - "candidate_index": 1 - }, - { - "option_index": 1, - "candidate_index": 0 - }, - { - "option_index": 2, - "candidate_index": 1 - }, - { - "option_index": 3, - "candidate_index": 1 - } - ] - }, - { - "name": "Space Gray / 16GB / 2TB / English", - "price": { - "nominal": 2950000, - "real": 2655000 - }, - "quantity": 100, - "choices": [ - { - "option_index": 0, - "candidate_index": 1 - }, - { - "option_index": 1, - "candidate_index": 0 - }, - { - "option_index": 2, - "candidate_index": 2 - }, - { - "option_index": 3, - "candidate_index": 0 - } - ] - }, - { - "name": "Space Gray / 16GB / 2TB / Korean", - "price": { - "nominal": 2950000, - "real": 2655000 - }, - "quantity": 100, - "choices": [ - { - "option_index": 0, - "candidate_index": 1 - }, - { - "option_index": 1, - "candidate_index": 0 - }, - { - "option_index": 2, - "candidate_index": 2 - }, - { - "option_index": 3, - "candidate_index": 1 - } - ] - }, - { - "name": "Space Gray / 32GB / 512GB / English", - "price": { - "nominal": 2650000, - "real": 2385000 - }, - "quantity": 100, - "choices": [ - { - "option_index": 0, - "candidate_index": 1 - }, - { - "option_index": 1, - "candidate_index": 1 - }, - { - "option_index": 2, - "candidate_index": 0 - }, - { - "option_index": 3, - "candidate_index": 0 - } - ] - }, - { - "name": "Space Gray / 32GB / 512GB / Korean", - "price": { - "nominal": 2650000, - "real": 2385000 - }, - "quantity": 100, - "choices": [ - { - "option_index": 0, - "candidate_index": 1 - }, - { - "option_index": 1, - "candidate_index": 1 - }, - { - "option_index": 2, - "candidate_index": 0 - }, - { - "option_index": 3, - "candidate_index": 1 - } - ] - }, - { - "name": "Space Gray / 32GB / 1TB / English", - "price": { - "nominal": 2950000, - "real": 2655000 - }, - "quantity": 100, - "choices": [ - { - "option_index": 0, - "candidate_index": 1 - }, - { - "option_index": 1, - "candidate_index": 1 - }, - { - "option_index": 2, - "candidate_index": 1 - }, - { - "option_index": 3, - "candidate_index": 0 - } - ] - }, - { - "name": "Space Gray / 32GB / 1TB / Korean", - "price": { - "nominal": 2950000, - "real": 2655000 - }, - "quantity": 100, - "choices": [ - { - "option_index": 0, - "candidate_index": 1 - }, - { - "option_index": 1, - "candidate_index": 1 - }, - { - "option_index": 2, - "candidate_index": 1 - }, - { - "option_index": 3, - "candidate_index": 1 - } - ] - }, - { - "name": "Space Gray / 32GB / 2TB / English", - "price": { - "nominal": 3550000, - "real": 3195000 - }, - "quantity": 100, - "choices": [ - { - "option_index": 0, - "candidate_index": 1 - }, - { - "option_index": 1, - "candidate_index": 1 - }, - { - "option_index": 2, - "candidate_index": 2 - }, - { - "option_index": 3, - "candidate_index": 0 - } - ] - }, - { - "name": "Space Gray / 32GB / 2TB / Korean", - "price": { - "nominal": 3550000, - "real": 3195000 - }, - "quantity": 100, - "choices": [ - { - "option_index": 0, - "candidate_index": 1 - }, - { - "option_index": 1, - "candidate_index": 1 - }, - { - "option_index": 2, - "candidate_index": 2 - }, - { - "option_index": 3, - "candidate_index": 1 - } - ] - }, - { - "name": "Space Gray / 64GB / 512GB / English", - "price": { - "nominal": 3250000, - "real": 2925000 - }, - "quantity": 100, - "choices": [ - { - "option_index": 0, - "candidate_index": 1 - }, - { - "option_index": 1, - "candidate_index": 2 - }, - { - "option_index": 2, - "candidate_index": 0 - }, - { - "option_index": 3, - "candidate_index": 0 - } - ] - }, - { - "name": "Space Gray / 64GB / 512GB / Korean", - "price": { - "nominal": 3250000, - "real": 2925000 - }, - "quantity": 100, - "choices": [ - { - "option_index": 0, - "candidate_index": 1 - }, - { - "option_index": 1, - "candidate_index": 2 - }, - { - "option_index": 2, - "candidate_index": 0 - }, - { - "option_index": 3, - "candidate_index": 1 - } - ] - }, - { - "name": "Space Gray / 64GB / 1TB / English", - "price": { - "nominal": 3550000, - "real": 3195000 - }, - "quantity": 100, - "choices": [ - { - "option_index": 0, - "candidate_index": 1 - }, - { - "option_index": 1, - "candidate_index": 2 - }, - { - "option_index": 2, - "candidate_index": 1 - }, - { - "option_index": 3, - "candidate_index": 0 - } - ] - }, - { - "name": "Space Gray / 64GB / 1TB / Korean", - "price": { - "nominal": 3550000, - "real": 3195000 - }, - "quantity": 100, - "choices": [ - { - "option_index": 0, - "candidate_index": 1 - }, - { - "option_index": 1, - "candidate_index": 2 - }, - { - "option_index": 2, - "candidate_index": 1 - }, - { - "option_index": 3, - "candidate_index": 1 - } - ] - }, - { - "name": "Space Gray / 64GB / 2TB / English", - "price": { - "nominal": 4150000, - "real": 3735000 - }, - "quantity": 100, - "choices": [ - { - "option_index": 0, - "candidate_index": 1 - }, - { - "option_index": 1, - "candidate_index": 2 - }, - { - "option_index": 2, - "candidate_index": 2 - }, - { - "option_index": 3, - "candidate_index": 0 - } - ] - }, - { - "name": "Space Gray / 64GB / 2TB / Korean", - "price": { - "nominal": 4150000, - "real": 3735000 - }, - "quantity": 100, - "choices": [ - { - "option_index": 0, - "candidate_index": 1 - }, - { - "option_index": 1, - "candidate_index": 2 - }, - { - "option_index": 2, - "candidate_index": 2 - }, - { - "option_index": 3, - "candidate_index": 1 - } - ] - } - ], - "name": "MacBook Pro Entity", - "primary": true, - "required": true - }, - { - "options": [], - "stocks": [ - { - "name": "Warranty Program", - "price": { - "nominal": 100000, - "real": 89000 - }, - "quantity": 10000, - "choices": [] - } - ], - "name": "Warranty Program", - "primary": false, - "required": false - }, - { - "options": [], - "stocks": [ - { - "name": "Magnetic Keyboard", - "price": { - "nominal": 200000, - "real": 169000 - }, - "quantity": 8000, - "choices": [] } ], - "name": "Magnetic Keyboard", - "primary": false, - "required": false + "name": "iPhone Entity", + "required": true, + "primary": true } ], "tags": [ - "MacBook", + "smartphone", + "iPhone", "Apple", - "Laptop", - "Electronics", - "MacBook Pro" + "iPhone16" ] } \ No newline at end of file diff --git a/examples/function-calling/arguments/chatgpt.apple-macbook-pro.input.json b/examples/function-calling/arguments/chatgpt.apple-macbook-pro.input.json index d3fe83d..290debf 100644 --- a/examples/function-calling/arguments/chatgpt.apple-macbook-pro.input.json +++ b/examples/function-calling/arguments/chatgpt.apple-macbook-pro.input.json @@ -1,20 +1,19 @@ { "section_code": "general", - "status": null, "opened_at": null, "closed_at": null, "content": { "title": "Apple MacBook Pro", "format": "md", - "body": "MacBook Pro\n\n**The Ultimate Tool for Professionals**\n\nMacBook Pro is designed to elevate your creativity and productivity to new heights. Combining exceptional performance, elegant design, and the unparalleled experience only Apple can deliver, this is the device that empowers you to tackle any challenge with confidence.\n\n- **Remarkable Performance**\n \n Powered by the next-generation chip, it handles demanding tasks and complex projects effortlessly, delivering unmatched speed and efficiency.\n \n- **Outstanding Display**\n \n The Retina display offers rich colors and sharp contrast, creating an immersive visual experience. With ProMotion technology, enjoy smooth scrolling and fluid animations like never before.\n \n- **All-Day Battery Life**\n \n Stay focused and in the flow wherever you go with a battery that lasts all day. This is a laptop that works as hard as you do.\n \n- **Sleek Yet Powerful Design**\n \n A precision aluminum body that’s lightweight yet durable, paired with a minimalist design that stands out on your desk and on the go.\n \n- **Smart Connectivity**\n \n Versatile ports for high-speed data transfer and seamless compatibility ensure you're ready for any work environment.\n\nWith MacBook Pro, your potential knows no bounds. **It’s time to rediscover what you’re capable of.**", - "files": [ + "body": "MacBook Pro\n\n**The Ultimate Tool for Professionals**\n\nMacBook Pro is designed to elevate your creativity and productivity to new heights. Combining exceptional performance, elegant design, and the unparalleled experience only Apple can deliver, this is the device that empowers you to tackle any challenge with confidence.\n\n- **Remarkable Performance**\n \n Powered by the next-generation chip, it handles demanding tasks and complex projects effortlessly, delivering unmatched speed and efficiency.\n \n- **Outstanding Display**\n \n The Retina display offers rich colors and sharp contrast, creating an immersive visual experience. With ProMotion technology, enjoy smooth scrolling and fluid animations like never before.\n \n- **All-Day Battery Life**\n \n Stay focused and in the flow wherever you go with a battery that lasts all day. This is a laptop that works as hard as you do.\n \n- **Sleek Yet Powerful Design**\n \n A precision aluminum body that’s lightweight yet durable, paired with a minimalist design that stands out on your desk and on the go.\n \n- **Smart Connectivity**\n \n Versatile ports for high-speed data transfer and seamless compatibility ensure you're ready for any work environment.\n \n\nWith MacBook Pro, your potential knows no bounds. **It’s time to rediscover what you’re capable of.**\n", + "files": [], + "thumbnails": [ { "name": "apple-macbook-pro-thumbnail", "extension": "png", "url": "https://store.storeimages.cdn-apple.com/8756/as-images.apple.com/is/mbp14-spaceblack-gallery1-202410?wid=4000&hei=3074&fmt=jpeg&qlt=90&.v=1729264981617" } - ], - "thumbnails": [] + ] }, "channels": [ { @@ -34,7 +33,7 @@ "variable": true, "candidates": [ { - "name": "Silver" + "name": "Sliver" }, { "name": "Space Gray" @@ -89,7 +88,7 @@ ], "stocks": [ { - "name": "Silver / 16GB / 512GB / English", + "name": "Sliver / 16GB / 512GB / English", "price": { "nominal": 2000000, "real": 1800000 @@ -115,7 +114,7 @@ ] }, { - "name": "Silver / 16GB / 512GB / Korean", + "name": "Sliver / 16GB / 512GB / Korean", "price": { "nominal": 2000000, "real": 1800000 @@ -141,7 +140,7 @@ ] }, { - "name": "Silver / 16GB / 1TB / English", + "name": "Sliver / 16GB / 1TB / English", "price": { "nominal": 2300000, "real": 2070000 @@ -167,7 +166,7 @@ ] }, { - "name": "Silver / 16GB / 1TB / Korean", + "name": "Sliver / 16GB / 1TB / Korean", "price": { "nominal": 2300000, "real": 2070000 @@ -193,7 +192,7 @@ ] }, { - "name": "Silver / 16GB / 2TB / English", + "name": "Sliver / 16GB / 2TB / English", "price": { "nominal": 2900000, "real": 2610000 @@ -219,7 +218,7 @@ ] }, { - "name": "Silver / 16GB / 2TB / Korean", + "name": "Sliver / 16GB / 2TB / Korean", "price": { "nominal": 2900000, "real": 2610000 @@ -245,7 +244,7 @@ ] }, { - "name": "Silver / 32GB / 512GB / English", + "name": "Sliver / 32GB / 512GB / English", "price": { "nominal": 2600000, "real": 2340000 @@ -271,7 +270,7 @@ ] }, { - "name": "Silver / 32GB / 512GB / Korean", + "name": "Sliver / 32GB / 512GB / Korean", "price": { "nominal": 2600000, "real": 2340000 @@ -297,7 +296,7 @@ ] }, { - "name": "Silver / 32GB / 1TB / English", + "name": "Sliver / 32GB / 1TB / English", "price": { "nominal": 2900000, "real": 2610000 @@ -323,7 +322,7 @@ ] }, { - "name": "Silver / 32GB / 1TB / Korean", + "name": "Sliver / 32GB / 1TB / Korean", "price": { "nominal": 2900000, "real": 2610000 @@ -349,7 +348,7 @@ ] }, { - "name": "Silver / 32GB / 2TB / English", + "name": "Sliver / 32GB / 2TB / English", "price": { "nominal": 3500000, "real": 3150000 @@ -375,7 +374,7 @@ ] }, { - "name": "Silver / 32GB / 2TB / Korean", + "name": "Sliver / 32GB / 2TB / Korean", "price": { "nominal": 3500000, "real": 3150000 @@ -401,7 +400,7 @@ ] }, { - "name": "Silver / 64GB / 512GB / English", + "name": "Sliver / 64GB / 512GB / English", "price": { "nominal": 3200000, "real": 2880000 @@ -427,7 +426,7 @@ ] }, { - "name": "Silver / 64GB / 512GB / Korean", + "name": "Sliver / 64GB / 512GB / Korean", "price": { "nominal": 3200000, "real": 2880000 @@ -453,7 +452,7 @@ ] }, { - "name": "Silver / 64GB / 1TB / English", + "name": "Sliver / 64GB / 1TB / English", "price": { "nominal": 3500000, "real": 3150000 @@ -479,7 +478,7 @@ ] }, { - "name": "Silver / 64GB / 1TB / Korean", + "name": "Sliver / 64GB / 1TB / Korean", "price": { "nominal": 3500000, "real": 3150000 @@ -505,7 +504,7 @@ ] }, { - "name": "Silver / 64GB / 2TB / English", + "name": "Sliver / 64GB / 2TB / English", "price": { "nominal": 4100000, "real": 3690000 @@ -531,7 +530,7 @@ ] }, { - "name": "Silver / 64GB / 2TB / Korean", + "name": "Sliver / 64GB / 2TB / Korean", "price": { "nominal": 4100000, "real": 3690000 @@ -1025,50 +1024,50 @@ ] } ], - "name": "MacBook M3 Pro 14inch Entity", - "primary": true, - "required": true + "name": "MacBook Pro 14inch Entity", + "required": true, + "primary": true }, { "options": [], "stocks": [ { - "name": "Standard Warranty Program", + "name": "Warranty Program", "price": { "nominal": 100000, - "real": 89000 + "real": 90000 }, "quantity": 10000, "choices": [] } ], "name": "Warranty Program", - "primary": false, - "required": false + "required": false, + "primary": false }, { "options": [], "stocks": [ { - "name": "Basic Magnetic Keyboard", + "name": "Magnetic Keyboard", "price": { "nominal": 200000, - "real": 169000 + "real": 180000 }, "quantity": 8000, "choices": [] } ], "name": "Magnetic Keyboard", - "primary": false, - "required": false + "required": false, + "primary": false } ], "tags": [ - "MacBook", "Apple", - "Pro", + "MacBook", + "MacBook Pro", "Laptop", - "Electronics" + "Ultrabook" ] } \ No newline at end of file diff --git a/examples/function-calling/arguments/chatgpt.apple-magickeyboard.input.json b/examples/function-calling/arguments/chatgpt.apple-magickeyboard.input.json new file mode 100644 index 0000000..14a3547 --- /dev/null +++ b/examples/function-calling/arguments/chatgpt.apple-magickeyboard.input.json @@ -0,0 +1,110 @@ +{ + "section_code": "general", + "opened_at": null, + "closed_at": null, + "content": { + "title": "Apple Magic Keyboard", + "format": "md", + "body": "The Apple Magic Keyboard provides a remarkably comfortable and precise typing experience. Its sleek and lightweight design is perfect for any Mac setup. With a built-in rechargeable battery, it lasts up to a month or more between charges. Effortlessly connect it to your Mac via Bluetooth and experience seamless typing.", + "files": [ + { + "name": "apple_magic_keyboard_image", + "extension": "jpg", + "url": "https://store.storeimages.cdn-apple.com/4668/as-images.apple.com/is/MK2A3?wid=532&hei=582&fmt=jpg&qlt=95&.v=1632950236000" + } + ], + "thumbnails": [ + { + "name": "apple_magic_keyboard_thumbnail", + "extension": "jpg", + "url": "https://store.storeimages.cdn-apple.com/4668/as-images.apple.com/is/MK2A3?wid=266&hei=291&fmt=jpg&qlt=95&.v=1632950236000" + } + ] + }, + "channels": [ + { + "code": "samchon", + "category_codes": [ + "electronics", + "accessories", + "others" + ] + } + ], + "units": [ + { + "options": [ + { + "type": "select", + "name": "Language", + "variable": true, + "candidates": [ + { + "name": "US English" + }, + { + "name": "British English" + }, + { + "name": "French" + } + ] + } + ], + "stocks": [ + { + "name": "US English", + "price": { + "nominal": 99, + "real": 89 + }, + "quantity": 50, + "choices": [ + { + "option_index": 0, + "candidate_index": 0 + } + ] + }, + { + "name": "British English", + "price": { + "nominal": 99, + "real": 89 + }, + "quantity": 30, + "choices": [ + { + "option_index": 0, + "candidate_index": 1 + } + ] + }, + { + "name": "French", + "price": { + "nominal": 99, + "real": 89 + }, + "quantity": 20, + "choices": [ + { + "option_index": 0, + "candidate_index": 2 + } + ] + } + ], + "name": "Apple Magic Keyboard Unit", + "required": true, + "primary": true + } + ], + "tags": [ + "Apple", + "Keyboard", + "Magic Keyboard", + "Wireless", + "Bluetooth" + ] +} \ No newline at end of file diff --git a/examples/function-calling/arguments/chatgpt.apple-magicmouse.input.json b/examples/function-calling/arguments/chatgpt.apple-magicmouse.input.json new file mode 100644 index 0000000..d7576b9 --- /dev/null +++ b/examples/function-calling/arguments/chatgpt.apple-magicmouse.input.json @@ -0,0 +1,92 @@ +{ + "section_code": "general", + "opened_at": null, + "closed_at": null, + "content": { + "title": "Apple Magic Mouse", + "format": "txt", + "body": "The Apple Magic Mouse is Apple's multi-touch, wireless mouse with a sleek and innovative design. It supports a range of gestures for easy navigation and connectivity via Bluetooth.", + "files": [ + { + "name": "apple_magic_mouse", + "extension": "jpg", + "url": "https://example.com/apple_magic_mouse.jpg" + } + ], + "thumbnails": [ + { + "name": "magic_mouse_thumbnail", + "extension": "jpg", + "url": "https://example.com/magic_mouse_thumbnail.jpg" + } + ] + }, + "channels": [ + { + "code": "samchon", + "category_codes": [ + "electronics", + "accessories" + ] + } + ], + "units": [ + { + "options": [ + { + "type": "select", + "name": "Color", + "variable": true, + "candidates": [ + { + "name": "Silver" + }, + { + "name": "Space Gray" + } + ] + } + ], + "stocks": [ + { + "name": "Apple Magic Mouse - Silver", + "price": { + "nominal": 99, + "real": 79 + }, + "quantity": 100, + "choices": [ + { + "option_index": 0, + "candidate_index": 0 + } + ] + }, + { + "name": "Apple Magic Mouse - Space Gray", + "price": { + "nominal": 99, + "real": 79 + }, + "quantity": 100, + "choices": [ + { + "option_index": 0, + "candidate_index": 1 + } + ] + } + ], + "name": "Apple Magic Mouse", + "required": true, + "primary": true + } + ], + "tags": [ + "Apple", + "Mouse", + "Wireless", + "Bluetooth", + "Magic Mouse" + ] +} \ No newline at end of file diff --git a/examples/function-calling/arguments/chatgpt.apple-vision-pro.input.json b/examples/function-calling/arguments/chatgpt.apple-vision-pro.input.json index a9d1bb4..b86bea8 100644 --- a/examples/function-calling/arguments/chatgpt.apple-vision-pro.input.json +++ b/examples/function-calling/arguments/chatgpt.apple-vision-pro.input.json @@ -1,13 +1,18 @@ { "section_code": "general", - "status": null, "opened_at": null, "closed_at": null, "content": { "title": "Apple Vision Air", "format": "md", - "body": "### Preface\nThe Apple Vision Air is a groundbreaking addition to Apple's lineup of innovative devices, designed to enhance your digital experience through augmented reality. With its sleek design and advanced technology, the Vision Air aims to redefine how users interact with their surroundings, providing a seamless blend of the physical and digital worlds.\n\n### Content\nThe Apple Vision Air features a lightweight and comfortable design, making it perfect for extended use. Equipped with high-resolution displays and cutting-edge optics, it offers stunning visuals that immerse users in their augmented reality experiences. The device is powered by the latest Apple silicon, ensuring smooth performance and efficient battery life.\n\nThe Apple Vision Air is more than just a device; it’s a gateway to a new reality. Whether for work, play, or exploration, it represents the future of immersive technology.\n\n### Key Features\n\n- Augmented Reality Capabilities: Experience a new dimension of interaction with AR applications that enhance everyday tasks and entertainment.\n\n- High-Resolution Display: Enjoy vibrant and crisp visuals, making every detail come to life.\n\n- Intuitive Controls: Navigate effortlessly with gesture controls and voice commands, designed for user convenience.\n\n- Seamless Integration: Connect with other Apple devices for a unified ecosystem that enhances productivity and creativity.\n\n- Durability and Comfort: Built with premium materials, the Vision Air ensures longevity and comfort during prolonged use.", - "files": [], + "body": "# Apple Vision Air\n\n## Preface\n\nThe Apple Vision Air is a groundbreaking addition to Apple's lineup of innovative devices, designed to enhance your digital experience through augmented reality. With its sleek design and advanced technology, the Vision Air aims to redefine how users interact with their surroundings, providing a seamless blend of the physical and digital worlds.\n\n### Content\n\n![apple-vision-pro-thumbnail.png](https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTdIP_qI0xBL04d0DRIw7tIU9y0cLcwfIqi7g&s)\n\nThe Apple Vision Air features a lightweight and comfortable design, making it perfect for extended use. Equipped with high-resolution displays and cutting-edge optics, it offers stunning visuals that immerse users in their augmented reality experiences. The device is powered by the latest Apple silicon, ensuring smooth performance and efficient battery life.\n\nThe Apple Vision Air is more than just a device; it’s a gateway to a new reality. Whether for work, play, or exploration, it represents the future of immersive technology.\n\n## Key Features\n\n- **Augmented Reality Capabilities:** Experience a new dimension of interaction with AR applications that enhance everyday tasks and entertainment.\n- **High-Resolution Display:** Enjoy vibrant and crisp visuals, making every detail come to life.\n- **Intuitive Controls:** Navigate effortlessly with gesture controls and voice commands, designed for user convenience.\n- **Seamless Integration:** Connect with other Apple devices for a unified ecosystem that enhances productivity and creativity.\n- **Durability and Comfort:** Built with premium materials, the Vision Air ensures longevity and comfort during prolonged use.", + "files": [ + { + "name": "apple-vision-pro-thumbnail", + "extension": "png", + "url": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTdIP_qI0xBL04d0DRIw7tIU9y0cLcwfIqi7g&s" + } + ], "thumbnails": [ { "name": "apple-vision-pro-thumbnail", @@ -20,6 +25,7 @@ { "code": "samchon", "category_codes": [ + "electronics", "smart_glasses" ] } @@ -46,7 +52,7 @@ ], "stocks": [ { - "name": "Apple Vision Air 256GB", + "name": "AVA-2023-001 | 256GB", "price": { "nominal": 2990000, "real": 2990000 @@ -60,7 +66,7 @@ ] }, { - "name": "Apple Vision Air 512GB", + "name": "AVA-2023-002 | 512GB", "price": { "nominal": 3490000, "real": 3490000 @@ -74,7 +80,7 @@ ] }, { - "name": "Apple Vision Air 1TB", + "name": "AVA-2023-003 | 1TB", "price": { "nominal": 3990000, "real": 3990000 @@ -89,15 +95,16 @@ } ], "name": "Apple Vision Air", - "primary": true, - "required": true + "required": true, + "primary": true } ], "tags": [ "Apple", - "Vision", - "Air", - "Augmented Reality", - "Technology" + "Vision Air", + "AR", + "augmented reality", + "smart glasses", + "technology" ] } \ No newline at end of file diff --git a/examples/function-calling/arguments/chatgpt.apple-watch.input.json b/examples/function-calling/arguments/chatgpt.apple-watch.input.json new file mode 100644 index 0000000..1463303 --- /dev/null +++ b/examples/function-calling/arguments/chatgpt.apple-watch.input.json @@ -0,0 +1,507 @@ +{ + "section_code": "general", + "opened_at": null, + "closed_at": null, + "content": { + "title": "Apple Watch", + "format": "md", + "body": "Apple Watch is a line of smartwatches produced by Apple Inc. It incorporates fitness tracking, health-oriented capabilities, and wireless telecommunication. The device is offered in a variety of sizes, cases, and interchangeable bands.", + "files": [], + "thumbnails": [] + }, + "channels": [ + { + "code": "samchon", + "category_codes": [ + "smart_watches" + ] + } + ], + "units": [ + { + "options": [ + { + "type": "select", + "name": "Size", + "variable": true, + "candidates": [ + { + "name": "40mm" + }, + { + "name": "44mm" + } + ] + }, + { + "type": "select", + "name": "Material", + "variable": true, + "candidates": [ + { + "name": "Aluminum" + }, + { + "name": "Stainless Steel" + } + ] + }, + { + "type": "select", + "name": "Band", + "variable": true, + "candidates": [ + { + "name": "Sport Band" + }, + { + "name": "Leather Band" + } + ] + }, + { + "type": "select", + "name": "Connectivity", + "variable": true, + "candidates": [ + { + "name": "GPS" + }, + { + "name": "GPS + Cellular" + } + ] + } + ], + "stocks": [ + { + "name": "40mm Aluminum Sport Band GPS", + "price": { + "nominal": 399, + "real": 399 + }, + "quantity": 100, + "choices": [ + { + "option_index": 0, + "candidate_index": 0 + }, + { + "option_index": 1, + "candidate_index": 0 + }, + { + "option_index": 2, + "candidate_index": 0 + }, + { + "option_index": 3, + "candidate_index": 0 + } + ] + }, + { + "name": "40mm Aluminum Leather Band GPS", + "price": { + "nominal": 449, + "real": 449 + }, + "quantity": 100, + "choices": [ + { + "option_index": 0, + "candidate_index": 0 + }, + { + "option_index": 1, + "candidate_index": 0 + }, + { + "option_index": 2, + "candidate_index": 1 + }, + { + "option_index": 3, + "candidate_index": 0 + } + ] + }, + { + "name": "40mm Aluminum Sport Band GPS + Cellular", + "price": { + "nominal": 499, + "real": 499 + }, + "quantity": 100, + "choices": [ + { + "option_index": 0, + "candidate_index": 0 + }, + { + "option_index": 1, + "candidate_index": 0 + }, + { + "option_index": 2, + "candidate_index": 0 + }, + { + "option_index": 3, + "candidate_index": 1 + } + ] + }, + { + "name": "40mm Aluminum Leather Band GPS + Cellular", + "price": { + "nominal": 549, + "real": 549 + }, + "quantity": 100, + "choices": [ + { + "option_index": 0, + "candidate_index": 0 + }, + { + "option_index": 1, + "candidate_index": 0 + }, + { + "option_index": 2, + "candidate_index": 1 + }, + { + "option_index": 3, + "candidate_index": 1 + } + ] + }, + { + "name": "40mm Stainless Steel Sport Band GPS", + "price": { + "nominal": 699, + "real": 699 + }, + "quantity": 100, + "choices": [ + { + "option_index": 0, + "candidate_index": 0 + }, + { + "option_index": 1, + "candidate_index": 1 + }, + { + "option_index": 2, + "candidate_index": 0 + }, + { + "option_index": 3, + "candidate_index": 0 + } + ] + }, + { + "name": "40mm Stainless Steel Leather Band GPS", + "price": { + "nominal": 749, + "real": 749 + }, + "quantity": 100, + "choices": [ + { + "option_index": 0, + "candidate_index": 0 + }, + { + "option_index": 1, + "candidate_index": 1 + }, + { + "option_index": 2, + "candidate_index": 1 + }, + { + "option_index": 3, + "candidate_index": 0 + } + ] + }, + { + "name": "40mm Stainless Steel Sport Band GPS + Cellular", + "price": { + "nominal": 799, + "real": 799 + }, + "quantity": 100, + "choices": [ + { + "option_index": 0, + "candidate_index": 0 + }, + { + "option_index": 1, + "candidate_index": 1 + }, + { + "option_index": 2, + "candidate_index": 0 + }, + { + "option_index": 3, + "candidate_index": 1 + } + ] + }, + { + "name": "40mm Stainless Steel Leather Band GPS + Cellular", + "price": { + "nominal": 849, + "real": 849 + }, + "quantity": 100, + "choices": [ + { + "option_index": 0, + "candidate_index": 0 + }, + { + "option_index": 1, + "candidate_index": 1 + }, + { + "option_index": 2, + "candidate_index": 1 + }, + { + "option_index": 3, + "candidate_index": 1 + } + ] + }, + { + "name": "44mm Aluminum Sport Band GPS", + "price": { + "nominal": 429, + "real": 429 + }, + "quantity": 100, + "choices": [ + { + "option_index": 0, + "candidate_index": 1 + }, + { + "option_index": 1, + "candidate_index": 0 + }, + { + "option_index": 2, + "candidate_index": 0 + }, + { + "option_index": 3, + "candidate_index": 0 + } + ] + }, + { + "name": "44mm Aluminum Leather Band GPS", + "price": { + "nominal": 479, + "real": 479 + }, + "quantity": 100, + "choices": [ + { + "option_index": 0, + "candidate_index": 1 + }, + { + "option_index": 1, + "candidate_index": 0 + }, + { + "option_index": 2, + "candidate_index": 1 + }, + { + "option_index": 3, + "candidate_index": 0 + } + ] + }, + { + "name": "44mm Aluminum Sport Band GPS + Cellular", + "price": { + "nominal": 529, + "real": 529 + }, + "quantity": 100, + "choices": [ + { + "option_index": 0, + "candidate_index": 1 + }, + { + "option_index": 1, + "candidate_index": 0 + }, + { + "option_index": 2, + "candidate_index": 0 + }, + { + "option_index": 3, + "candidate_index": 1 + } + ] + }, + { + "name": "44mm Aluminum Leather Band GPS + Cellular", + "price": { + "nominal": 579, + "real": 579 + }, + "quantity": 100, + "choices": [ + { + "option_index": 0, + "candidate_index": 1 + }, + { + "option_index": 1, + "candidate_index": 0 + }, + { + "option_index": 2, + "candidate_index": 1 + }, + { + "option_index": 3, + "candidate_index": 1 + } + ] + }, + { + "name": "44mm Stainless Steel Sport Band GPS", + "price": { + "nominal": 729, + "real": 729 + }, + "quantity": 100, + "choices": [ + { + "option_index": 0, + "candidate_index": 1 + }, + { + "option_index": 1, + "candidate_index": 1 + }, + { + "option_index": 2, + "candidate_index": 0 + }, + { + "option_index": 3, + "candidate_index": 0 + } + ] + }, + { + "name": "44mm Stainless Steel Leather Band GPS", + "price": { + "nominal": 779, + "real": 779 + }, + "quantity": 100, + "choices": [ + { + "option_index": 0, + "candidate_index": 1 + }, + { + "option_index": 1, + "candidate_index": 1 + }, + { + "option_index": 2, + "candidate_index": 1 + }, + { + "option_index": 3, + "candidate_index": 0 + } + ] + }, + { + "name": "44mm Stainless Steel Sport Band GPS + Cellular", + "price": { + "nominal": 829, + "real": 829 + }, + "quantity": 100, + "choices": [ + { + "option_index": 0, + "candidate_index": 1 + }, + { + "option_index": 1, + "candidate_index": 1 + }, + { + "option_index": 2, + "candidate_index": 0 + }, + { + "option_index": 3, + "candidate_index": 1 + } + ] + }, + { + "name": "44mm Stainless Steel Leather Band GPS + Cellular", + "price": { + "nominal": 879, + "real": 879 + }, + "quantity": 100, + "choices": [ + { + "option_index": 0, + "candidate_index": 1 + }, + { + "option_index": 1, + "candidate_index": 1 + }, + { + "option_index": 2, + "candidate_index": 1 + }, + { + "option_index": 3, + "candidate_index": 1 + } + ] + } + ], + "name": "Apple Watch Series", + "required": true, + "primary": true + } + ], + "tags": [ + "smartwatch", + "wearable", + "fitness", + "health", + "technology", + "apple" + ] +} \ No newline at end of file diff --git a/examples/function-calling/arguments/chatgpt.drawfit-women-soft-cashmere-oversized-half-coat.input.json b/examples/function-calling/arguments/chatgpt.drawfit-women-soft-cashmere-oversized-half-coat.input.json index 815624e..87652ca 100644 --- a/examples/function-calling/arguments/chatgpt.drawfit-women-soft-cashmere-oversized-half-coat.input.json +++ b/examples/function-calling/arguments/chatgpt.drawfit-women-soft-cashmere-oversized-half-coat.input.json @@ -1,12 +1,11 @@ { "section_code": "general", - "status": null, "opened_at": null, "closed_at": null, "content": { "title": "Drawfit Women Soft Cashmere Oversized Half Coat", "format": "md", - "body": "The Drawfit Women Soft Cashmere Oversized Half Coat is an essential winter item, crafted from a soft cashmere blend that provides warmth and comfort. Its stylish oversized design makes it perfect for pairing with various outfits.\n\n- \"Comfortable Fit\": Made from soft materials, it can be worn comfortably without irritating the skin.\n- \"Stylish Oversized Design\": The relaxed fit allows for easy layering, suitable for both casual daily looks and formal occasions.\n- Luxurious Design\": With classic colors and minimal details, it easily matches with any outfit.\n- \"Warmth and Elegance\": A perfect choice to stay warm in winter while maintaining a stylish appearance.\n\nIn summary, the Drawfit Women Soft Cashmere Oversized Half Coat is a must-have winter item that combines style and functionality. With its luxurious design and excellent comfort, it’s the perfect choice for any occasion.", + "body": "The Drawfit Women Soft Cashmere Oversized Half Coat is an essential winter item, crafted from a soft cashmere blend that provides warmth and comfort. Its stylish oversized design makes it perfect for pairing with various outfits.\n\n- \"Comfortable Fit\": Made from soft materials, it can be worn comfortably without irritating the skin.\n- \"Stylish Oversized Design\": The relaxed fit allows for easy layering, suitable for both casual daily looks and formal occasions.\n- Luxurious Design\": With classic colors and minimal details, it easily matches with any outfit.\n- \"Warmth and Elegance\": A perfect choice to stay warm in winter while maintaining a stylish appearance.\n\nIn summary, the Drawfit Women Soft Cashmere Oversized Half Coat is a must-have winter item that combines style and functionality. With its luxurious design and excellent comfort, it’s the perfect choice for any occasion.\n", "files": [], "thumbnails": [ { @@ -72,7 +71,7 @@ ], "stocks": [ { - "name": "XS - GREY", + "name": "XS GREY", "price": { "nominal": 220000, "real": 198000 @@ -90,7 +89,7 @@ ] }, { - "name": "XS - NAVY", + "name": "XS NAVY", "price": { "nominal": 220000, "real": 198000 @@ -108,7 +107,7 @@ ] }, { - "name": "XS - BUTTER", + "name": "XS BUTTER", "price": { "nominal": 220000, "real": 198000 @@ -126,7 +125,7 @@ ] }, { - "name": "S - GREY", + "name": "S GREY", "price": { "nominal": 240000, "real": 198000 @@ -144,7 +143,7 @@ ] }, { - "name": "S - NAVY", + "name": "S NAVY", "price": { "nominal": 240000, "real": 198000 @@ -162,7 +161,7 @@ ] }, { - "name": "S - BUTTER", + "name": "S BUTTER", "price": { "nominal": 240000, "real": 198000 @@ -180,7 +179,7 @@ ] }, { - "name": "M - GREY", + "name": "M GREY", "price": { "nominal": 260000, "real": 198000 @@ -198,7 +197,7 @@ ] }, { - "name": "M - NAVY", + "name": "M NAVY", "price": { "nominal": 260000, "real": 198000 @@ -216,7 +215,7 @@ ] }, { - "name": "M - BUTTER", + "name": "M BUTTER", "price": { "nominal": 260000, "real": 198000 @@ -235,9 +234,15 @@ } ], "name": "Drawfit Women Soft Cashmere Oversized Half Coat", - "primary": true, - "required": true + "required": true, + "primary": true } ], - "tags": [] + "tags": [ + "Drawfit", + "Women", + "Soft Cashmere", + "Oversized", + "Half Coat" + ] } \ No newline at end of file diff --git a/examples/function-calling/arguments/chatgpt.herman-miller-chair.input.json b/examples/function-calling/arguments/chatgpt.herman-miller-chair.input.json index bf3372d..649ef97 100644 --- a/examples/function-calling/arguments/chatgpt.herman-miller-chair.input.json +++ b/examples/function-calling/arguments/chatgpt.herman-miller-chair.input.json @@ -1,12 +1,11 @@ { "section_code": "general", - "status": null, "opened_at": null, "closed_at": null, "content": { "title": "Herman Miller Chair", "format": "md", - "body": "The Herman Miller chair is an iconic ergonomic seating solution designed to provide unparalleled comfort and support. With its innovative design and high-quality materials, it is perfect for both home and office use.\n\n\"Elevate Your Workspace\": The Herman Miller chair enhances your productivity with its ergonomic features, ensuring you stay comfortable during long hours of work.\n\"Timeless Design\": Combining aesthetics with functionality, this chair fits seamlessly into any environment, adding a touch of elegance to your space.\n\"Adjustable Comfort\": With customizable settings, the Herman Miller chair adapts to your body, promoting better posture and reducing fatigue.\n\"Built to Last\": Made from durable materials, this chair is designed for longevity, making it a worthwhile investment for anyone seeking quality seating.\nIn summary, the Herman Miller chair stands out as a premium choice for users who value comfort, style, and durability. Whether for work or leisure, this chair is ready to enhance your experience and support your well-being.", + "body": "The Herman Miller chair is an iconic ergonomic seating solution designed to provide unparalleled comfort and support. With its innovative design and high-quality materials, it is perfect for both home and office use.\n\n \"Elevate Your Workspace\": The Herman Miller chair enhances your productivity with its ergonomic features, ensuring you stay comfortable during long hours of work.\n\"Timeless Design\": Combining aesthetics with functionality, this chair fits seamlessly into any environment, adding a touch of elegance to your space.\n\"Adjustable Comfort\": With customizable settings, the Herman Miller chair adapts to your body, promoting better posture and reducing fatigue.\n\"Built to Last\": Made from durable materials, this chair is designed for longevity, making it a worthwhile investment for anyone seeking quality seating.\nIn summary, the Herman Miller chair stands out as a premium choice for users who value comfort, style, and durability. Whether for work or leisure, this chair is ready to enhance your experience and support your well-being.", "files": [], "thumbnails": [ { @@ -59,7 +58,7 @@ ], "stocks": [ { - "name": "Herman Miller Chair - Aeron Black", + "name": "Aeron, Black", "price": { "nominal": 1200000, "real": 1099000 @@ -77,7 +76,7 @@ ] }, { - "name": "Herman Miller Chair - Aeron Gray", + "name": "Aeron, Gray", "price": { "nominal": 1200000, "real": 1099000 @@ -95,7 +94,7 @@ ] }, { - "name": "Herman Miller Chair - Aeron White", + "name": "Aeron, White", "price": { "nominal": 1200000, "real": 1099000 @@ -113,7 +112,7 @@ ] }, { - "name": "Herman Miller Chair - Embody Black", + "name": "Embody, Black", "price": { "nominal": 1800000, "real": 1599000 @@ -131,7 +130,7 @@ ] }, { - "name": "Herman Miller Chair - Embody Gray", + "name": "Embody, Gray", "price": { "nominal": 1800000, "real": 1599000 @@ -149,7 +148,7 @@ ] }, { - "name": "Herman Miller Chair - Embody White", + "name": "Embody, White", "price": { "nominal": 1800000, "real": 1599000 @@ -168,8 +167,8 @@ } ], "name": "Herman Miller Chair", - "primary": true, - "required": true + "required": true, + "primary": true }, { "options": [], @@ -185,8 +184,8 @@ } ], "name": "Warranty Program", - "primary": false, - "required": false + "required": false, + "primary": false }, { "options": [], @@ -202,16 +201,9 @@ } ], "name": "Replacement Cushion", - "primary": false, - "required": false + "required": false, + "primary": false } ], - "tags": [ - "Herman Miller", - "Chair", - "Ergonomic", - "Office", - "Home", - "Furniture" - ] + "tags": [] } \ No newline at end of file diff --git a/examples/function-calling/arguments/chatgpt.leica-m6.input.json b/examples/function-calling/arguments/chatgpt.leica-m6.input.json index ff40727..168945d 100644 --- a/examples/function-calling/arguments/chatgpt.leica-m6.input.json +++ b/examples/function-calling/arguments/chatgpt.leica-m6.input.json @@ -25,7 +25,8 @@ { "code": "samchon", "category_codes": [ - "cameras" + "cameras", + "electronics" ] } ], @@ -77,8 +78,8 @@ } ], "name": "Leica M6 Body (2022 Reissue)", - "primary": true, - "required": true + "required": true, + "primary": true }, { "options": [], @@ -94,18 +95,15 @@ } ], "name": "50mm Summilux Lens", - "primary": false, - "required": false + "required": false, + "primary": false } ], "tags": [ "Leica", - "Camera", "M6", - "2022", - "Film", + "Camera", "Photography", - "Lens", - "Summilux" + "Film" ] } \ No newline at end of file diff --git a/examples/function-calling/arguments/chatgpt.microsoft-surface-pro-9.input.json b/examples/function-calling/arguments/chatgpt.microsoft-surface-pro-9.input.json index 41a0517..3eaee35 100644 --- a/examples/function-calling/arguments/chatgpt.microsoft-surface-pro-9.input.json +++ b/examples/function-calling/arguments/chatgpt.microsoft-surface-pro-9.input.json @@ -1,6 +1,5 @@ { "section_code": "general", - "status": null, "opened_at": null, "closed_at": null, "content": { @@ -30,7 +29,8 @@ { "code": "samchon", "category_codes": [ - "2in1_laptops" + "tablets", + "windows_tablets" ] } ], @@ -88,7 +88,7 @@ ], "stocks": [ { - "name": "Surface Pro 9 - i3 8/128", + "name": "i3, 8 GB, 128 GB", "price": { "nominal": 1000000, "real": 899000 @@ -110,7 +110,7 @@ ] }, { - "name": "Surface Pro 9 - i3 16/256", + "name": "i3, 16 GB, 256 GB", "price": { "nominal": 1200000, "real": 1099000 @@ -132,7 +132,7 @@ ] }, { - "name": "Surface Pro 9 - i3 16/512", + "name": "i3, 16 GB, 512 GB", "price": { "nominal": 1400000, "real": 1299000 @@ -154,7 +154,7 @@ ] }, { - "name": "Surface Pro 9 - i5 16/256", + "name": "i5, 16 GB, 256 GB", "price": { "nominal": 1500000, "real": 1399000 @@ -176,7 +176,7 @@ ] }, { - "name": "Surface Pro 9 - i5 32/512", + "name": "i5, 32 GB, 512 GB", "price": { "nominal": 1800000, "real": 1699000 @@ -198,7 +198,7 @@ ] }, { - "name": "Surface Pro 9 - i7 16/512", + "name": "i7, 16 GB, 512 GB", "price": { "nominal": 1800000, "real": 1699000 @@ -220,7 +220,7 @@ ] }, { - "name": "Surface Pro 9 - i7 32/512", + "name": "i7, 32 GB, 512 GB", "price": { "nominal": 2000000, "real": 1899000 @@ -243,8 +243,8 @@ } ], "name": "Surface Pro 9 Entity", - "primary": true, - "required": true + "required": true, + "primary": true }, { "options": [], @@ -260,8 +260,8 @@ } ], "name": "Warranty Program", - "primary": false, - "required": false + "required": false, + "primary": false }, { "options": [], @@ -277,15 +277,9 @@ } ], "name": "Magnetic Keyboard", - "primary": false, - "required": false + "required": false, + "primary": false } ], - "tags": [ - "Surface", - "Pro 9", - "2-in-1", - "Laptop", - "Tablet" - ] + "tags": [] } \ No newline at end of file diff --git a/examples/function-calling/arguments/chatgpt.samsung-galaxy-watch-7.input.json b/examples/function-calling/arguments/chatgpt.samsung-galaxy-watch-7.input.json index 7d37a79..b06c785 100644 --- a/examples/function-calling/arguments/chatgpt.samsung-galaxy-watch-7.input.json +++ b/examples/function-calling/arguments/chatgpt.samsung-galaxy-watch-7.input.json @@ -6,7 +6,7 @@ "content": { "title": "Galaxy Watch 7", "format": "md", - "body": "The Galaxy Watch 7 is a premium smartwatch designed with innovative aesthetics and high-quality materials, making it a perfect fit for both daily life and work. ([samsung.com](https://www.samsung.com/sec/watches/galaxy-watch/galaxy-watch7/))\n\n“Upgrade Your Style”: The Galaxy Watch 7 adds a sophisticated touch to your wrist with its floating glass design and a variety of color options. “Personalized Sleep Coaching”: Its sleep tracking feature analyzes your sleep patterns and provides personalized sleep coaching.\n \n“Enhanced Workout Tracking”: Supports a wide range of workout modes and provides detailed data such as heart rate and calorie burn.\n\n“Powerful Performance”: Equipped with the latest processor and long battery life, it offers stable performance for everything from daily use to high-intensity workouts.\n\nIn summary, the Galaxy Watch 7 is a premium smartwatch combining style, functionality, and durability, making it the perfect choice to enhance your health and lifestyle.", + "body": "The Galaxy Watch 7 is a premium smartwatch designed with innovative aesthetics and high-quality materials, making it a perfect fit for both daily life and work. ([samsung.com](https://www.samsung.com/sec/watches/galaxy-watch/galaxy-watch7/))\n\n“Upgrade Your Style”: The Galaxy Watch 7 adds a sophisticated touch to your wrist with its floating glass design and a variety of color options.\n“Personalized Sleep Coaching”: Its sleep tracking feature analyzes your sleep patterns and provides personalized sleep coaching.\n\n“Enhanced Workout Tracking”: Supports a wide range of workout modes and provides detailed data such as heart rate and calorie burn.\n\n“Powerful Performance”: Equipped with the latest processor and long battery life, it offers stable performance for everything from daily use to high-intensity workouts.\n\nIn summary, the Galaxy Watch 7 is a premium smartwatch combining style, functionality, and durability, making it the perfect choice to enhance your health and lifestyle.", "files": [], "thumbnails": [ { @@ -59,7 +59,7 @@ ], "stocks": [ { - "name": "Galaxy Watch 7 - Standard Green", + "name": "Standard, Green", "price": { "nominal": 400000, "real": 359000 @@ -77,7 +77,7 @@ ] }, { - "name": "Galaxy Watch 7 - Standard Silver", + "name": "Standard, Silver", "price": { "nominal": 400000, "real": 359000 @@ -95,7 +95,7 @@ ] }, { - "name": "Galaxy Watch 7 - Standard Cream", + "name": "Standard, Cream", "price": { "nominal": 400000, "real": 359000 @@ -113,7 +113,7 @@ ] }, { - "name": "Galaxy Watch 7 - Ultra Green", + "name": "Ultra, Green", "price": { "nominal": 600000, "real": 549000 @@ -131,7 +131,7 @@ ] }, { - "name": "Galaxy Watch 7 - Ultra Silver", + "name": "Ultra, Silver", "price": { "nominal": 600000, "real": 549000 @@ -149,7 +149,7 @@ ] }, { - "name": "Galaxy Watch 7 - Ultra Cream", + "name": "Ultra, Cream", "price": { "nominal": 600000, "real": 549000 @@ -168,8 +168,8 @@ } ], "name": "Galaxy Watch 7", - "primary": true, - "required": true + "required": true, + "primary": true }, { "options": [], @@ -185,8 +185,8 @@ } ], "name": "Warranty Program", - "primary": false, - "required": false + "required": false, + "primary": false }, { "options": [], @@ -202,8 +202,8 @@ } ], "name": "Replacement Strap", - "primary": false, - "required": false + "required": false, + "primary": false } ], "tags": [] diff --git a/examples/function-calling/arguments/chatgpt.stanley-tumbler-collection.input.json b/examples/function-calling/arguments/chatgpt.stanley-tumbler-collection.input.json index d92c737..ed750ac 100644 --- a/examples/function-calling/arguments/chatgpt.stanley-tumbler-collection.input.json +++ b/examples/function-calling/arguments/chatgpt.stanley-tumbler-collection.input.json @@ -1,17 +1,16 @@ { "section_code": "general", - "status": null, "opened_at": null, "closed_at": null, "content": { "title": "Stanley Tumbler Collection", "format": "md", - "body": "### Product Description\n\n> The Stanley Tumbler Collection is the perfect companion for staying hydrated, whether you're at work, on the go, or exploring the great outdoors. Designed with functionality and durability in mind, these tumblers are built to keep your drinks at the perfect temperature all day long.\n> \n> - **\"Built for Adventure\"**: The Stanley Tumbler features rugged construction, making it ideal for outdoor enthusiasts and urban adventurers alike.\n> - **\"Temperature Control at Its Best\"**: With double-wall vacuum insulation, the Stanley Tumbler keeps drinks hot for up to 7 hours or cold for up to 11 hours.\n> - **\"Leakproof and Spillproof\"**: Designed for ease of use, these tumblers are 100% leakproof, ensuring your drink stays exactly where it belongs.\n> - **\"Eco-Friendly and Sustainable\"**: Made with 18/8 stainless steel, Stanley Tumblers are BPA-free and built to last, reducing waste from disposable cups.\n> \n> In summary, the Stanley Tumbler Collection combines durability, functionality, and style. Whether you're sipping coffee during your morning commute or staying hydrated during a hike, Stanley Tumblers are designed to meet your needs. Choose Stanley and enjoy unmatched quality and performance.\n", + "body": "The Stanley Tumbler Collection offers a range of versatile, durable, and stylish tumblers to suit every lifestyle. With customizable options and eco-friendly designs, these tumblers are the ideal choice for anyone looking to elevate their drinkware experience. Don’t miss this opportunity to grab your Stanley Tumbler today!\n\n> The Stanley Tumbler Collection is the perfect companion for staying hydrated, whether you're at work, on the go, or exploring the great outdoors. Designed with functionality and durability in mind, these tumblers are built to keep your drinks at the perfect temperature all day long.\n> \n> - **\"Built for Adventure\"**: The Stanley Tumbler features rugged construction, making it ideal for outdoor enthusiasts and urban adventurers alike.\n> - **\"Temperature Control at Its Best\"**: With double-wall vacuum insulation, the Stanley Tumbler keeps drinks hot for up to 7 hours or cold for up to 11 hours.\n> - **\"Leakproof and Spillproof\"**: Designed for ease of use, these tumblers are 100% leakproof, ensuring your drink stays exactly where it belongs.\n> - **\"Eco-Friendly and Sustainable\"**: Made with 18/8 stainless steel, Stanley Tumblers are BPA-free and built to last, reducing waste from disposable cups.\n> \n> In summary, the Stanley Tumbler Collection combines durability, functionality, and style. Whether you're sipping coffee during your morning commute or staying hydrated during a hike, Stanley Tumblers are designed to meet your needs. Choose Stanley and enjoy unmatched quality and performance.", "files": [], "thumbnails": [ { "name": "stanley-tumbler-collection-thumbnail", - "extension": "jpeg", + "extension": "jepg", "url": "https://serpapi.com/searches/673d71322c566d56d9c20ceb/images/ce9a07f2aa831dbec8bb1c287299706e24a52a8e0c119fa162041805038957a7.jpeg" } ] @@ -20,8 +19,7 @@ { "code": "samchon", "category_codes": [ - "other", - "accessories" + "others" ] } ], @@ -63,7 +61,7 @@ ], "stocks": [ { - "name": "Classic Tumbler (16 oz, Matte Black)", + "name": "Classic Tumbler 16oz Matte Black", "price": { "nominal": 40000, "real": 35000 @@ -81,7 +79,7 @@ ] }, { - "name": "Classic Tumbler (20 oz, Hammertone Green)", + "name": "Classic Tumbler 20oz Hammertone Green", "price": { "nominal": 50000, "real": 44000 @@ -99,7 +97,7 @@ ] }, { - "name": "Classic Tumbler (24 oz, Polar White)", + "name": "Classic Tumbler 24oz Polar White", "price": { "nominal": 60000, "real": 54000 @@ -118,8 +116,8 @@ } ], "name": "Classic Tumbler", - "primary": true, - "required": true + "required": true, + "primary": true }, { "options": [], @@ -135,8 +133,8 @@ } ], "name": "Adventure Quencher Tumbler", - "primary": false, - "required": false + "required": false, + "primary": false }, { "options": [], @@ -152,16 +150,17 @@ } ], "name": "Accessories Set", - "primary": false, - "required": false + "required": false, + "primary": false } ], "tags": [ "tumbler", - "stanley", + "Stanley", "hydration", + "eco-friendly", "drinkware", "outdoor", - "eco-friendly" + "lifestyle" ] } \ No newline at end of file diff --git a/examples/function-calling/prompts/apple-airpods.md b/examples/function-calling/prompts/apple-airpods.md new file mode 100644 index 0000000..488aa10 --- /dev/null +++ b/examples/function-calling/prompts/apple-airpods.md @@ -0,0 +1,17 @@ +### Preface + +I will create a sale with the following details. + +Target section is "general", and channel is "samchon". About the categories, just select proper things by your decision. + +### Content +At first, title of the sale is "Apple AirPods". + +About the detailed contents, just fill it by your knowledge. + +### SKU +Also compose it by your knowledge. + +By the way, you have to compose the full list of stocks. + +Never skip it, and I repeat again that you have to fill it all. \ No newline at end of file diff --git a/examples/function-calling/prompts/apple-imac.md b/examples/function-calling/prompts/apple-imac.md new file mode 100644 index 0000000..b9290bb --- /dev/null +++ b/examples/function-calling/prompts/apple-imac.md @@ -0,0 +1,17 @@ +### Preface + +I will create a sale with the following details. + +Target section is "general", and channel is "samchon". About the categories, just select proper things by your decision. + +### Content +At first, title of the sale is "Apple iMac". + +About the detailed contents, just fill it by your knowledge. + +### SKU +Also compose it by your knowledge. + +By the way, you have to compose the full list of stocks. + +Never skip it, and I repeat again that you have to fill it all. \ No newline at end of file diff --git a/examples/function-calling/prompts/apple-ipad.md b/examples/function-calling/prompts/apple-ipad.md new file mode 100644 index 0000000..c46f004 --- /dev/null +++ b/examples/function-calling/prompts/apple-ipad.md @@ -0,0 +1,17 @@ +### Preface + +I will create a sale with the following details. + +Target section is "general", and channel is "samchon". About the categories, just select proper things by your decision. + +### Content +At first, title of the sale is "Apple iPad". + +About the detailed contents, just fill it by your knowledge. + +### SKU +Also compose it by your knowledge. + +By the way, you have to compose the full list of stocks. + +Never skip it, and I repeat again that you have to fill it all. \ No newline at end of file diff --git a/examples/function-calling/prompts/apple-iphone.md b/examples/function-calling/prompts/apple-iphone.md index 19d97d8..fce1347 100644 --- a/examples/function-calling/prompts/apple-iphone.md +++ b/examples/function-calling/prompts/apple-iphone.md @@ -6,72 +6,50 @@ Target section is "general", and channel is "samchon". About the categories, ju ### Content -At First, title of the sale is “Apple MacBook Pro”. +At first, the title of the sale is "iPhone 16: Redefining Innovation" Below is the content body of the sale. -> MacBook Pro +> The iPhone 16 takes mobile technology to new heights with its cutting-edge design, enhanced performance, and revolutionary features. With a stunning ProMotion XDR display, an even more powerful A18 Bionic chip, and advanced camera capabilities, the iPhone 16 delivers unparalleled speed, clarity, and creativity. Whether you're capturing cinematic moments or experiencing seamless multitasking, the iPhone 16 ensures every interaction feels extraordinary. +> +> **Tagline:** +> +> "iPhone 16: The Future in Your Hands." > -> -> **The Ultimate Tool for Professionals** -> -> MacBook Pro is designed to elevate your creativity and productivity to new heights. Combining exceptional performance, elegant design, and the unparalleled experience only Apple can deliver, this is the device that empowers you to tackle any challenge with confidence. -> -> - **Remarkable Performance** -> -> Powered by the next-generation chip, it handles demanding tasks and complex projects effortlessly, delivering unmatched speed and efficiency. -> -> - **Outstanding Display** -> -> The Retina display offers rich colors and sharp contrast, creating an immersive visual experience. With ProMotion technology, enjoy smooth scrolling and fluid animations like never before. -> -> - **All-Day Battery Life** -> -> Stay focused and in the flow wherever you go with a battery that lasts all day. This is a laptop that works as hard as you do. -> -> - **Sleek Yet Powerful Design** -> -> A precision aluminum body that’s lightweight yet durable, paired with a minimalist design that stands out on your desk and on the go. -> -> - **Smart Connectivity** -> -> Versatile ports for high-speed data transfer and seamless compatibility ensure you're ready for any work environment. -> -> -> With MacBook Pro, your potential knows no bounds. **It’s time to rediscover what you’re capable of.** -> - -The base price starts from KRW 2_000_000, and the price may be added depending on the options. However, the final price should always be marked with a 10% discount. - -About the thumbnail images, please fill from the below image. - -![apple-iphone-thumbnail.jpeg](https://store.storeimages.cdn-apple.com/8756/as-images.apple.com/is/mbp14-spaceblack-gallery1-202410?wid=4000&hei=3074&fmt=jpeg&qlt=90&.v=1729264981617) +> About the thumbnail images, please fill from the below image URL addresses. +> +> - https://serpapi.com/searches/673d45f1bbc18bba240d3d4a/images/dbe630a9b7aa7b2757c88476b16680958208286d1a50297b172d53ed4bec4bd7.jpeg +> - https://serpapi.com/searches/673d45f1bbc18bba240d3d4a/images/dbe630a9b7aa7b27d67682ac72cf28e88e98dc5b91a205f6c97946f84d6162a9.jpeg ### SKU -Also, it has only three unit, the "MacBook M3 Pro 14inch Entity", "Warranty Program" and "Magnetic Keyboard". - -About the "Warranty Program" unit, it is not essential to the sale, and there is no option to select. Its nominal price is ₩100_000 and the real price is ₩89_000, and its initial quantity is 10_000. - -About the "Magnetic Keyboard" unit, it is not essential to the sale, and there is no option to selet either. Its nominal price is ₩200_000, and the real price is ₩169_000. Its initial quantity is 8_000. - -About the "MacBook Pro Entity", it is essential to the sale, and there are many options like below. Its list start from the option name, and their nested lists are formed with candidate and and its additional price. - -Compose the SKU records by cartesian product with below option list. Note that, you must multiply every selectable option candidate values of below, and sum of every additional price of selected options and add the starting price KRW 2_000_000. - -For reference, as number of SKU from the below list is (`2 * 3 * 3 * 2 = 36`), you have to compose entirely 36 stock records. If an user selects a stock of { Silver (+0) / 32GB (+600_000) / 1TB (+300_000) / English (+0) = 900_000 KRW } options, its nominal price must be 2_900_000 KRW including the starting price 2_000_000 KRW. - -- Color - - Sliver (+0₩) - - Space Gray (+50_000₩) -- RAM - - 16GB (+0₩) - - 32GB (+600_000₩) - - 64GB (+1_200_000₩) -- SSD - - 512GB (+0₩) - - 1TB (+300_000₩) - - 2TB (+900_000₩) -- Keyboard Language - - English (+0₩) - - Korean (+0₩) \ No newline at end of file +Also, it has only one unit, the "iPhone Entity". + +About the "iPhone Entity" unit, it is essential to the sale, and there are two options to select like below. + +- Model + - iPhone 16 Basic + - iPhone 16 Plus + - iPhone 16 Pro + - iPhone 16 Pro Max +- Storage + - 128 GB + - 256 GB + - 512 GB + - 1 TB + +The final stocks combinated by the options are like below. The sequence of selected options are {(Model, Storage): price}. Their nominal price and real price are exactly sasme, and initial quantity of them are fixed to 1,000 value. + +- (Basic, 128GB): ₩1,250,000 +- (Basic, 256GB): ₩1,400,000 +- (Basic, 512GB): ₩1,700,000 +- (Plus, 128GB): ₩1,350,000 +- (Plus, 256GB): ₩1,500,000 +- (Plus, 512GB): ₩1,800,000 +- (Pro, 128GB): ₩1,550,000 +- (Pro, 256GB): ₩1,700,000 +- (Pro, 512GB): ₩2,000,000 +- (Pro, 1TB): ₩2,300,000 +- (Pro Max, 256GB): ₩1,900,000 +- (Pro Max, 512GB): ₩2,200,000 +- (Pro Max, 1TB): ₩2,500,000 \ No newline at end of file diff --git a/examples/function-calling/prompts/apple-magickeyboard.md b/examples/function-calling/prompts/apple-magickeyboard.md new file mode 100644 index 0000000..001807a --- /dev/null +++ b/examples/function-calling/prompts/apple-magickeyboard.md @@ -0,0 +1,17 @@ +### Preface + +I will create a sale with the following details. + +Target section is "general", and channel is "samchon". About the categories, just select proper things by your decision. + +### Content +At first, title of the sale is "Apple Magic Keyboard". + +About the detailed contents, just fill it by your knowledge. + +### SKU +Also compose it by your knowledge. + +By the way, you have to compose the full list of stocks. + +Never skip it, and I repeat again that you have to fill it all. \ No newline at end of file diff --git a/examples/function-calling/prompts/apple-magicmouse.md b/examples/function-calling/prompts/apple-magicmouse.md new file mode 100644 index 0000000..6cd92e7 --- /dev/null +++ b/examples/function-calling/prompts/apple-magicmouse.md @@ -0,0 +1,17 @@ +### Preface + +I will create a sale with the following details. + +Target section is "general", and channel is "samchon". About the categories, just select proper things by your decision. + +### Content +At first, title of the sale is "Apple Magic Mouse". + +About the detailed contents, just fill it by your knowledge. + +### SKU +Also compose it by your knowledge. + +By the way, you have to compose the full list of stocks. + +Never skip it, and I repeat again that you have to fill it all. \ No newline at end of file diff --git a/examples/function-calling/prompts/apple-watch.md b/examples/function-calling/prompts/apple-watch.md new file mode 100644 index 0000000..4ff21da --- /dev/null +++ b/examples/function-calling/prompts/apple-watch.md @@ -0,0 +1,17 @@ +### Preface + +I will create a sale with the following details. + +Target section is "general", and channel is "samchon". About the categories, just select proper things by your decision. + +### Content +At first, title of the sale is "Apple Watch". + +About the detailed contents, just fill it by your knowledge. + +### SKU +Also compose it by your knowledge. + +By the way, you have to compose the full list of stocks. + +Never skip it, and I repeat again that you have to fill it all. \ No newline at end of file