persistent-context-aws-nova-sonic

command
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 27, 2026 License: BSD-2-Clause Imports: 17 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command persistent-context-aws-nova-sonic saves the conversation to disk and loads it back: Amazon Nova Sonic, a speech-to-speech model.

The model has tools to save the conversation, list the saved conversations, and load one into the session, alongside a weather tool to have something to talk about. Conversations are saved as JSON files named /tmp/jargo_conversation_<timestamp>.json. Loading one resets the Nova Sonic session, which opens a new one seeded with the loaded conversation.

AWS_ACCESS_KEY_ID=… AWS_SECRET_ACCESS_KEY=… AWS_REGION=us-east-1 \
  go run ./examples/persistent-context/persistent-context-aws-nova-sonic

Then open http://localhost:7860, connect, chat, and ask the bot to save the conversation; in a later session, ask it to list and load one.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL