From 4158b8ff9ba8abf1229a4f7390c39b8ef3e71bd4 Mon Sep 17 00:00:00 2001 From: Masahiro Yamaguchi Date: Mon, 2 Jun 2025 14:47:21 +0900 Subject: [PATCH] docs: add sample scene section --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 289a7ee..6b6e810 100644 --- a/README.md +++ b/README.md @@ -81,10 +81,19 @@ difyManager.StartMicrophone(); // ... wait for user input ... AudioClip recording = difyManager.StopMicrophone(); + string transcription = await difyManager.AudioToText(recording); Debug.Log("Transcription: " + transcription); ``` +## Sample Scene + +The package includes a simple example scene that demonstrates streaming chat +via Unity Visual Scripting. After installing the package, open +`Chat Sample in streaming mode.unity` from +`Packages/com.from2001.dify-client/Samples~/Chat sample in streaming mode`. +This scene shows how to send a message and display the AI response in real time. + ## Visual Scripting Usage This package includes Visual Scripting nodes for no-code development: