@copilotkit/voice 1.51.4-next.7 → 1.51.4-next.8

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @copilotkit/voice
2
2
 
3
+ ## 1.51.4-next.8
4
+
5
+ ### Patch Changes
6
+
7
+ - @copilotkitnext/runtime@1.51.4-next.8
8
+
3
9
  ## 1.51.4-next.7
4
10
 
5
11
  ### Patch Changes
package/README.md CHANGED
@@ -29,11 +29,11 @@ Uses [OpenAI Whisper](https://platform.openai.com/docs/guides/speech-to-text) fo
29
29
 
30
30
  ```typescript
31
31
  new TranscriptionServiceOpenAI({
32
- openai: new OpenAI({ apiKey: "..." }), // required
33
- model: "whisper-1", // default
34
- language: "en", // optional, ISO-639-1 code
35
- prompt: "Technical discussion context", // optional, helps with domain terms
36
- temperature: 0, // optional, 0 = deterministic
32
+ openai: new OpenAI({ apiKey: "..." }), // required
33
+ model: "whisper-1", // default
34
+ language: "en", // optional, ISO-639-1 code
35
+ prompt: "Technical discussion context", // optional, helps with domain terms
36
+ temperature: 0, // optional, 0 = deterministic
37
37
  });
38
38
  ```
39
39
 
@@ -42,7 +42,10 @@ new TranscriptionServiceOpenAI({
42
42
  Extend `TranscriptionService` from runtime:
43
43
 
44
44
  ```typescript
45
- import { TranscriptionService, TranscribeFileOptions } from "@copilotkitnext/runtime";
45
+ import {
46
+ TranscriptionService,
47
+ TranscribeFileOptions,
48
+ } from "@copilotkitnext/runtime";
46
49
 
47
50
  class MyTranscriptionService extends TranscriptionService {
48
51
  async transcribeFile(options: TranscribeFileOptions): Promise<string> {