Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ docs/RbmWebViewEnum.md
docs/RecordingAvailableCallback.md
docs/RecordingCompleteCallback.md
docs/RecordingStateEnum.md
docs/RecordingTranscriptionClip.md
docs/RecordingTranscriptionMetadata.md
docs/RecordingTranscriptions.md
docs/RecordingsApi.md
Expand Down Expand Up @@ -407,6 +408,7 @@ src/main/java/com/bandwidth/sdk/model/RbmWebViewEnum.java
src/main/java/com/bandwidth/sdk/model/RecordingAvailableCallback.java
src/main/java/com/bandwidth/sdk/model/RecordingCompleteCallback.java
src/main/java/com/bandwidth/sdk/model/RecordingStateEnum.java
src/main/java/com/bandwidth/sdk/model/RecordingTranscriptionClip.java
src/main/java/com/bandwidth/sdk/model/RecordingTranscriptionMetadata.java
src/main/java/com/bandwidth/sdk/model/RecordingTranscriptions.java
src/main/java/com/bandwidth/sdk/model/RedirectCallback.java
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,7 @@ Class | Method | HTTP request | Description
- [RecordingAvailableCallback](docs/RecordingAvailableCallback.md)
- [RecordingCompleteCallback](docs/RecordingCompleteCallback.md)
- [RecordingStateEnum](docs/RecordingStateEnum.md)
- [RecordingTranscriptionClip](docs/RecordingTranscriptionClip.md)
- [RecordingTranscriptionMetadata](docs/RecordingTranscriptionMetadata.md)
- [RecordingTranscriptions](docs/RecordingTranscriptions.md)
- [RedirectCallback](docs/RedirectCallback.md)
Expand Down
73 changes: 66 additions & 7 deletions api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12086,15 +12086,73 @@ components:
recordingTranscriptions:
example:
transcripts:
- confidence: 0.9
text: "Nice talking to you, friend!"
- confidence: 0.9
text: "Nice talking to you, friend!"
- speaker: 0
text: "Hi, is Thursday at two still good for you? Perfect, talk soon."
confidence: 0.96
- speaker: 1
text: "Yes, that works great. See you then! Sounds good, bye!"
confidence: 0.97
clips:
- speaker: 0
text: "Hi, is Thursday at two still good for you?"
confidence: 0.97
startTimeSeconds: 0.4
endTimeSeconds: 3.1
- speaker: 1
text: "Yes, that works great. See you then!"
confidence: 0.95
startTimeSeconds: 3.8
endTimeSeconds: 6.2
- speaker: 0
text: "Perfect, talk soon."
confidence: 0.94
startTimeSeconds: 6.9
endTimeSeconds: 8.1
- speaker: 1
text: "Sounds good, bye!"
confidence: 0.98
startTimeSeconds: 8.5
endTimeSeconds: 9.7
properties:
transcripts:
items:
$ref: "#/components/schemas/transcription"
type: array
clips:
description: "A list of individual speech clips with speaker, timing, and\
\ confidence information."
items:
$ref: "#/components/schemas/recordingTranscriptionClip"
type: array
type: object
recordingTranscriptionClip:
properties:
speaker:
description: Zero-based index identifying the speaker.
example: 0
type: integer
text:
description: The transcribed text of this clip.
example: "Hi there, thanks for calling!"
type: string
confidence:
description: How confident the transcription engine was in transcribing
this clip (from `0.0` to `1.0`).
example: 0.85
format: double
maximum: 1
minimum: 0
type: number
startTimeSeconds:
description: "The start time of this clip within the recording, in seconds."
example: 2.3
format: double
type: number
endTimeSeconds:
description: "The end time of this clip within the recording, in seconds."
example: 3.1
format: double
type: number
type: object
callTranscriptionMetadataList:
example:
Expand Down Expand Up @@ -14185,10 +14243,11 @@ components:
type: string
type: object
transcription:
example:
confidence: 0.9
text: "Nice talking to you, friend!"
properties:
speaker:
description: Zero-based index identifying the speaker.
example: 0
type: integer
text:
description: The transcribed text
example: "Nice talking to you, friend!"
Expand Down
70 changes: 70 additions & 0 deletions bandwidth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4354,6 +4354,72 @@ components:
type: array
items:
$ref: '#/components/schemas/transcription'
clips:
type: array
description: >-
A list of individual speech clips with speaker, timing, and
confidence information.
items:
$ref: '#/components/schemas/recordingTranscriptionClip'
example:
transcripts:
- speaker: 0
text: Hi, is Thursday at two still good for you? Perfect, talk soon.
confidence: 0.96
- speaker: 1
text: Yes, that works great. See you then! Sounds good, bye!
confidence: 0.97
clips:
- speaker: 0
text: Hi, is Thursday at two still good for you?
confidence: 0.97
startTimeSeconds: 0.4
endTimeSeconds: 3.1
- speaker: 1
text: Yes, that works great. See you then!
confidence: 0.95
startTimeSeconds: 3.8
endTimeSeconds: 6.2
- speaker: 0
text: Perfect, talk soon.
confidence: 0.94
startTimeSeconds: 6.9
endTimeSeconds: 8.1
- speaker: 1
text: Sounds good, bye!
confidence: 0.98
startTimeSeconds: 8.5
endTimeSeconds: 9.7
recordingTranscriptionClip:
type: object
properties:
speaker:
type: integer
description: Zero-based index identifying the speaker.
example: 0
text:
type: string
description: The transcribed text of this clip.
example: Hi there, thanks for calling!
confidence:
type: number
format: double
minimum: 0
maximum: 1
description: >-
How confident the transcription engine was in transcribing this clip
(from `0.0` to `1.0`).
example: 0.85
startTimeSeconds:
type: number
format: double
description: The start time of this clip within the recording, in seconds.
example: 2.3
endTimeSeconds:
type: number
format: double
description: The end time of this clip within the recording, in seconds.
example: 3.1
callTranscriptionMetadataList:
type: array
items:
Expand Down Expand Up @@ -5480,6 +5546,10 @@ components:
transcription:
type: object
properties:
speaker:
type: integer
description: Zero-based index identifying the speaker.
example: 0
text:
type: string
description: The transcribed text
Expand Down
17 changes: 17 additions & 0 deletions docs/RecordingTranscriptionClip.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@


