Skip to content

Commit aad6496

Browse files
authored
Merge pull request #85 from samchon/feat/claude
Enhance function calling test programs.
2 parents 66391ba + c12856d commit aad6496

File tree

79 files changed

+4646
-4634
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+4646
-4634
lines changed

examples/function-calling/arguments/chatgpt.sale.input.apple-iphone.json examples/function-calling/arguments/chatgpt.apple-iphone.input.json

+85-85
Large diffs are not rendered by default.

examples/function-calling/arguments/claude.sale.input.apple-macbook-pro.json examples/function-calling/arguments/chatgpt.apple-macbook-pro.input.json

+60-60
Large diffs are not rendered by default.

examples/function-calling/arguments/claude.sale.input.apple-vision-pro.json examples/function-calling/arguments/chatgpt.apple-vision-pro.input.json

+8-9
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"content": {
77
"title": "Apple Vision Air",
88
"format": "md",
9-
"body": "The 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![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\nAugmented Reality Capabilities: Experience a new dimension of interaction with AR applications that enhance everyday tasks and entertainment.\n\nHigh-Resolution Display: Enjoy vibrant and crisp visuals, making every detail come to life.\nIntuitive Controls: Navigate effortlessly with gesture controls and voice commands, designed for user convenience.\n\nSeamless Integration: Connect with other Apple devices for a unified ecosystem that enhances productivity and creativity.\n\nDurability and Comfort: Built with premium materials, the Vision Air ensures longevity and comfort during prolonged use.",
9+
"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.",
1010
"files": [],
1111
"thumbnails": [
1212
{
@@ -20,16 +20,12 @@
2020
{
2121
"code": "samchon",
2222
"category_codes": [
23-
"electronics",
2423
"smart_glasses"
2524
]
2625
}
2726
],
2827
"units": [
2928
{
30-
"name": "Apple Vision Air",
31-
"primary": true,
32-
"required": true,
3329
"options": [
3430
{
3531
"type": "select",
@@ -91,14 +87,17 @@
9187
}
9288
]
9389
}
94-
]
90+
],
91+
"name": "Apple Vision Air",
92+
"primary": true,
93+
"required": true
9594
}
9695
],
9796
"tags": [
9897
"Apple",
99-
"Vision Air",
100-
"AR",
98+
"Vision",
99+
"Air",
101100
"Augmented Reality",
102-
"Smart Glasses"
101+
"Technology"
103102
]
104103
}

examples/function-calling/arguments/chatgpt.sale.input.drawfit-women-soft-cashmere-oversized-half-coat.json examples/function-calling/arguments/chatgpt.drawfit-women-soft-cashmere-oversized-half-coat.input.json

+12-19
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
{
3131
"code": "samchon",
3232
"category_codes": [
33-
"accessories",
3433
"clothes"
3534
]
3635
}
@@ -73,7 +72,7 @@
7372
],
7473
"stocks": [
7574
{
76-
"name": "XS-GREY",
75+
"name": "XS - GREY",
7776
"price": {
7877
"nominal": 220000,
7978
"real": 198000
@@ -91,7 +90,7 @@
9190
]
9291
},
9392
{
94-
"name": "XS-NAVY",
93+
"name": "XS - NAVY",
9594
"price": {
9695
"nominal": 220000,
9796
"real": 198000
@@ -109,7 +108,7 @@
109108
]
110109
},
111110
{
112-
"name": "XS-BUTTER",
111+
"name": "XS - BUTTER",
113112
"price": {
114113
"nominal": 220000,
115114
"real": 198000
@@ -127,7 +126,7 @@
127126
]
128127
},
129128
{
130-
"name": "S-GREY",
129+
"name": "S - GREY",
131130
"price": {
132131
"nominal": 240000,
133132
"real": 198000
@@ -145,7 +144,7 @@
145144
]
146145
},
147146
{
148-
"name": "S-NAVY",
147+
"name": "S - NAVY",
149148
"price": {
150149
"nominal": 240000,
151150
"real": 198000
@@ -163,7 +162,7 @@
163162
]
164163
},
165164
{
166-
"name": "S-BUTTER",
165+
"name": "S - BUTTER",
167166
"price": {
168167
"nominal": 240000,
169168
"real": 198000
@@ -181,7 +180,7 @@
181180
]
182181
},
183182
{
184-
"name": "M-GREY",
183+
"name": "M - GREY",
185184
"price": {
186185
"nominal": 260000,
187186
"real": 198000
@@ -199,7 +198,7 @@
199198
]
200199
},
201200
{
202-
"name": "M-NAVY",
201+
"name": "M - NAVY",
203202
"price": {
204203
"nominal": 260000,
205204
"real": 198000
@@ -217,7 +216,7 @@
217216
]
218217
},
219218
{
220-
"name": "M-BUTTER",
219+
"name": "M - BUTTER",
221220
"price": {
222221
"nominal": 260000,
223222
"real": 198000
@@ -236,15 +235,9 @@
236235
}
237236
],
238237
"name": "Drawfit Women Soft Cashmere Oversized Half Coat",
239-
"required": true,
240-
"primary": true
238+
"primary": true,
239+
"required": true
241240
}
242241
],
243-
"tags": [
244-
"Drawfit",
245-
"Women",
246-
"Soft Cashmere",
247-
"Oversized Half Coat",
248-
"Winter"
249-
]
242+
"tags": []
250243
}

