Create

Sign in to ReadmeX

or

How we handle your data: Privacy Policy

ReadmeX

Your AI reading companion

What would you like to catch up on?

Pick a briefing, or ask your own question.

Your community and people briefings stay personal to you.

Story

Developer builds a cold-joke assistant for Rokid Glasses

AI summary

A developer documented a single-page AIUI application that recognizes a user’s mood, asks a language model for a short cold joke, displays it on Rokid Glasses, and optionally reads it aloud. The project uses a five-state machine for speech recognition, model calls, speech synthesis, controls, cancellation, and error recovery, including a 15-second timeout and defensive parsing of inconsistent model output. The stated goal of showing a joke within three seconds was not independently verified.

In-depth insight

The note provides a concrete example of handling nondeterministic model output through a constrained interface, explicit states, timeouts, and recovery paths on a small smart-glasses display.

1. 项目简介

我想做一个小到不能再小的应用:用户说一句此刻的心情,眼镜上就出现一张冷笑话卡片。可以换一条,也可以换心情重新来。

为什么是冷笑话? 在眼镜这种设备上,用户不缺「工具」——导航、翻译、提词已经有人做了。缺的是「没用但开心」的东西。冷笑话的门槛足够低:一句话铺垫、一句话包袱,不用解释,不必连续阅读,天生适合语音播报,也天生适合 480×352 的微显示屏。

解决什么问题? 加班到深夜、睡不着、通勤发呆、社交冷场——这些时刻用户想要的不是一篇长文,而是几秒钟的轻松。应用的体验目标可以概括成一条路径:说一句心情 → 3 秒内看到一条笑话 → 按一下换下一条。

目标用户:戴着 Rokid Glasses 的打工人、睡前用户,以及「不想开口聊天、只想听点什么」的人。放在开发视角看,它同时也是一个结构完整的状态机样例:用单文件页面跑通了语音识别、模型调用、语音合成、按键交互和异常恢复。

#Rokid#Rokid Glasses#AIUI

Original · 9 min readRead the original
Group chat

No comments yet. Start the conversation.