# RecordingTranscriptionClip


## Properties

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**speaker** | **Integer** | Zero-based index identifying the speaker. | [optional] |
|**text** | **String** | The transcribed text of this clip. | [optional] |
|**confidence** | **Double** | How confident the transcription engine was in transcribing this clip (from `0.0` to `1.0`). | [optional] |
|**startTimeSeconds** | **Double** | The start time of this clip within the recording, in seconds. | [optional] |
|**endTimeSeconds** | **Double** | The end time of this clip within the recording, in seconds. | [optional] |



1 change: 1 addition & 0 deletions docs/RecordingTranscriptions.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**transcripts** | [**List<Transcription>**](Transcription.md) | | [optional] |
|**clips** | [**List<RecordingTranscriptionClip>**](RecordingTranscriptionClip.md) | A list of individual speech clips with speaker, timing, and confidence information. | [optional] |



1 change: 1 addition & 0 deletions docs/Transcription.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**speaker** | **Integer** | Zero-based index identifying the speaker. | [optional] |
|**text** | **String** | The transcribed text | [optional] |
|**confidence** | **Double** | The confidence on the recognized content, ranging from `0.0` to `1.0` with `1.0` being the highest confidence. | [optional] |

Expand Down
1 change: 1 addition & 0 deletions src/main/java/com/bandwidth/sdk/JSON.java
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,7 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, Stri
gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.RbmSuggestionResponse.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.RecordingAvailableCallback.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.RecordingCompleteCallback.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.RecordingTranscriptionClip.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.RecordingTranscriptionMetadata.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.RecordingTranscriptions.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.RedirectCallback.CustomTypeAdapterFactory());
Expand Down
Loading