This repository was archived by the owner on Apr 1, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ When you create a transcript, you can either pass in a URL to an audio file
7979or upload a file directly.
8080
8181``` java
82- import com.assemblyai.api.types.Transcript ;
82+ import com.assemblyai.api.resources.transcripts. types.Transcript ;
8383
8484// Transcribe file at remote URL
8585Transcript transcript = aai. transcripts(). transcribe(
@@ -94,7 +94,7 @@ transcript = aai.transcripts().transcribe(
9494If you don't want to wait until the transcript is ready, you can use submit:
9595
9696``` java
97- import com.assemblyai.api.types.Transcript ;
97+ import com.assemblyai.api.resources.transcripts. types.Transcript ;
9898
9999// Transcribe file at remote URL
100100Transcript transcript = aai. transcripts(). submit(
@@ -111,7 +111,7 @@ audio streams and sends data over websockets. The Realtime Transcriber
111111will take event handlers
112112
113113``` java
114- import com.assemblyai.api.Transcriber ;
114+ import com.assemblyai.api.RealtimeTranscriber ;
115115
116116RealtimeTranscriber realtime = RealtimeTranscriber . builder()
117117 .apiKey(" YOUR_API_KEY" )
@@ -135,7 +135,7 @@ method on `CreateTranscriptParameters` until you have specified the mandatory
135135audioUrl variable.
136136
137137``` java
138- import com.assemblyai.api.TranscriptParams ;
138+ import com.assemblyai.api.resources.transcripts.requests. TranscriptParams ;
139139
140140TranscriptParams params = TranscriptParams . builder()
141141 .audioUrl(" https://..." )
You can’t perform that action at this time.
0 commit comments