examples/function-calling/arguments/chatgpt.sale.input.herman-miller-chair.json examples/function-calling/arguments/chatgpt.herman-miller-chair.input.json

+17-15
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
],
6060
"stocks": [
6161
{
62-
"name": "Herman Miller Chair - Aeron, Black",
62+
"name": "Herman Miller Chair - Aeron Black",
6363
"price": {
6464
"nominal": 1200000,
6565
"real": 1099000
@@ -77,7 +77,7 @@
7777
]
7878
},
7979
{
80-
"name": "Herman Miller Chair - Aeron, Gray",
80+
"name": "Herman Miller Chair - Aeron Gray",
8181
"price": {
8282
"nominal": 1200000,
8383
"real": 1099000
@@ -95,7 +95,7 @@
9595
]
9696
},
9797
{
98-
"name": "Herman Miller Chair - Aeron, White",
98+
"name": "Herman Miller Chair - Aeron White",
9999
"price": {
100100
"nominal": 1200000,
101101
"real": 1099000
@@ -113,7 +113,7 @@
113113
]
114114
},
115115
{
116-
"name": "Herman Miller Chair - Embody, Black",
116+
"name": "Herman Miller Chair - Embody Black",
117117
"price": {
118118
"nominal": 1800000,
119119
"real": 1599000
@@ -131,7 +131,7 @@
131131
]
132132
},
133133
{
134-
"name": "Herman Miller Chair - Embody, Gray",
134+
"name": "Herman Miller Chair - Embody Gray",
135135
"price": {
136136
"nominal": 1800000,
137137
"real": 1599000
@@ -149,7 +149,7 @@
149149
]
150150
},
151151
{
152-
"name": "Herman Miller Chair - Embody, White",
152+
"name": "Herman Miller Chair - Embody White",
153153
"price": {
154154
"nominal": 1800000,
155155
"real": 1599000
@@ -168,8 +168,8 @@
168168
}
169169
],
170170
"name": "Herman Miller Chair",
171-
"required": true,
172-
"primary": true
171+
"primary": true,
172+
"required": true
173173
},
174174
{
175175
"options": [],
@@ -185,8 +185,8 @@
185185
}
186186
],
187187
"name": "Warranty Program",
188-
"required": false,
189-
"primary": false
188+
"primary": false,
189+
"required": false
190190
},
191191
{
192192
"options": [],
@@ -202,14 +202,16 @@
202202
}
203203
],
204204
"name": "Replacement Cushion",
205-
"required": false,
206-
"primary": false
205+
"primary": false,
206+
"required": false
207207
}
208208
],
209209
"tags": [
210210
"Herman Miller",
211-
"Ergonomic Chair",
212-
"Office Furniture",
213-
"Comfortable Seating"
211+
"Chair",
212+
"Ergonomic",
213+
"Office",
214+
"Home",
215+
"Furniture"
214216
]
215217
}

