Skip to content

Commit a32e919

Browse files
Add Groq/Llama3 recipes (cookbook and command line examples) (meta-llama#553)
2 parents 742f24a + bb6ce62 commit a32e919

File tree

58 files changed

+8091
-938
lines changed

Some content is hidden

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

58 files changed

+8091
-938
lines changed

.github/scripts/spellcheck_conf/wordlist.txt

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1350,4 +1350,33 @@ SalesBot
13501350
Weaviate
13511351
MediaGen
13521352
SDXL
1353-
SVD
1353+
SVD
1354+
DataFrame
1355+
DuckDB
1356+
Groq
1357+
GroqCloud
1358+
Replit
1359+
Teslas
1360+
duckdb
1361+
teslas
1362+
Groqs
1363+
groq
1364+
schemas
1365+
Pinecone
1366+
Pinecone's
1367+
Repl
1368+
docsearch
1369+
presidental
1370+
CrewAI
1371+
kickstart
1372+
DataFrames
1373+
Groqing
1374+
Langchain
1375+
Plotly
1376+
dfs
1377+
yfinance
1378+
Groq's
1379+
LlamaChat
1380+
chatbot's
1381+
ConversationBufferWindowMemory
1382+
chatbot's

recipes/llama_api_providers/Groq/groq-api-cookbook/function-calling-101-ecommerce/Function-Calling-101-Ecommerce.ipynb

Lines changed: 1038 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
customer_id,name,email,address
2+
1,Erin Boyle MD,[email protected],"165 Brown Springs
3+
Michaelport, IL 60228"
4+
2,Matthew Saunders,[email protected],"219 Steven Mountains
5+
Port Gabriellafort, OH 52281"
6+
3,Amanda Anderson,[email protected],"498 Laurie Glens
7+
Mitchelltown, CT 93655"
8+
4,Julian Butler,[email protected],"909 Rodriguez Harbors Suite 119
9+
New Tracyburgh, MS 15487"
10+
5,Zachary Mitchell MD,[email protected],"9087 Matthew Drives
11+
Caitlynshire, OR 42442"
12+
6,Troy Bennett,[email protected],"73329 Kimberly Loaf Apt. 029
13+
Shellyborough, TX 55939"
14+
7,Allison Hall,[email protected],"210 Shannon Camp
15+
New Michael, MO 65990"
16+
8,Carolyn Davis,[email protected],"64228 Carol Courts Suite 087
17+
New Micheleshire, MT 42516"
18+
9,Cindy Munoz,[email protected],"1722 Christine Plaza
19+
Danielport, UT 12261"
20+
10,Tom Testuser,[email protected],"451 Victoria Bridge Suite 529
21+
Pageton, WI 27404"
22+
11,Charles Walker,[email protected],"2077 Lamb Drive
23+
Salazarton, IN 54619"
24+
12,Brianna Molina,[email protected],"586 Khan Mills Suite 202
25+
Lake Dominique, VA 98527"
26+
13,Austin Andrade,[email protected],"4857 Donna Cliffs
27+
Floydstad, PR 82540"
28+
14,Brandon Andrade,[email protected],"906 Olivia Motorway
29+
Kelleyfort, AK 48960"
30+
15,Diane Lam,[email protected],"070 Eric Rapid Suite 159
31+
Townsendbury, MI 57664"
32+
16,Jason Kelly,[email protected],"873 Angela Track Apt. 972
33+
Stephenville, NV 32705"
34+
17,Mr. Mitchell Saunders,[email protected],"USS White
35+
FPO AE 91058"
36+
18,Regina Ross,[email protected],"91857 Wendy Place
37+
East Charlesshire, CA 43705"
38+
19,Mrs. Denise May DDS,[email protected],"64590 Kathleen Cove Apt. 736
39+
Derrickton, AK 05935"
40+
20,Lisa Boyle,[email protected],"USNS Russell
41+
FPO AE 51528"
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
order_id,product_id,customer_id,order_date
2+
1,13,18,2024-02-15 15:15
3+
2,19,6,2024-01-03 17:43
4+
3,12,20,2024-03-11 1:13
5+
4,7,20,2024-02-04 12:04
6+
5,14,3,2024-05-02 17:12
7+
6,17,6,2024-02-12 1:46
8+
7,20,4,2024-02-26 2:59
9+
8,4,7,2024-05-02 16:51
10+
9,11,2,2024-01-04 11:09
11+
10,6,9,2024-04-09 15:04
12+
11,3,7,2024-02-21 21:17
13+
12,6,18,2024-02-21 18:50
14+
13,17,11,2024-05-02 16:20
15+
14,11,15,2024-04-20 2:49
16+
15,16,7,2024-01-18 1:12
17+
16,16,16,2024-05-03 11:20
18+
17,14,18,2024-03-26 22:51
19+
18,20,16,2024-05-07 23:25
20+
19,1,12,2024-05-20 12:41
21+
20,20,3,2024-01-17 7:25
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
product_id,name,description,price,stock_quantity
2+
1,Laptop,High performance laptop with 16GB RAM and 512GB SSD.,753.03,15
3+
2,Smartphone,Latest model smartphone with a stunning display and great camera.,398.54,59
4+
3,Headphones,Noise-cancelling over-ear headphones with long battery life.,889.79,97
5+
4,Monitor,24-inch 1080p monitor with vibrant colors and wide viewing angles.,604.44,98
6+
5,Keyboard,Mechanical keyboard with customizable RGB lighting.,500.24,52
7+
6,Mouse,Wireless mouse with ergonomic design and long battery life.,321.98,57
8+
7,Printer,All-in-one printer with wireless connectivity and high-quality printing.,695.29,32
9+
8,Tablet,Portable tablet with 10-inch display and powerful processor.,625.75,28
10+
9,Smartwatch,Stylish smartwatch with fitness tracking and notifications.,952.72,42
11+
10,Camera,Digital camera with 20MP sensor and 4K video recording.,247.93,99
12+
11,Speaker,Bluetooth speaker with excellent sound quality and deep bass.,896.4,32
13+
12,Router,Wi-Fi router with high speed and wide coverage.,976.16,59
14+
13,External Hard Drive,1TB external hard drive with fast data transfer speeds.,434.46,18
15+
14,USB Flash Drive,64GB USB flash drive with compact design and reliable storage.,991.09,77
16+
15,Microphone,Professional microphone with clear sound and adjustable settings.,276.23,30
17+
16,Webcam,HD webcam with wide-angle lens and built-in microphone.,890.39,13
18+
17,Drone,Compact drone with HD camera and stable flight controls.,285.93,37
19+
18,Projector,Portable projector with bright display and multiple connectivity options.,290.22,31
20+
19,Fitness Tracker,Fitness tracker with heart rate monitor and sleep tracking.,953.65,4
21+
20,E-Reader,Lightweight e-reader with high-resolution display and long battery life.,132.15,62
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
employee_id,name,email
2+
1,Richard Hendricks,[email protected]
3+
2,Erlich Bachman,[email protected]
4+
3,Dinesh Chugtai,[email protected]
5+
4,Bertram Gilfoyle,[email protected]
6+
5,Jared Dunn,[email protected]
7+
6,Monica Hall,[email protected]
8+
7,Gavin Belson,[email protected]
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
purchase_id,purchase_date,product_name,employee_id,amount
2+
1,'2024-02-01',iPhone,1,750
3+
2,'2024-02-02',Tesla,2,70000
4+
3,'2024-02-03',Humane pin,3,500
5+
4,'2024-02-04',iPhone,4,700
6+
5,'2024-02-05',Tesla,5,75000

0 commit comments

Comments
 (0)