Chatdollkit

Latest version: v0.1.2

Safety actively analyzes 622882 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 3

0.1.7

Make it easy to create DialogProcessor 64

- Add PostFormAsync<TResponse> to ChatdollHttp
- Add AnimatedVoiceRequest property to Response
- Create DialogProcessorBase.cs

This is the sample code of EchoDialog.

Csharp
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.

0.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 in `VoiceRequest`, `AnimatedVoice` and `AnimatedVoiceRequest`

0.1.5

Add ChatdollCamera prefab to control camera with UI. 📷
To use this feature, put ChatdollCamera prefab to hierarchy and code like below.

Csharp
// 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();

0.1.4

- Make it extremely easy to setup Animator. Just select `Setup Animator` then automatically create AnimatorController, add layers, put clips on base or added layers and set the controller to animator.

0.1.3

- Fix the bug that chat process exits without saving context and updating some properties when request is not set
- Make it possible to change timeout value of ChatdollHttp

0.1.2

- Improve stability of WakeWordListener and VoiceRequestProvider
- Add support for CancelWord to stop conversation when Chatdoll is waiting for user's voice request
- Add support for prefetching audio clip of voice from web / Text-to-Speech service

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.