From dd93bedd0e4990eee6fd0029682cbc23ad884188 Mon Sep 17 00:00:00 2001
From: Hoan Luu Huu <110280845+xquanluu@users.noreply.github.com>
Date: Wed, 1 Nov 2023 19:03:24 +0700
Subject: [PATCH] Feat/assemblyai (#340)
* feat assembly ai
* feat assembly ai
---
.../internal/views/speech-services/form.tsx | 4 +++
src/vendor/index.tsx | 8 ++++++
.../assemblyai-speech-recognizer-lang.ts | 26 +++++++++++++++++++
src/vendor/types.ts | 4 ++-
4 files changed, 41 insertions(+), 1 deletion(-)
create mode 100644 src/vendor/speech-recognizer/assemblyai-speech-recognizer-lang.ts
diff --git a/src/containers/internal/views/speech-services/form.tsx b/src/containers/internal/views/speech-services/form.tsx
index c03a04f..34beb3c 100644
--- a/src/containers/internal/views/speech-services/form.tsx
+++ b/src/containers/internal/views/speech-services/form.tsx
@@ -37,6 +37,7 @@ import {
VENDOR_CUSTOM,
VENDOR_COBALT,
VENDOR_ELEVENLABS,
+ VENDOR_ASSEMBLYAI,
} from "src/vendor";
import { MSG_REQUIRED_FIELDS } from "src/constants";
import {
@@ -313,6 +314,7 @@ export const SpeechServiceForm = ({ credential }: SpeechServiceFormProps) => {
vendor === VENDOR_MICROSOFT ||
vendor === VENDOR_WELLSAID ||
vendor === VENDOR_DEEPGRAM ||
+ vendor === VENDOR_ASSEMBLYAI ||
vendor === VENDOR_SONIOX ||
vendor === VENDOR_ELEVENLABS
? apiKey
@@ -603,6 +605,7 @@ export const SpeechServiceForm = ({ credential }: SpeechServiceFormProps) => {
{vendor && (