Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions examples/bedtime-story-teller/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Bedtime Story Teller Example

## Description
This example demonstrates how to build a bedtime story teller application using Arduino UNO Q.
The application shows how to use a cloud-based large language model (LLM) to generate a bedtime story based on user input.

## Bricks Used

The code detector example uses the following bricks:

- `cloud_llm`: brick to interact with a cloud-based large language model (LLM) for generating story content.
- `web_ui`: brick to create a web interface to get user input and display the generated story.

## Hardware and Software Requirements

### Hardware

- Arduino UNO Q (x1)
- USB camera (x1)
- USB-C® to USB-A Cable (x1)
- Personal computer with internet access

### Software

- Apps Lab IDE

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.

## How to Use the Example

1. Run the app
2. Open the App on your browser

## How it Works

Here is a brief explanation of the full-stack application:

### 🔧 Backend (main.py)

### 💻 Frontend (index.html + app.js)

## Understanding the Code
9 changes: 9 additions & 0 deletions examples/bedtime-story-teller/app.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: Bedtime story teller
icon: 🏰
description:
This example shows how to create a bedtime story teller using Arduino.
It uses a cloud-based language model to generate a story based on user input and shows the story on a web interface.

bricks:
- arduino:cloud_llm
- arduino:web_ui
Loading