Skip to content

Commit

Permalink
Project import generated by Copybara.
Browse files Browse the repository at this point in the history
GitOrigin-RevId: 913d0b362aba72017b2029a09561fa11afb48639
  • Loading branch information
AssemblyAI authored and Swimburger committed Oct 8, 2024
1 parent 8c65775 commit 517c5ba
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 41 deletions.
24 changes: 7 additions & 17 deletions fern/.definition/transcripts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,11 @@ service:
status: error
created: "2024-03-11T21:23:59Z"
completed: "2024-01-15T09:30:00Z"
audio_url: https://storage.googleapis.com/client-docs-samples/nbc.mp3
audio_url: >-
https://storage.googleapis.com/client-docs-samples/nbc.oopsie
error: >-
Download error, unable to download
https://storage.googleapis.com/client-docs-samples/nbc.mp3.
https://storage.googleapis.com/client-docs-samples/nbc.oopsie.
Please make sure the file exists and is accessible from the
internet.
- id: 28a73d01-98db-41dd-9e98-2533ba0af117
Expand All @@ -86,7 +87,7 @@ service:
status: completed
created: "2024-03-11T21:12:57Z"
completed: "2024-03-11T21:13:03Z"
audio_url: https://storage.googleapis.com/aai-docs-samples/nbc.mp3
audio_url: https://assembly.ai/nbc.mp3
error: error
submit:
path: /v2/transcript
Expand Down Expand Up @@ -160,13 +161,11 @@ service:
custom_topics: true
topics:
- topics
audio_url: >-
https://github.com/AssemblyAI-Examples/audio-examples/raw/main/20230607_me_canadian_wildfires.mp3
audio_url: https://assembly.ai/wildfires.mp3
response:
body:
id: 9ea68fd3-f953-42c1-9742-976c447fb463
audio_url: >-
https://github.com/AssemblyAI-Examples/audio-examples/raw/main/20230607_me_canadian_wildfires.mp3
audio_url: https://assembly.ai/wildfires.mp3
status: completed
language_code: en_us
language_detection: true
Expand Down Expand Up @@ -792,8 +791,7 @@ service:
response:
body:
id: 9ea68fd3-f953-42c1-9742-976c447fb463
audio_url: >-
https://github.com/AssemblyAI-Examples/audio-examples/raw/main/20230607_me_canadian_wildfires.mp3
audio_url: https://assembly.ai/wildfires.mp3
status: completed
language_code: en_us
language_detection: true
Expand Down Expand Up @@ -1616,7 +1614,6 @@ service:
start: 1498
end: 1646
text: of
speaker: speaker
- text: >-
Good morning. So what is it about the conditions right now
that have caused this round of wildfires to affect so many
Expand All @@ -1643,7 +1640,6 @@ service:
start: 29290
end: 29702
text: So
speaker: speaker
wordSearch:
path: /v2/transcript/{transcript_id}/word-search
method: GET
Expand Down Expand Up @@ -3131,12 +3127,6 @@ types:
min: 0
max: 1
words: list<TranscriptWord>
speaker:
type: optional<string>
docs: >-
The speaker of the sentence if [Speaker
Diarization](https://www.assemblyai.com/docs/models/speaker-diarization)
is enabled, else null
source:
openapi: ../openapi.yml
ParagraphsResponse:
Expand Down
2 changes: 1 addition & 1 deletion fern/generators.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ groups:
java-sdk:
generators:
- name: fernapi/fern-java-sdk
version: 2.2.0
version: 1.0.4
output:
location: maven
coordinate: com.assemblyai:assemblyai-java
Expand Down
19 changes: 7 additions & 12 deletions openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"info": {
"title": "AssemblyAI API",
"description": "AssemblyAI API",
"version": "1.3.2",
"version": "1.3.3",
"termsOfService": "https://www.assemblyai.com/legal/terms-of-service",
"contact": {
"name": "API Support",
Expand Down Expand Up @@ -1928,7 +1928,7 @@
"language_code": "en_us",
"language_detection": true,
"language_confidence_threshold": 0.7,
"audio_url": "https://github.com/AssemblyAI-Examples/audio-examples/raw/main/20230607_me_canadian_wildfires.mp3",
"audio_url": "https://assembly.ai/wildfires.mp3",
"punctuate": true,
"format_text": true,
"dual_channel": true,
Expand Down Expand Up @@ -3502,7 +3502,7 @@
"language_confidence_threshold": 0.7,
"language_confidence": 0.9959,
"status": "completed",
"audio_url": "https://github.com/AssemblyAI-Examples/audio-examples/raw/main/20230607_me_canadian_wildfires.mp3",
"audio_url": "https://assembly.ai/wildfires.mp3",
"text": "Smoke from hundreds of wildfires in Canada is triggering air quality alerts throughout the US. Skylines from Maine to Maryland to Minnesota are gray and smoggy. And in some places, the air quality warnings include the warning to stay inside. We wanted to better understand what's happening here and why, so we called Peter de Carlo, an associate professor in the Department of Environmental Health and Engineering at Johns Hopkins University Varsity. Good morning, professor. Good morning. What is it about the conditions right now that have caused this round of wildfires to affect so many people so far away? Well, there's a couple of things. The season has been pretty dry already. And then the fact that we're getting hit in the US. Is because there's a couple of weather systems that are essentially channeling the smoke from those Canadian wildfires through Pennsylvania into the Mid Atlantic and the Northeast and kind of just dropping the smoke there. So what is it in this haze that makes it harmful? And I'm assuming it is harmful. It is. The levels outside right now in Baltimore are considered unhealthy. And most of that is due to what's called particulate matter, which are tiny particles, microscopic smaller than the width of your hair that can get into your lungs and impact your respiratory system, your cardiovascular system, and even your neurological your brain. What makes this particularly harmful? Is it the volume of particulant? Is it something in particular? What is it exactly? Can you just drill down on that a little bit more? Yeah. So the concentration of particulate matter I was looking at some of the monitors that we have was reaching levels of what are, in science, big 150 micrograms per meter cubed, which is more than ten times what the annual average should be and about four times higher than what you're supposed to have on a 24 hours average. And so the concentrations of these particles in the air are just much, much higher than we typically see. And exposure to those high levels can lead to a host of health problems. And who is most vulnerable? I noticed that in New York City, for example, they're canceling outdoor activities. And so here it is in the early days of summer, and they have to keep all the kids inside. So who tends to be vulnerable in a situation like this? It's the youngest. So children, obviously, whose bodies are still developing. The elderly, who are their bodies are more in decline and they're more susceptible to the health impacts of breathing, the poor air quality. And then people who have preexisting health conditions, people with respiratory conditions or heart conditions can be triggered by high levels of air pollution. Could this get worse? That's a good question. In some areas, it's much worse than others. And it just depends on kind of where the smoke is concentrated. I think New York has some of the higher concentrations right now, but that's going to change as that air moves away from the New York area. But over the course of the next few days, we will see different areas being hit at different times with the highest concentrations. I was going to ask you about more fires start burning. I don't expect the concentrations to go up too much higher. I was going to ask you how and you started to answer this, but how much longer could this last? Or forgive me if I'm asking you to speculate, but what do you think? Well, I think the fires are going to burn for a little bit longer, but the key for us in the US. Is the weather system changing. And so right now, it's kind of the weather systems that are pulling that air into our mid Atlantic and Northeast region. As those weather systems change and shift, we'll see that smoke going elsewhere and not impact us in this region as much. And so I think that's going to be the defining factor. And I think the next couple of days we're going to see a shift in that weather pattern and start to push the smoke away from where we are. And finally, with the impacts of climate change, we are seeing more wildfires. Will we be seeing more of these kinds of wide ranging air quality consequences or circumstances? I mean, that is one of the predictions for climate change. Looking into the future, the fire season is starting earlier and lasting longer, and we're seeing more frequent fires. So, yeah, this is probably something that we'll be seeing more frequently. This tends to be much more of an issue in the Western US. So the eastern US. Getting hit right now is a little bit new. But yeah, I think with climate change moving forward, this is something that is going to happen more frequently. That's Peter De Carlo, associate professor in the Department of Environmental Health and Engineering at Johns Hopkins University. Sergeant Carlo, thanks so much for joining us and sharing this expertise with us. Thank you for having me.",
"words": [
{
Expand Down Expand Up @@ -5602,11 +5602,6 @@
"x-label": "Word",
"$ref": "#/components/schemas/TranscriptWord"
}
},
"speaker": {
"x-label": "Speaker",
"description": "The speaker of the sentence if [Speaker Diarization](https://www.assemblyai.com/docs/models/speaker-diarization) is enabled, else null",
"type": ["string", "null"]
}
},
"example": {
Expand Down Expand Up @@ -5917,7 +5912,7 @@
"status": "completed",
"created": "2023-11-02T21:49:25.586965",
"completed": "2023-11-02T21:49:25.586965",
"audio_url": "https://github.com/AssemblyAI-Examples/audio-examples/raw/main/20230607_me_canadian_wildfires.mp3",
"audio_url": "https://assembly.ai/wildfires.mp3",
"error": null
}
},
Expand Down Expand Up @@ -5966,16 +5961,16 @@
"status": "error",
"created": "2024-03-11T21:23:59.979420",
"completed": null,
"audio_url": "https://storage.googleapis.com/client-docs-samples/nbc.mp3",
"error": "Download error, unable to download https://storage.googleapis.com/client-docs-samples/nbc.mp3. Please make sure the file exists and is accessible from the internet."
"audio_url": "https://storage.googleapis.com/client-docs-samples/nbc.oopsie",
"error": "Download error, unable to download https://storage.googleapis.com/client-docs-samples/nbc.oopsie. Please make sure the file exists and is accessible from the internet."
},
{
"id": "28a73d01-98db-41dd-9e98-2533ba0af117",
"resource_url": "https://api.assemblyai.com/v2/transcript/28a73d01-98db-41dd-9e98-2533ba0af117",
"status": "completed",
"created": "2024-03-11T21:12:57.372215",
"completed": "2024-03-11T21:13:03.267020",
"audio_url": "https://storage.googleapis.com/aai-docs-samples/nbc.mp3",
"audio_url": "https://assembly.ai/nbc.mp3",
"error": null
}
]
Expand Down
18 changes: 7 additions & 11 deletions openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ openapi: 3.1.0
info:
title: AssemblyAI API
description: AssemblyAI API
version: 1.3.2
version: 1.3.3
termsOfService: https://www.assemblyai.com/legal/terms-of-service
contact:
name: API Support
Expand Down Expand Up @@ -1517,7 +1517,7 @@ components:
language_code: "en_us",
language_detection: true,
language_confidence_threshold: 0.7,
audio_url: "https://github.com/AssemblyAI-Examples/audio-examples/raw/main/20230607_me_canadian_wildfires.mp3",
audio_url: "https://assembly.ai/wildfires.mp3",
punctuate: true,
format_text: true,
dual_channel: true,
Expand Down Expand Up @@ -2895,7 +2895,7 @@ components:
language_confidence_threshold: 0.7,
language_confidence: 0.9959,
status: "completed",
audio_url: "https://github.com/AssemblyAI-Examples/audio-examples/raw/main/20230607_me_canadian_wildfires.mp3",
audio_url: "https://assembly.ai/wildfires.mp3",
text: "Smoke from hundreds of wildfires in Canada is triggering air quality alerts throughout the US. Skylines from Maine to Maryland to Minnesota are gray and smoggy. And in some places, the air quality warnings include the warning to stay inside. We wanted to better understand what's happening here and why, so we called Peter de Carlo, an associate professor in the Department of Environmental Health and Engineering at Johns Hopkins University Varsity. Good morning, professor. Good morning. What is it about the conditions right now that have caused this round of wildfires to affect so many people so far away? Well, there's a couple of things. The season has been pretty dry already. And then the fact that we're getting hit in the US. Is because there's a couple of weather systems that are essentially channeling the smoke from those Canadian wildfires through Pennsylvania into the Mid Atlantic and the Northeast and kind of just dropping the smoke there. So what is it in this haze that makes it harmful? And I'm assuming it is harmful. It is. The levels outside right now in Baltimore are considered unhealthy. And most of that is due to what's called particulate matter, which are tiny particles, microscopic smaller than the width of your hair that can get into your lungs and impact your respiratory system, your cardiovascular system, and even your neurological your brain. What makes this particularly harmful? Is it the volume of particulant? Is it something in particular? What is it exactly? Can you just drill down on that a little bit more? Yeah. So the concentration of particulate matter I was looking at some of the monitors that we have was reaching levels of what are, in science, big 150 micrograms per meter cubed, which is more than ten times what the annual average should be and about four times higher than what you're supposed to have on a 24 hours average. And so the concentrations of these particles in the air are just much, much higher than we typically see. And exposure to those high levels can lead to a host of health problems. And who is most vulnerable? I noticed that in New York City, for example, they're canceling outdoor activities. And so here it is in the early days of summer, and they have to keep all the kids inside. So who tends to be vulnerable in a situation like this? It's the youngest. So children, obviously, whose bodies are still developing. The elderly, who are their bodies are more in decline and they're more susceptible to the health impacts of breathing, the poor air quality. And then people who have preexisting health conditions, people with respiratory conditions or heart conditions can be triggered by high levels of air pollution. Could this get worse? That's a good question. In some areas, it's much worse than others. And it just depends on kind of where the smoke is concentrated. I think New York has some of the higher concentrations right now, but that's going to change as that air moves away from the New York area. But over the course of the next few days, we will see different areas being hit at different times with the highest concentrations. I was going to ask you about more fires start burning. I don't expect the concentrations to go up too much higher. I was going to ask you how and you started to answer this, but how much longer could this last? Or forgive me if I'm asking you to speculate, but what do you think? Well, I think the fires are going to burn for a little bit longer, but the key for us in the US. Is the weather system changing. And so right now, it's kind of the weather systems that are pulling that air into our mid Atlantic and Northeast region. As those weather systems change and shift, we'll see that smoke going elsewhere and not impact us in this region as much. And so I think that's going to be the defining factor. And I think the next couple of days we're going to see a shift in that weather pattern and start to push the smoke away from where we are. And finally, with the impacts of climate change, we are seeing more wildfires. Will we be seeing more of these kinds of wide ranging air quality consequences or circumstances? I mean, that is one of the predictions for climate change. Looking into the future, the fire season is starting earlier and lasting longer, and we're seeing more frequent fires. So, yeah, this is probably something that we'll be seeing more frequently. This tends to be much more of an issue in the Western US. So the eastern US. Getting hit right now is a little bit new. But yeah, I think with climate change moving forward, this is something that is going to happen more frequently. That's Peter De Carlo, associate professor in the Department of Environmental Health and Engineering at Johns Hopkins University. Sergeant Carlo, thanks so much for joining us and sharing this expertise with us. Thank you for having me.",
words:
[
Expand Down Expand Up @@ -4755,10 +4755,6 @@ components:
items:
x-label: Word
$ref: "#/components/schemas/TranscriptWord"
speaker:
x-label: Speaker
description: The speaker of the sentence if [Speaker Diarization](https://www.assemblyai.com/docs/models/speaker-diarization) is enabled, else null
type: [string, "null"]
example:
{
text: "Smoke from hundreds of wildfires in Canada is triggering air quality alerts throughout the US. Skylines from Maine to Maryland to Minnesota are gray and smoggy. And in some places, the air quality warnings include the warning to stay inside. We wanted to better understand what's happening here and why, so we called Peter Decarlo, an associate professor in the Department of Environmental Health and Engineering at Johns Hopkins University. Good morning, professor.",
Expand Down Expand Up @@ -5052,7 +5048,7 @@ components:
status: "completed",
created: "2023-11-02T21:49:25.586965",
completed: "2023-11-02T21:49:25.586965",
audio_url: "https://github.com/AssemblyAI-Examples/audio-examples/raw/main/20230607_me_canadian_wildfires.mp3",
audio_url: "https://assembly.ai/wildfires.mp3",
error: null,
}

Expand Down Expand Up @@ -5102,16 +5098,16 @@ components:
status: "error",
created: "2024-03-11T21:23:59.979420",
completed: null,
audio_url: "https://storage.googleapis.com/client-docs-samples/nbc.mp3",
error: "Download error, unable to download https://storage.googleapis.com/client-docs-samples/nbc.mp3. Please make sure the file exists and is accessible from the internet.",
audio_url: "https://storage.googleapis.com/client-docs-samples/nbc.oopsie",
error: "Download error, unable to download https://storage.googleapis.com/client-docs-samples/nbc.oopsie. Please make sure the file exists and is accessible from the internet.",
},
{
id: "28a73d01-98db-41dd-9e98-2533ba0af117",
resource_url: "https://api.assemblyai.com/v2/transcript/28a73d01-98db-41dd-9e98-2533ba0af117",
status: "completed",
created: "2024-03-11T21:12:57.372215",
completed: "2024-03-11T21:13:03.267020",
audio_url: "https://storage.googleapis.com/aai-docs-samples/nbc.mp3",
audio_url: "https://assembly.ai/nbc.mp3",
error: null,
},
],
Expand Down

0 comments on commit 517c5ba

Please sign in to comment.