Documentation
¶
Overview ¶
Command features-screen-share is a bot that can look at the user's camera or screen share when asked.
The transport captures both video sources as the client connects, listed in VideoInSources. Each is captured with OnRequestOnly, so no frames flow until the bot asks for one: the LLM has a tool per source, fetch_camera_image and fetch_screen_share_image, and each pushes a UserImageRequestFrame for its source. The transport answers with the next frame from that source, which is added to the LLM context so the LLM can describe it.
Share your screen from the client and ask what's on it, or turn on your camera and ask what it sees.
DEEPGRAM_API_KEY=… CARTESIA_API_KEY=… OPENAI_API_KEY=… \ go run ./examples/features/features-screen-share
Then open http://localhost:7860 and connect.