Skip to content

Commit

Permalink
Project import generated by Copybara. (#43)
Browse files Browse the repository at this point in the history
GitOrigin-RevId: cabcc2ede137b0d0a3367a6dafe491ad067ad125

Co-authored-by: AssemblyAI <[email protected]>
  • Loading branch information
Swimburger and AssemblyAI committed Jan 19, 2024
1 parent b8e7f92 commit 96d2a26
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 19 deletions.
13 changes: 3 additions & 10 deletions asyncapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -411,17 +411,10 @@ components:
{ start: 7300, end: 7335, confidence: 0.99, text: "I" },
]
AudioData:
type: object
type: string
format: binary
description: Binary audio data
x-fern-sdk-group-name: realtime
required:
- audio_data
properties:
audio_data:
description: Base64 encoded raw audio data
type: string
additionalProperties: false
examples:
- { audio_data: "Je8w9JH1hfh1+7EAeQYJCC0JbQkxB70Apv0J/GT5APjA9jX1v/..." }
TerminateSession:
x-fern-sdk-group-name: realtime
allOf:
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.16.33"
}
}
12 changes: 6 additions & 6 deletions fern/openapi-overrides.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
components:
schemas:
LemurBaseParams:
properties:
final_model:
$ref: '#/components/schemas/LemurModel'
components:
schemas:
LemurBaseParams:
properties:
final_model:
$ref: '#/components/schemas/LemurModel'
27 changes: 25 additions & 2 deletions openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -950,8 +950,8 @@ components:

redact_pii_audio_quality:
description: Controls the filetype of the audio created by redact_pii_audio. Currently supports mp3 (default) and wav. See [PII redaction](https://www.assemblyai.com/docs/models/pii-redaction) for more details.
type: string
default: mp3
$ref: "#/components/schemas/RedactPiiAudioQuality"

redact_pii_policies:
description: The list of PII Redaction policies to enable. See [PII redaction](https://www.assemblyai.com/docs/models/pii-redaction) for more details.
Expand Down Expand Up @@ -1345,6 +1345,17 @@ components:
- entity_type
- hash

RedactPiiAudioQuality:
type: string
description: Controls the filetype of the audio created by redact_pii_audio. Currently supports mp3 (default) and wav. See [PII redaction](https://www.assemblyai.com/docs/models/pii-redaction) for more details.
x-fern-sdk-group-name: transcripts
default: mp3
enum:
- mp3
- wav
example:
"mp3"

PiiPolicy:
type: string
x-fern-sdk-group-name: transcripts
Expand Down Expand Up @@ -1574,7 +1585,9 @@ components:
description: |
The audio quality of the PII-redacted audio file, if redact_pii_audio is enabled.
See [PII redaction](https://www.assemblyai.com/docs/models/pii-redaction) for more information.
type: [string, "null"]
oneOf:
- $ref: "#/components/schemas/RedactPiiAudioQuality"
- type: "null"

redact_pii_policies:
description: |
Expand Down Expand Up @@ -3924,10 +3937,20 @@ components:
x-fern-sdk-group-name: lemur
allOf:
- $ref: "#/components/schemas/LemurBaseParams"
- type: object
additionalProperties: false
properties:
answer_format:
description: |
How you want the action items to be returned. This can be any text.
Defaults to "Bullet Points".
type: string
default: Bullet Points
example:
{
transcript_ids: ["64nygnr62k-405c-4ae8-8a6b-d90b40ff3cce"],
context: "This is an interview about wildfires.",
answer_format: "Bullet Points",
final_model: "default",
temperature: 0,
max_output_size: 3000,
Expand Down

0 comments on commit 96d2a26

Please sign in to comment.