Skip to content

Commit 6e2c11e

Browse files
authored
Add Bedtime story teller example (#15)
1 parent 59b568f commit 6e2c11e

35 files changed

+2464
-0
lines changed
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# Bedtime Story Teller Example
2+
3+
## Description
4+
This example demonstrates how to build a bedtime story teller application using Arduino UNO Q.
5+
The application shows how to use a cloud-based large language model (LLM) to generate a bedtime story based on user input.
6+
7+
## Bricks Used
8+
9+
The code detector example uses the following bricks:
10+
11+
- `cloud_llm`: brick to interact with a cloud-based large language model (LLM) for generating story content.
12+
- `web_ui`: brick to create a web interface to get user input and display the generated story.
13+
14+
## Hardware and Software Requirements
15+
16+
### Hardware
17+
18+
- Arduino UNO Q (x1)
19+
- USB camera (x1)
20+
- USB-C® to USB-A Cable (x1)
21+
- Personal computer with internet access
22+
23+
### Software
24+
25+
- Apps Lab IDE
26+
27+
Note: You can run this example using your Arduino UNO Q as a Single Board Computer (SBC) using a [USB-C hub](https://store.arduino.cc/products/usb-c-to-hdmi-multiport-adapter-with-ethernet-and-usb-hub) with a mouse, keyboard and display attached.
28+
29+
## How to Use the Example
30+
31+
1. Run the app
32+
2. Open the App on your browser
33+
34+
## How it Works
35+
36+
Here is a brief explanation of the full-stack application:
37+
38+
### 🔧 Backend (main.py)
39+
40+
### 💻 Frontend (index.html + app.js)
41+
42+
## Understanding the Code
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
name: Bedtime story teller
2+
icon: 🏰
3+
description:
4+
This example shows how to create a bedtime story teller using Arduino.
5+
It uses a cloud-based language model to generate a story based on user input and shows the story on a web interface.
6+
7+
bricks:
8+
- arduino:cloud_llm
9+
- arduino:web_ui

0 commit comments

Comments
 (0)