Skip to content

Commit

Permalink
Project import generated by Copybara.
Browse files Browse the repository at this point in the history
GitOrigin-RevId: 09438632255d8f998f287d8bb96887fbb739aa1c
  • Loading branch information
AssemblyAI authored and Swimburger committed Aug 27, 2024
1 parent ba995fc commit 1df138f
Show file tree
Hide file tree
Showing 10 changed files with 122 additions and 54 deletions.
1 change: 1 addition & 0 deletions asyncapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
},
"query": {
"type": "object",
"required": ["sample_rate"],
"properties": {
"sample_rate": {
"description": "The sample rate of the streamed audio",
Expand Down
1 change: 1 addition & 0 deletions asyncapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ channels:
type: string
query:
type: object
required: [sample_rate]
properties:
sample_rate:
description: The sample rate of the streamed audio
Expand Down
1 change: 1 addition & 0 deletions fern/.definition/lemur.yml
Original file line number Diff line number Diff line change
Expand Up @@ -500,6 +500,7 @@ types:
max_output_size:
type: optional<integer>
docs: Max output size in tokens, up to 4000
default: 2000
temperature:
type: optional<float>
docs: >
Expand Down
4 changes: 3 additions & 1 deletion fern/.definition/realtime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ channel:
display-name: Streaming Speech-to-Text
query-parameters:
sample_rate:
type: optional<integer>
type: integer
docs: The sample rate of the streamed audio
word_boost:
type: optional<string>
Expand Down Expand Up @@ -383,3 +383,5 @@ channel:
- type: subscribe
body:
message_type: SessionTerminated
query-parameters:
sample_rate: 1
39 changes: 28 additions & 11 deletions fern/.definition/transcripts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1814,6 +1814,7 @@ types:
Enable [Automatic language
detection](https://www.assemblyai.com/docs/models/speech-recognition#automatic-language-detection),
either true or false.
default: false
language_confidence_threshold:
type: optional<float>
docs: >
Expand All @@ -1827,27 +1828,33 @@ types:
punctuate:
type: optional<boolean>
docs: Enable Automatic Punctuation, can be true or false
default: true
format_text:
type: optional<boolean>
docs: Enable Text Formatting, can be true or false
default: true
disfluencies:
type: optional<boolean>
docs: >-
Transcribe Filler Words, like "umm", in your media file; can be true
or false
default: false
dual_channel:
type: optional<boolean>
docs: >-
Enable [Dual
Channel](https://www.assemblyai.com/docs/models/speech-recognition#dual-channel-transcription)
transcription, can be true or false.
default: false
webhook_url:
type: optional<string>
docs: >-
The URL to which we send webhook requests. We sends two different
types of webhook requests. One request when a transcript is completed
or failed, and one request when the redacted audio is ready if
redact_pii_audio is enabled.
docs: >
The URL to which we send webhook requests.
We sends two different types of webhook requests.
One request when a transcript is completed or failed, and one request
when the redacted audio is ready if redact_pii_audio is enabled.
webhook_auth_header_name:
type: optional<string>
docs: >-
Expand All @@ -1861,6 +1868,7 @@ types:
auto_highlights:
type: optional<boolean>
docs: Enable Key Phrases, either true or false
default: false
audio_start_from:
type: optional<integer>
docs: >-
Expand All @@ -1880,18 +1888,21 @@ types:
filter_profanity:
type: optional<boolean>
docs: Filter profanity from the transcribed text, can be true or false
default: false
redact_pii:
type: optional<boolean>
docs: >-
Redact PII from the transcribed text using the Redact PII model, can
be true or false
default: false
redact_pii_audio:
type: optional<boolean>
docs: >-
Generate a copy of the original media file with spoken PII "beeped"
out, can be true or false. See [PII
redaction](https://www.assemblyai.com/docs/models/pii-redaction) for
more details.
default: false
redact_pii_audio_quality:
type: optional<RedactPiiAudioQuality>
docs: >-
Expand All @@ -1912,6 +1923,7 @@ types:
Enable [Speaker
diarization](https://www.assemblyai.com/docs/models/speaker-diarization),
can be true or false
default: false
speakers_expected:
type: optional<integer>
docs: >-
Expand All @@ -1925,17 +1937,23 @@ types:
Enable [Content
Moderation](https://www.assemblyai.com/docs/models/content-moderation),
can be true or false
default: false
content_safety_confidence:
type: optional<integer>
docs: >-
The confidence threshold for the Content Moderation model. Values must
be between 25 and 100.
default: 50
validation:
min: 25
max: 100
iab_categories:
type: optional<boolean>
docs: >-
Enable [Topic
Detection](https://www.assemblyai.com/docs/models/topic-detection),
can be true or false
default: false
custom_spelling:
type: optional<list<TranscriptCustomSpelling>>
docs: Customize how words are spelled and formatted using to and from values
Expand All @@ -1945,18 +1963,21 @@ types:
Enable [Sentiment
Analysis](https://www.assemblyai.com/docs/models/sentiment-analysis),
can be true or false
default: false
auto_chapters:
type: optional<boolean>
docs: >-
Enable [Auto
Chapters](https://www.assemblyai.com/docs/models/auto-chapters), can
be true or false
default: false
entity_detection:
type: optional<boolean>
docs: >-
Enable [Entity
Detection](https://www.assemblyai.com/docs/models/entity-detection),
can be true or false
default: false
speech_threshold:
type: optional<float>
docs: |
Expand All @@ -1968,6 +1989,7 @@ types:
Enable
[Summarization](https://www.assemblyai.com/docs/models/summarization),
can be true or false
default: false
summary_model:
type: optional<SummaryModel>
docs: The model to summarize the transcript
Expand All @@ -1977,6 +1999,7 @@ types:
custom_topics:
type: optional<boolean>
docs: Enable custom topics, either true or false
default: false
topics:
type: optional<list<string>>
docs: The list of custom topics
Expand All @@ -1988,7 +2011,6 @@ types:
- conversational
- catchy
docs: The model to summarize the transcript
default: informative
source:
openapi: ../openapi.yml
SummaryType:
Expand All @@ -1999,7 +2021,6 @@ types:
- headline
- paragraph
docs: The type of summary
default: bullets
source:
openapi: ../openapi.yml
TranscriptBoostParam:
Expand Down Expand Up @@ -2079,7 +2100,6 @@ types:
supports mp3 (default) and wav. See [PII
redaction](https://www.assemblyai.com/docs/models/pii-redaction) for more
details.
default: mp3
source:
openapi: ../openapi.yml
PiiPolicy:
Expand Down Expand Up @@ -2334,7 +2354,6 @@ types:
Languages](https://www.assemblyai.com/docs/concepts/supported-languages).
The default value is 'en_us'.
default: en_us
source:
openapi: ../openapi.yml
TranscriptStatus:
Expand Down Expand Up @@ -2399,8 +2418,6 @@ types:
An error will be returned if the language confidence is below this
threshold.
Defaults to 0.
language_confidence:
type: optional<double>
docs: >-
Expand Down
2 changes: 1 addition & 1 deletion fern/fern.config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"organization": "assemblyai",
"version": "0.39.10"
"version": "0.39.19"
}
4 changes: 2 additions & 2 deletions fern/generators.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ groups:
path: ../postman
ruby-sdk:
generators:
- name: fernapi/fern-ruby-sdk
- name: fernapi/fern-ruby-sdk
version: 0.6.3
github:
repository: AssemblyAI/assemblyai-ruby-sdk
Expand All @@ -29,7 +29,7 @@ groups:
csharp-sdk:
generators:
- name: fernapi/fern-csharp-sdk
version: 1.3.0
version: 1.1.0
output:
location: nuget
package-name: AssemblyAI
Expand Down
Loading

0 comments on commit 1df138f

Please sign in to comment.