You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs(ten-moss): remove em-dashes; drop BENCHMARK.md + its reference
- README: replace em-dashes with commas/colons
- delete BENCHMARK.md (memU-vs-Moss benchmark guide) and the paragraph that
linked it; keep the self-contained moss_simulate_remote_ms latency tip
Copy file name to clipboardExpand all lines: apps/ten-moss/README.md
+25-32Lines changed: 25 additions & 32 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Voice Assistant with Moss (TEN Framework)
2
2
3
-
A real-time voice agent built on the [TEN Framework](https://github.com/ten-framework/ten-framework) that grounds its answers in a [Moss](https://moss.dev) session. On every final ASR transcript the control extension asks Moss for session-scoped context (~1–10ms, in-process) and injects it into the LLM prompt before the model responds — so answers reflect your knowledge base with no perceptible added latency.
3
+
A real-time voice agent built on the [TEN Framework](https://github.com/ten-framework/ten-framework) that grounds its answers in a [Moss](https://moss.dev) session. On every final ASR transcript the control extension asks Moss for session-scoped context (~1–10ms, in-process) and injects it into the LLM prompt before the model responds, so answers reflect your knowledge base with no perceptible added latency.
4
4
5
5
The Moss integration lives in the `main_python` control extension and is powered by the [`ten-moss`](../../packages/ten-moss) package (`MossSessionManager`).
6
6
@@ -35,9 +35,9 @@ agora_rtc ──▶ caller hears the answer
35
35
36
36
The Moss delta over the stock TEN voice assistant is small and lives in three places in `main_python`:
37
37
38
-
-`config.py` —`MainControlConfig` inherits `MossSessionConfig` (the `moss_*` properties).
39
-
-`extension.py``on_init` — opens the Moss session (`MossSessionManager.from_config(...).open()`), best-effort.
40
-
-`extension.py``_on_asr_result` —`query_context(text)` and prepends the grounding to the user's turn.
38
+
-`config.py`:`MainControlConfig` inherits `MossSessionConfig` (the `moss_*` properties).
39
+
-`extension.py``on_init`: opens the Moss session (`MossSessionManager.from_config(...).open()`), best-effort.
40
+
-`extension.py``_on_asr_result`:`query_context(text)` and prepends the grounding to the user's turn.
41
41
42
42
## Provenance
43
43
@@ -52,13 +52,13 @@ ASR handler.
52
52
53
53
## Prerequisites
54
54
55
-
- A **TEN Framework checkout**. This example references shared TEN extensions via relative paths (`../../../ten_packages/extension/...`) and runs with TEN's own tooling, so it lives **inside** a TEN Framework repo. It ships the TEN app (`tenapp/`) — not the repo-level run harness (playground / server / Taskfile / Dockerfile), which the TEN Framework provides.
56
-
- A **Moss** project (`MOSS_PROJECT_ID` / `MOSS_PROJECT_KEY`) —[moss.dev](https://moss.dev).
55
+
- A **TEN Framework checkout**. This example references shared TEN extensions via relative paths (`../../../ten_packages/extension/...`) and runs with TEN's own tooling, so it lives **inside** a TEN Framework repo. It ships the TEN app (`tenapp/`), not the repo-level run harness (playground / server / Taskfile / Dockerfile), which the TEN Framework provides.
56
+
- A **Moss** project (`MOSS_PROJECT_ID` / `MOSS_PROJECT_KEY`),[moss.dev](https://moss.dev).
0 commit comments