Skip to content
This repository was archived by the owner on Apr 1, 2025. It is now read-only.

Commit 4c2fb19

Browse files
authored
Merge pull request #62 from AssemblyAI/fern-bot/02-03-2025-1053AM
🌿 Fern Regeneration -- February 3, 2025
2 parents 682dd91 + e680e22 commit 4c2fb19

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

reference.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -298,9 +298,9 @@ Export your transcript in SRT or VTT format to use with a video player for subti
298298

299299
```csharp
300300
await client.Transcripts.GetSubtitlesAsync(
301-
"string",
301+
"transcript_id",
302302
SubtitleFormat.Srt,
303-
new GetSubtitlesParams { CharsPerCaption = 1 }
303+
new GetSubtitlesParams()
304304
);
305305
```
306306
</dd>
@@ -479,7 +479,7 @@ Search through the transcript for keywords. You can search for individual words,
479479
<dd>
480480

481481
```csharp
482-
await client.Transcripts.WordSearchAsync("string", new WordSearchParams { Words = ["string"] });
482+
await client.Transcripts.WordSearchAsync("transcript_id", new WordSearchParams());
483483
```
484484
</dd>
485485
</dl>

src/AssemblyAI/AssemblyAI.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<ImplicitUsings>enable</ImplicitUsings>
77
<LangVersion>12</LangVersion>
88
<Nullable>enable</Nullable>
9-
<Version>1.2.1</Version>
9+
<Version>1.2.2</Version>
1010
<AssemblyVersion>$(Version)</AssemblyVersion>
1111
<FileVersion>$(Version)</FileVersion>
1212
<PackageReadmeFile>README.md</PackageReadmeFile>

src/AssemblyAI/Core/Public/Version.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ namespace AssemblyAI;
22

33
internal class Version
44
{
5-
public const string Current = "1.2.1";
5+
public const string Current = "1.2.2";
66
}

src/AssemblyAI/Transcripts/TranscriptsClient.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -280,9 +280,9 @@ public async Task<Transcript> DeleteAsync(
280280
/// <example>
281281
/// <code>
282282
/// await client.Transcripts.GetSubtitlesAsync(
283-
/// "string",
283+
/// "transcript_id",
284284
/// SubtitleFormat.Srt,
285-
/// new GetSubtitlesParams { CharsPerCaption = 1 }
285+
/// new GetSubtitlesParams()
286286
/// );
287287
/// </code>
288288
/// </example>
@@ -303,7 +303,7 @@ public async Task<string> GetSubtitlesAsync(
303303
new RawClient.JsonApiRequest
304304
{
305305
BaseUrl = _client.Options.BaseUrl,
306-
Method = HttpMethod.Get,
306+
Method = HttpMethod.Get,
307307
Path = $"v2/transcript/{transcriptId}/{subtitleFormat.Stringify()}",
308308
Query = _query,
309309
Options = options,
@@ -415,7 +415,7 @@ public async Task<ParagraphsResponse> GetParagraphsAsync(
415415
/// </summary>
416416
/// <example>
417417
/// <code>
418-
/// await client.Transcripts.WordSearchAsync("string", new WordSearchParams { Words = ["string"] });
418+
/// await client.Transcripts.WordSearchAsync("transcript_id", new WordSearchParams());
419419
/// </code>
420420
/// </example>
421421
public async Task<WordSearchResponse> WordSearchAsync(

src/AssemblyAI/Transcripts/Types/Transcript.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ public record Transcript
6969
public IEnumerable<TranscriptWord>? Words { get; set; }
7070

7171
/// <summary>
72-
/// When dual_channel or speaker_labels is enabled, a list of turn-by-turn utterance objects.
73-
/// See [Speaker diarization](https://www.assemblyai.com/docs/models/speaker-diarization) for more information.
72+
/// When multichannel or speaker_labels is enabled, a list of turn-by-turn utterance objects.
73+
/// See [Speaker diarization](https://www.assemblyai.com/docs/speech-to-text/speaker-diarization) and [Multichannel transcription](https://www.assemblyai.com/docs/speech-to-text/speech-recognition#multichannel-transcription) for more information.
7474
/// </summary>
7575
[JsonPropertyName("utterances")]
7676
public IEnumerable<TranscriptUtterance>? Utterances { get; set; }

0 commit comments

Comments
 (0)