Releases: uezo/ChatdollKit
Releases · uezo/ChatdollKit
v0.1.12
Model
Dialog
- Enable to stop conversation while downloading Web/TTS voice #98
- Add HttpPrompter #100 See also server side SDK for Python 👉 https://github.com/uezo/chatdollkit-server-python
Others
v0.1.11
v0.1.10
Dialog
- Move ExtractIntentAsync from IntentExtractor to DialogRouter #75
- Move showing waiting animation from DialogRouter to DialogProcessor #80
- Add waiting animation function to HttpDialogProcessor
- Change interface of IDialogRouter
Model
- Set BlinkBlendShapeName automatically #76
- Trim the name of ShapeKey before evaluating whether it is a key for viseme #77
- Move setting Web/TTS voice loaders to ModelController #78
- Set default to Text-to-Speech loaders #81
Others
- Start WakeWordListener without implementing OnWakeAsync #79
v0.1.9
v0.1.8
v0.1.7
Make it easy to create DialogProcessor #64
- Add PostFormAsync to ChatdollHttp
- Add AnimatedVoiceRequest property to Response
- Create DialogProcessorBase.cs
This is the sample code of EchoDialog.
using System.Threading;
using System.Threading.Tasks;
using ChatdollKit.Dialog;
public class EchoDialog : DialogProcessorBase
{
public override async Task<Response> ProcessAsync(Request request, Context context, CancellationToken token)
{
var response = new Response(request.Id);
// Echo
response.AnimatedVoiceRequest.AddVoiceTTS(request.Text);
return response;
}
}
Improve usage of Web/TTS VoiceLoader #65
- Change the way to initialize and register Web/TTS VoiceLoaders
- Fix bug that TTSpeech engine is not selected properly in prefetching
You don't need to create instances of VoiceLoaders any more. Just append them to 3D model and configure it on inspector.
Note: Set true to IsDefault
to use the loader as the Default TTS voice loader.
Add in-memory context store and set it as the default of Chatdoll #66
In many cases user expects that the context is cleared when the application is shutdown.
Make it easy to build app with message window
- Change namespace of SimpleMessageWindow to ChatdollKit.Dialog #67
- Add default Start/Finish listening action with SimpleMessageWindow #68
Message window will be automatically shown by setting SimpleMessageWindow
to MessageWindow
on inspector of subclasses of VoiceRequestProviderBase
.
Of course you can also fully customize OnStartListening
and OnFinishListening
as ever.
v0.1.6
Add new features Camera and QRCode reader
- Add QRCodeReader feature to ChatdollCamera #58
- Add Self-timer feature to ChatdollCamera #59
- Add CameraRequestProvider and QRCodeRequestProvider #60
- Delete PhotoRequestProvider.cs #63
Improve conversation
- Make it possible to fire cancel event by WakeWordListener #61
Improve Text-to-Speech
- Make it possible to select TTS engine when you add voice #62
Note that this version include a breaking change.
- Voice:
Dictionary<string, string> TTSOptions
->TTSConfiguration TTSConfig
- The constructor of
Voice
and argument of some functions around voice inVoiceRequest
,AnimatedVoice
andAnimatedVoiceRequest
v0.1.5
Add ChatdollCamera prefab to control camera with UI. 📷
To use this feature, put ChatdollCamera prefab to hierarchy and code like below.
// Get camera
var chatdollCamera = GameObject.Find("ChatdollCamera").GetComponent<ChatdollCamera>();
// Launch camera UI
chatdollCamera.Launch("Take a photo after 3 seconds");
// Wait 3 sec
await Task.Delay(3000);
// Capture and save as a JPEG file
await chatdollCamera.CaptureAsync("/path/to/save.jpg");
// Close camera UI
chatdollCamera.Close();