Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Voice Support to Plugin Capabilities #487

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

DamienDeepgram
Copy link
Contributor

Adding Voice Capabilities to a Plugin

https://github.com/DamienDeepgram/Friend/blob/main/community-plugins.json#L49-L59

Leverages

  • Deepgram Speech to Text & Text to Speech

UI Changes

  • Mic added to chat window
  • Filter Plugins by Voice Capability
  • Show tags for Voice on Plugins list and details

New Fork of the Flutter Deepgram SDK Adding missing features for streaming

url: 'https://raw.githubusercontent.com/BasedHardware/Friend/main$pluginMarkdownPath',
// url: 'https://raw.githubusercontent.com/BasedHardware/Friend/main$pluginMarkdownPath',
// Paul Graham has speak and listen capabilities on this fork
url: 'https://raw.githubusercontent.com/DamienDeepgram/Friend/main$pluginMarkdownPath',
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is temporary for testing

@@ -129,7 +129,8 @@ Future<bool> deleteBackupApi() async {

Future<List<Plugin>> retrievePlugins() async {
var response = await makeApiCall(
url: '${Env.apiBaseUrl}v1/plugins?uid=${SharedPreferencesUtil().uid}',
// url: '${Env.apiBaseUrl}v1/plugins?uid=${SharedPreferencesUtil().uid}',
url: 'https://raw.githubusercontent.com/DamienDeepgram/Friend/main/community-plugins.json',
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is temporary for testing

deepgram_speech_to_text: ^2.1.1
deepgram_speech_to_text:
git:
url: https://github.com/DamienDeepgram/deepgram_speech_to_text.git
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is temporary for testing

PR to update the Flutter Deepgram SDK should be merged and this can be reverted
tempo-riz/deepgram_speech_to_text#13

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Waiting for this PR to go through for merging this

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@josancamon19 Flutter SDK PR got merged by the way

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated this to the 2.3.1 version of the SDK now that it has been updated

],
"voice": {
"speak": {
"model": "aura-helios-en"
Copy link
Contributor Author

@DamienDeepgram DamienDeepgram Jul 28, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"model": "aura-helios-en"
},
"listen": {
"model": "nova-2-general",
Copy link
Contributor Author

@DamienDeepgram DamienDeepgram Jul 28, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

},
"listen": {
"model": "nova-2-general",
"endpointing": 300
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Controls how long to wait before triggering response

@@ -39,7 +39,7 @@ class _PluginDetailPageState extends State<PluginDetailPage> {
getPluginMarkdown(widget.plugin.externalIntegration!.setupInstructionsFilePath).then((value) {
value = value.replaceAll(
'](assets/',
'](https://raw.githubusercontent.com/BasedHardware/Friend/main/plugins/instructions/${widget.plugin.id}/assets/',
'](https://raw.githubusercontent.com/DamienDeepgram/Friend/main/plugins/instructions/${widget.plugin.id}/assets/',
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is temporary for testing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants