@onereach/step-voice 7.0.2-initaiconversation.2 → 7.0.2-initaiconversation.4

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.
@@ -10,6 +10,14 @@ class InitAIConversation extends voice_1.default {
10
10
  enabled: true,
11
11
  engine: `openAI`,
12
12
  language: `en`,
13
+ config: {
14
+ instructions,
15
+ temperature,
16
+ modality,
17
+ threshold,
18
+ prefixPadding,
19
+ silenceDuration
20
+ }
13
21
  };
14
22
  const grammar = {
15
23
  id: this.currentStepId,
@@ -19,12 +27,6 @@ class InitAIConversation extends voice_1.default {
19
27
  name: 'init-ai-conversation',
20
28
  params: {
21
29
  grammar,
22
- instructions,
23
- temperature,
24
- modality,
25
- threshold,
26
- prefixPadding,
27
- silenceDuration
28
30
  }
29
31
  };
30
32
  const sensitiveData = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onereach/step-voice",
3
- "version": "7.0.2-initaiconversation.2",
3
+ "version": "7.0.2-initaiconversation.4",
4
4
  "author": "Roman Zolotarov <roman.zolotarov@onereach.com>",
5
5
  "contributors": [
6
6
  "Roman Zolotarov",