examples/function-calling/arguments/chatgpt.sale.input.leica-m6.json examples/function-calling/arguments/chatgpt.leica-m6.input.json

+14-14
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"content": {
77
"title": "Leica M6 (2022 Reissue): The Return of a Legend",
88
"format": "md",
9-
"body": "The Leica M6, a beloved classic in the world of film photography, is back! The 2022 reissue brings modern enhancements while staying true to the original’s timeless charm. Designed for enthusiasts and professionals, the new M6 is a tribute to the past, with a touch of the future.\n\n- **\"Rediscover the Classic\":** The Leica M6 reissue retains the original design, offering the same iconic look and feel that photographers fell in love with decades ago.\n- **\"Enhanced for the Modern Era\":** Now featuring improved durability, a brighter viewfinder, and the latest advancements in metering, the M6 reissue ensures a seamless shooting experience.\n- **\"Craftsmanship Meets Tradition\":** Made in Germany, the M6 embodies Leica's dedication to quality and precision, delivering a tool that feels as good as it performs.\n- **\"For the Love of Film\":** The M6 is perfect for those who cherish the art of analog photography, providing an unmatched tactile and creative experience.\n\nIn summary, the 2022 Leica M6 reissue is a perfect blend of heritage and innovation. It’s a must-have for collectors, analog enthusiasts, and anyone seeking the pure joy of shooting on film with a legendary camera.",
9+
"body": "The Leica M6, a beloved classic in the world of film photography, is back! The 2022 reissue brings modern enhancements while staying true to the original’s timeless charm. Designed for enthusiasts and professionals, the new M6 is a tribute to the past, with a touch of the future.\n\n- **\"Rediscover the Classic\":** The Leica M6 reissue retains the original design, offering the same iconic look and feel that photographers fell in love with decades ago.\n- **\"Enhanced for the Modern Era\":** Now featuring improved durability, a brighter viewfinder, and the latest advancements in metering, the M6 reissue ensures a seamless shooting experience.\n- **\"Craftsmanship Meets Tradition\":** Made in Germany, the M6 embodies Leica's dedication to quality and precision, delivering a tool that feels as good as it performs.\n- **\"For the Love of Film\":** The M6 is perfect for those who cherish the art of analog photography, providing an unmatched tactile and creative experience.\n\nIn summary, the 2022 Leica M6 reissue is a perfect blend of heritage and innovation. It’s a must-have for collectors, analog enthusiasts, and anyone seeking the pure joy of shooting on film with a legendary camera.\n",
1010
"files": [],
1111
"thumbnails": [
1212
{
@@ -48,7 +48,7 @@
4848
],
4949
"stocks": [
5050
{
51-
"name": "Leica M6 Body (Black Paint Finish)",
51+
"name": "Leica M6 Body - Black Paint Finish",
5252
"price": {
5353
"nominal": 7200000,
5454
"real": 6899000
@@ -62,7 +62,7 @@
6262
]
6363
},
6464
{
65-
"name": "Leica M6 Body (Silver Chrome Finish)",
65+
"name": "Leica M6 Body - Silver Chrome Finish",
6666
"price": {
6767
"nominal": 7200000,
6868
"real": 6899000
@@ -77,8 +77,8 @@
7777
}
7878
],
7979
"name": "Leica M6 Body (2022 Reissue)",
80-
"required": true,
81-
"primary": true
80+
"primary": true,
81+
"required": true
8282
},
8383
{
8484
"options": [],
@@ -94,18 +94,18 @@
9494
}
9595
],
9696
"name": "50mm Summilux Lens",
97-
"required": false,
98-
"primary": false
97+
"primary": false,
98+
"required": false
9999
}
100100
],
101101
"tags": [
102-
"Leica M6",
103-
"Film Camera",
102+
"Leica",
103+
"Camera",
104+
"M6",
105+
"2022",
106+
"Film",
104107
"Photography",
105-
"Analog",
106-
"Camera Reissue",
107-
"Classic Design",
108-
"Collector's Item",
109-
"Camera Lens"
108+
"Lens",
109+
"Summilux"
110110
]
111111
}

0 commit comments

Comments
 (0)