videosdk-plugins-assemblyai 0.0.31__tar.gz → 0.0.32__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of videosdk-plugins-assemblyai might be problematic. Click here for more details.

@@ -2,13 +2,12 @@ myenv/
2
2
  venv/
3
3
  env/
4
4
  __pycache__/
5
-
5
+ .venv/
6
6
  .env
7
7
  .env.local
8
8
  test_env/
9
9
  dist/
10
10
  .DS_Store
11
-
12
11
  node_modules/
13
12
  credentials.json
14
13
  .Python
@@ -16,3 +15,5 @@ build/
16
15
  eggs/
17
16
  sdist/
18
17
  wheels/
18
+ docs/
19
+ agent-sdk-reference/
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: videosdk-plugins-assemblyai
3
- Version: 0.0.31
3
+ Version: 0.0.32
4
4
  Summary: VideoSDK Agent Framework plugin for AssemblyAI
5
5
  Author: videosdk
6
6
  License-Expression: Apache-2.0
@@ -13,7 +13,7 @@ Classifier: Topic :: Multimedia :: Video
13
13
  Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
14
14
  Requires-Python: >=3.11
15
15
  Requires-Dist: aiohttp
16
- Requires-Dist: videosdk-agents>=0.0.31
16
+ Requires-Dist: videosdk-agents>=0.0.32
17
17
  Description-Content-Type: text/markdown
18
18
 
19
19
  # VideoSDK Assembly AI Plugin
@@ -20,7 +20,7 @@ classifiers = [
20
20
  "Topic :: Multimedia :: Video",
21
21
  "Topic :: Scientific/Engineering :: Artificial Intelligence",
22
22
  ]
23
- dependencies = ["videosdk-agents>=0.0.31","aiohttp"]
23
+ dependencies = ["videosdk-agents>=0.0.32","aiohttp"]
24
24
 
25
25
  [tool.hatch.version]
26
26
  path = "videosdk/plugins/assemblyai/version.py"
@@ -20,10 +20,6 @@ except ImportError:
20
20
  logger = logging.getLogger(__name__)
21
21
 
22
22
  class AssemblyAISTT(BaseSTT):
23
- """
24
- VideoSDK Agent Framework STT plugin for AssemblyAI Streaming API.
25
- Real-time speech-to-text using WebSocket connection.
26
- """
27
23
 
28
24
  def __init__(
29
25
  self,
@@ -37,6 +33,18 @@ class AssemblyAISTT(BaseSTT):
37
33
  min_end_of_turn_silence_when_confident: int = 800,
38
34
  max_turn_silence: int = 2000,
39
35
  ) -> None:
36
+ """Initialize the AssemblyAI STT plugin.
37
+
38
+ Args:
39
+ api_key (str | None, optional): AssemblyAI API key. Uses ASSEMBLYAI_API_KEY environment variable if not provided. Defaults to None.
40
+ input_sample_rate (int): The input sample rate to use for the STT plugin. Defaults to 48000.
41
+ target_sample_rate (int): The target sample rate to use for the STT plugin. Defaults to 16000.
42
+ format_turns (bool): Whether to format turns. Defaults to True.
43
+ word_boost (list[str] | None, optional): The word boost to use for the STT plugin. Defaults to None.
44
+ end_of_turn_confidence_threshold (float): The end of turn confidence threshold to use for the STT plugin. Defaults to 0.5.
45
+ min_end_of_turn_silence_when_confident (int): The minimum end of turn silence when confident to use for the STT plugin. Defaults to 800.
46
+ max_turn_silence (int): The maximum turn silence to use for the STT plugin. Defaults to 2000.
47
+ """
40
48
  super().__init__()
41
49
 
42
50
  if not SCIPY_AVAILABLE:
@@ -0,0 +1 @@
1
+ __version__ = "0.0.32"
@@ -1 +0,0 @@
1
- __version__ = "0.0.31"