diff --git a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.Transcript.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.Transcript.g.cs index 8f63854..f91f2e0 100644 --- a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.Transcript.g.cs +++ b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.Transcript.g.cs @@ -7,7 +7,7 @@ namespace AssemblyAI { /// /// A transcript object
- /// Example: {"id":"9ea68fd3-f953-42c1-9742-976c447fb463","speech_model":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","language_model":"assemblyai_default","acoustic_model":"assemblyai_default","language_code":"en_us","language_detection":true,"language_confidence_threshold":0.7,"language_confidence":0.9959,"status":"completed","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\u0027s 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\u0027s a couple of things. The season has been pretty dry already. And then the fact that we\u0027re getting hit in the US. Is because there\u0027s 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\u0027m assuming it is harmful. It is. The levels outside right now in Baltimore are considered unhealthy. And most of that is due to what\u0027s 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\u0027re 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\u0027re 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\u0027s the youngest. So children, obviously, whose bodies are still developing. The elderly, who are their bodies are more in decline and they\u0027re 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\u0027s a good question. In some areas, it\u0027s 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\u0027s 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\u0027t 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\u0027m 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\u0027s 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\u0027ll see that smoke going elsewhere and not impact us in this region as much. And so I think that\u0027s going to be the defining factor. And I think the next couple of days we\u0027re 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\u0027re seeing more frequent fires. So, yeah, this is probably something that we\u0027ll 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\u0027s 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":[{"text":"Smoke","start":250,"end":650,"confidence":0.97465,"speaker":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464"},{"text":"from","start":730,"end":1022,"confidence":0.99999,"speaker":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464"},{"text":"hundreds","start":1076,"end":1418,"confidence":0.99844,"speaker":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464"},{"text":"of","start":1434,"end":1614,"confidence":0.84,"speaker":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464"},{"text":"wildfires","start":1652,"end":2346,"confidence":0.89572,"speaker":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464"},{"text":"in","start":2378,"end":2526,"confidence":0.99994,"speaker":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464"},{"text":"Canada","start":2548,"end":3130,"confidence":0.93953,"speaker":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464"},{"text":"is","start":3210,"end":3454,"confidence":0.999,"speaker":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464"},{"text":"triggering","start":3492,"end":3946,"confidence":0.74794,"speaker":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464"},{"text":"air","start":3978,"end":4174,"confidence":1.0,"speaker":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464"},{"text":"quality","start":4212,"end":4558,"confidence":0.88077,"speaker":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464"},{"text":"alerts","start":4644,"end":5114,"confidence":0.94814,"speaker":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464"},{"text":"throughout","start":5162,"end":5466,"confidence":0.99726,"speaker":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464"},{"text":"the","start":5498,"end":5694,"confidence":0.79,"speaker":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464"},{"text":"US.","start":5732,"end":6382,"confidence":0.89,"speaker":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464"}],"utterances":[{"confidence":0.9359033333333334,"end":26950,"speaker":"A","start":250,"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\u0027s 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.","words":[{"text":"Smoke","start":250,"end":650,"confidence":0.97503,"speaker":"A"},{"text":"from","start":730,"end":1022,"confidence":0.99999,"speaker":"A"},{"text":"hundreds","start":1076,"end":1418,"confidence":0.99843,"speaker":"A"},{"text":"of","start":1434,"end":1614,"confidence":0.85,"speaker":"A"},{"text":"wildfires","start":1652,"end":2346,"confidence":0.89657,"speaker":"A"},{"text":"in","start":2378,"end":2526,"confidence":0.99994,"speaker":"A"},{"text":"Canada","start":2548,"end":3130,"confidence":0.93864,"speaker":"A"},{"text":"is","start":3210,"end":3454,"confidence":0.999,"speaker":"A"},{"text":"triggering","start":3492,"end":3946,"confidence":0.75366,"speaker":"A"},{"text":"air","start":3978,"end":4174,"confidence":1.0,"speaker":"A"},{"text":"quality","start":4212,"end":4558,"confidence":0.87745,"speaker":"A"},{"text":"alerts","start":4644,"end":5114,"confidence":0.94739,"speaker":"A"},{"text":"throughout","start":5162,"end":5466,"confidence":0.99726,"speaker":"A"},{"text":"the","start":5498,"end":5694,"confidence":0.79,"speaker":"A"},{"text":"US.","start":5732,"end":6382,"confidence":0.88,"speaker":"A"}]}],"confidence":0.9404651451800253,"audio_duration":281,"punctuate":true,"format_text":true,"multichannel":false,"webhook_url":"https://your-webhook-url.tld/path","webhook_status_code":200,"webhook_auth":true,"webhook_auth_header_name":"webhook-secret","auto_highlights_result":{"status":"success","results":[{"count":1,"rank":0.08,"text":"air quality alerts","timestamps":[{"start":3978,"end":5114}]},{"count":1,"rank":0.08,"text":"wide ranging air quality consequences","timestamps":[{"start":235388,"end":238694}]},{"count":1,"rank":0.07,"text":"more wildfires","timestamps":[{"start":230972,"end":232354}]},{"count":1,"rank":0.07,"text":"air pollution","timestamps":[{"start":156004,"end":156910}]},{"count":3,"rank":0.07,"text":"weather systems","timestamps":[{"start":47344,"end":47958},{"start":205268,"end":205818},{"start":211588,"end":213434}]},{"count":2,"rank":0.06,"text":"high levels","timestamps":[{"start":121128,"end":121646},{"start":155412,"end":155866}]},{"count":1,"rank":0.06,"text":"health conditions","timestamps":[{"start":152138,"end":152666}]},{"count":2,"rank":0.06,"text":"Peter de Carlo","timestamps":[{"start":18948,"end":19930},{"start":268298,"end":269194}]},{"count":1,"rank":0.06,"text":"New York City","timestamps":[{"start":125768,"end":126274}]},{"count":1,"rank":0.05,"text":"respiratory conditions","timestamps":[{"start":152964,"end":153786}]},{"count":3,"rank":0.05,"text":"New York","timestamps":[{"start":125768,"end":126034},{"start":171448,"end":171938},{"start":176008,"end":176322}]},{"count":3,"rank":0.05,"text":"climate change","timestamps":[{"start":229548,"end":230230},{"start":244576,"end":245162},{"start":263348,"end":263950}]},{"count":1,"rank":0.05,"text":"Johns Hopkins University Varsity","timestamps":[{"start":23972,"end":25490}]},{"count":1,"rank":0.05,"text":"heart conditions","timestamps":[{"start":153988,"end":154506}]},{"count":1,"rank":0.05,"text":"air quality warnings","timestamps":[{"start":12308,"end":13434}]}]},"auto_highlights":true,"audio_start_from":10,"audio_end_at":280,"filter_profanity":true,"redact_pii":true,"redact_pii_audio":true,"redact_pii_audio_quality":"mp3","redact_pii_policies":["us_social_security_number","credit_card_number"],"redact_pii_sub":"hash","speaker_labels":true,"content_safety":true,"iab_categories":true,"content_safety_labels":{"status":"success","results":[{"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\u0027s 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.","labels":[{"label":"disasters","confidence":0.8142836093902588,"severity":0.4093044400215149}],"sentences_idx_start":0,"sentences_idx_end":5,"timestamp":{"start":250,"end":28840}}],"summary":{"disasters":0.9940800441842205,"health_issues":0.9216489289040967},"severity_score_summary":{"disasters":{"low":0.5733263024656846,"medium":0.42667369753431533,"high":0.0},"health_issues":{"low":0.22863814977924785,"medium":0.45014154926938227,"high":0.32122030095136983}}},"iab_categories_result":{"status":"success","results":[{"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\u0027s 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.","labels":[{"relevance":0.988274097442627,"label":"Home\u0026Garden\u003EIndoorEnvironmentalQuality"},{"relevance":0.5821335911750793,"label":"NewsAndPolitics\u003EWeather"},{"relevance":0.0042327106930315495,"label":"MedicalHealth\u003EDiseasesAndConditions\u003ELungAndRespiratoryHealth"},{"relevance":0.0033971222583204508,"label":"NewsAndPolitics\u003EDisasters"},{"relevance":0.002469958271831274,"label":"BusinessAndFinance\u003EBusiness\u003EGreenSolutions"},{"relevance":0.0014376690378412604,"label":"MedicalHealth\u003EDiseasesAndConditions\u003ECancer"},{"relevance":0.0014294233405962586,"label":"Science\u003EEnvironment"},{"relevance":0.001234519761055708,"label":"Travel\u003ETravelLocations\u003EPolarTravel"},{"relevance":0.0010231725173071027,"label":"MedicalHealth\u003EDiseasesAndConditions\u003EColdAndFlu"},{"relevance":0.0007445293595083058,"label":"BusinessAndFinance\u003EIndustries\u003EPowerAndEnergyIndustry"}],"timestamp":{"start":250,"end":28840}}],"summary":{"NewsAndPolitics\u003EWeather":1.0,"Home\u0026Garden\u003EIndoorEnvironmentalQuality":0.9043831825256348,"Science\u003EEnvironment":0.16117265820503235,"BusinessAndFinance\u003EIndustries\u003EEnvironmentalServicesIndustry":0.14393523335456848,"MedicalHealth\u003EDiseasesAndConditions\u003ELungAndRespiratoryHealth":0.11401086300611496,"BusinessAndFinance\u003EBusiness\u003EGreenSolutions":0.06348437070846558,"NewsAndPolitics\u003EDisasters":0.05041387677192688,"Travel\u003ETravelLocations\u003EPolarTravel":0.01308488193899393,"HealthyLiving":0.008222488686442375,"MedicalHealth\u003EDiseasesAndConditions\u003EColdAndFlu":0.0022315620444715023,"MedicalHealth\u003EDiseasesAndConditions\u003EHeartAndCardiovascularDiseases":0.00213034451007843,"HealthyLiving\u003EWellness\u003ESmokingCessation":0.001540527562610805,"MedicalHealth\u003EDiseasesAndConditions\u003EInjuries":0.0013950627762824297,"BusinessAndFinance\u003EIndustries\u003EPowerAndEnergyIndustry":0.0012570273829624057,"MedicalHealth\u003EDiseasesAndConditions\u003ECancer":0.001097781932912767,"MedicalHealth\u003EDiseasesAndConditions\u003EAllergies":0.0010148967849090695,"MedicalHealth\u003EDiseasesAndConditions\u003EMentalHealth":0.000717321818228811,"Style\u0026Fashion\u003EPersonalCare\u003EDeodorantAndAntiperspirant":0.0006022014422342181,"Technology\u0026Computing\u003EComputing\u003EComputerNetworking":0.0005461975233629346,"MedicalHealth\u003EDiseasesAndConditions\u003EInjuries\u003EFirstAid":0.0004885646631009877}},"custom_spelling":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","throttled":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","auto_chapters":true,"summarization":true,"summary_type":"bullets","summary_model":"informative","custom_topics":true,"topics":[],"speech_threshold":0.5,"remove_audio_tags":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","disfluencies":false,"sentiment_analysis":true,"chapters":[{"summary":"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. In some places, the air quality warnings include the warning to stay inside.","gist":"Smoggy air quality alerts across US","headline":"Smoke from hundreds of wildfires in Canada is triggering air quality alerts across US","start":250,"end":28840},{"summary":"Air pollution levels in Baltimore are considered unhealthy. Exposure to high levels can lead to a host of health problems. With climate change, we are seeing more wildfires. Will we be seeing more of these kinds of wide ranging air quality consequences?","gist":"What is it about the conditions right now that have caused this round","headline":"High particulate matter in wildfire smoke can lead to serious health problems","start":29610,"end":280340}],"sentiment_analysis_results":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","entity_detection":true,"entities":[{"entity_type":"location","text":"Canada","start":2548,"end":3130},{"entity_type":"location","text":"the US","start":5498,"end":6382},{"entity_type":"location","text":"Maine","start":7492,"end":7914},{"entity_type":"location","text":"Maryland","start":8212,"end":8634},{"entity_type":"location","text":"Minnesota","start":8932,"end":9578},{"entity_type":"person_name","text":"Peter de Carlo","start":18948,"end":19930},{"entity_type":"occupation","text":"associate professor","start":20292,"end":21194},{"entity_type":"organization","text":"Department of Environmental Health and Engineering","start":21508,"end":23706},{"entity_type":"organization","text":"Johns Hopkins University Varsity","start":23972,"end":25490},{"entity_type":"occupation","text":"professor","start":26076,"end":26950},{"entity_type":"location","text":"the US","start":45184,"end":45898},{"entity_type":"nationality","text":"Canadian","start":49728,"end":50086}],"summary":"- 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. In some places, the air quality warnings include the warning to stay inside.\\n- Air pollution levels in Baltimore are considered unhealthy. Exposure to high levels can lead to a host of health problems. With climate change, we are seeing more wildfires. Will we be seeing more of these kinds of wide ranging air quality consequences?","speakers_expected":2} + /// Example: {"id":"9ea68fd3-f953-42c1-9742-976c447fb463","speech_model":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","language_model":"assemblyai_default","acoustic_model":"assemblyai_default","language_code":"en_us","language_detection":true,"language_confidence_threshold":0.7,"language_confidence":0.9959,"status":"completed","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\u0027s 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\u0027s a couple of things. The season has been pretty dry already. And then the fact that we\u0027re getting hit in the US. Is because there\u0027s 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\u0027m assuming it is harmful. It is. The levels outside right now in Baltimore are considered unhealthy. And most of that is due to what\u0027s 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\u0027re 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\u0027re 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\u0027s the youngest. So children, obviously, whose bodies are still developing. The elderly, who are their bodies are more in decline and they\u0027re 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\u0027s a good question. In some areas, it\u0027s 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\u0027s 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\u0027t 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\u0027m 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\u0027s 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\u0027ll see that smoke going elsewhere and not impact us in this region as much. And so I think that\u0027s going to be the defining factor. And I think the next couple of days we\u0027re 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\u0027re seeing more frequent fires. So, yeah, this is probably something that we\u0027ll 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\u0027s 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":[{"text":"Smoke","start":250,"end":650,"confidence":0.97465,"speaker":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464"},{"text":"from","start":730,"end":1022,"confidence":0.99999,"speaker":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464"},{"text":"hundreds","start":1076,"end":1418,"confidence":0.99844,"speaker":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464"},{"text":"of","start":1434,"end":1614,"confidence":0.84,"speaker":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464"},{"text":"wildfires","start":1652,"end":2346,"confidence":0.89572,"speaker":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464"},{"text":"in","start":2378,"end":2526,"confidence":0.99994,"speaker":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464"},{"text":"Canada","start":2548,"end":3130,"confidence":0.93953,"speaker":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464"},{"text":"is","start":3210,"end":3454,"confidence":0.999,"speaker":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464"},{"text":"triggering","start":3492,"end":3946,"confidence":0.74794,"speaker":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464"},{"text":"air","start":3978,"end":4174,"confidence":1.0,"speaker":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464"},{"text":"quality","start":4212,"end":4558,"confidence":0.88077,"speaker":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464"},{"text":"alerts","start":4644,"end":5114,"confidence":0.94814,"speaker":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464"},{"text":"throughout","start":5162,"end":5466,"confidence":0.99726,"speaker":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464"},{"text":"the","start":5498,"end":5694,"confidence":0.79,"speaker":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464"},{"text":"US.","start":5732,"end":6382,"confidence":0.89,"speaker":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464"}],"utterances":[{"confidence":0.9359033333333334,"end":26950,"speaker":"A","start":250,"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\u0027s 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.","words":[{"text":"Smoke","start":250,"end":650,"confidence":0.97503,"speaker":"A"},{"text":"from","start":730,"end":1022,"confidence":0.99999,"speaker":"A"},{"text":"hundreds","start":1076,"end":1418,"confidence":0.99843,"speaker":"A"},{"text":"of","start":1434,"end":1614,"confidence":0.85,"speaker":"A"},{"text":"wildfires","start":1652,"end":2346,"confidence":0.89657,"speaker":"A"},{"text":"in","start":2378,"end":2526,"confidence":0.99994,"speaker":"A"},{"text":"Canada","start":2548,"end":3130,"confidence":0.93864,"speaker":"A"},{"text":"is","start":3210,"end":3454,"confidence":0.999,"speaker":"A"},{"text":"triggering","start":3492,"end":3946,"confidence":0.75366,"speaker":"A"},{"text":"air","start":3978,"end":4174,"confidence":1.0,"speaker":"A"},{"text":"quality","start":4212,"end":4558,"confidence":0.87745,"speaker":"A"},{"text":"alerts","start":4644,"end":5114,"confidence":0.94739,"speaker":"A"},{"text":"throughout","start":5162,"end":5466,"confidence":0.99726,"speaker":"A"},{"text":"the","start":5498,"end":5694,"confidence":0.79,"speaker":"A"},{"text":"US.","start":5732,"end":6382,"confidence":0.88,"speaker":"A"}]}],"confidence":0.9404651451800253,"audio_duration":281,"punctuate":true,"format_text":true,"multichannel":false,"webhook_url":"https://your-webhook-url.tld/path","webhook_status_code":200,"webhook_auth":true,"webhook_auth_header_name":"webhook-secret","auto_highlights_result":{"status":"success","results":[{"count":1,"rank":0.08,"text":"air quality alerts","timestamps":[{"start":3978,"end":5114}]},{"count":1,"rank":0.08,"text":"wide ranging air quality consequences","timestamps":[{"start":235388,"end":238694}]},{"count":1,"rank":0.07,"text":"more wildfires","timestamps":[{"start":230972,"end":232354}]},{"count":1,"rank":0.07,"text":"air pollution","timestamps":[{"start":156004,"end":156910}]},{"count":3,"rank":0.07,"text":"weather systems","timestamps":[{"start":47344,"end":47958},{"start":205268,"end":205818},{"start":211588,"end":213434}]},{"count":2,"rank":0.06,"text":"high levels","timestamps":[{"start":121128,"end":121646},{"start":155412,"end":155866}]},{"count":1,"rank":0.06,"text":"health conditions","timestamps":[{"start":152138,"end":152666}]},{"count":2,"rank":0.06,"text":"Peter de Carlo","timestamps":[{"start":18948,"end":19930},{"start":268298,"end":269194}]},{"count":1,"rank":0.06,"text":"New York City","timestamps":[{"start":125768,"end":126274}]},{"count":1,"rank":0.05,"text":"respiratory conditions","timestamps":[{"start":152964,"end":153786}]},{"count":3,"rank":0.05,"text":"New York","timestamps":[{"start":125768,"end":126034},{"start":171448,"end":171938},{"start":176008,"end":176322}]},{"count":3,"rank":0.05,"text":"climate change","timestamps":[{"start":229548,"end":230230},{"start":244576,"end":245162},{"start":263348,"end":263950}]},{"count":1,"rank":0.05,"text":"Johns Hopkins University Varsity","timestamps":[{"start":23972,"end":25490}]},{"count":1,"rank":0.05,"text":"heart conditions","timestamps":[{"start":153988,"end":154506}]},{"count":1,"rank":0.05,"text":"air quality warnings","timestamps":[{"start":12308,"end":13434}]}]},"auto_highlights":true,"audio_start_from":10,"audio_end_at":280,"filter_profanity":true,"redact_pii":true,"redact_pii_audio":true,"redact_pii_audio_quality":"mp3","redact_pii_policies":["us_social_security_number","credit_card_number"],"redact_pii_sub":"hash","speaker_labels":true,"content_safety":true,"iab_categories":true,"content_safety_labels":{"status":"success","results":[{"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\u0027s 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.","labels":[{"label":"disasters","confidence":0.8142836093902588,"severity":0.4093044400215149}],"sentences_idx_start":0,"sentences_idx_end":5,"timestamp":{"start":250,"end":28840}}],"summary":{"disasters":0.9940800441842205,"health_issues":0.9216489289040967},"severity_score_summary":{"disasters":{"low":0.5733263024656846,"medium":0.42667369753431533,"high":0.0},"health_issues":{"low":0.22863814977924785,"medium":0.45014154926938227,"high":0.32122030095136983}}},"iab_categories_result":{"status":"success","results":[{"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\u0027s 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.","labels":[{"relevance":0.988274097442627,"label":"Home\u0026Garden\u003EIndoorEnvironmentalQuality"},{"relevance":0.5821335911750793,"label":"NewsAndPolitics\u003EWeather"},{"relevance":0.0042327106930315495,"label":"MedicalHealth\u003EDiseasesAndConditions\u003ELungAndRespiratoryHealth"},{"relevance":0.0033971222583204508,"label":"NewsAndPolitics\u003EDisasters"},{"relevance":0.002469958271831274,"label":"BusinessAndFinance\u003EBusiness\u003EGreenSolutions"},{"relevance":0.0014376690378412604,"label":"MedicalHealth\u003EDiseasesAndConditions\u003ECancer"},{"relevance":0.0014294233405962586,"label":"Science\u003EEnvironment"},{"relevance":0.001234519761055708,"label":"Travel\u003ETravelLocations\u003EPolarTravel"},{"relevance":0.0010231725173071027,"label":"MedicalHealth\u003EDiseasesAndConditions\u003EColdAndFlu"},{"relevance":0.0007445293595083058,"label":"BusinessAndFinance\u003EIndustries\u003EPowerAndEnergyIndustry"}],"timestamp":{"start":250,"end":28840}}],"summary":{"NewsAndPolitics\u003EWeather":1.0,"Home\u0026Garden\u003EIndoorEnvironmentalQuality":0.9043831825256348,"Science\u003EEnvironment":0.16117265820503235,"BusinessAndFinance\u003EIndustries\u003EEnvironmentalServicesIndustry":0.14393523335456848,"MedicalHealth\u003EDiseasesAndConditions\u003ELungAndRespiratoryHealth":0.11401086300611496,"BusinessAndFinance\u003EBusiness\u003EGreenSolutions":0.06348437070846558,"NewsAndPolitics\u003EDisasters":0.05041387677192688,"Travel\u003ETravelLocations\u003EPolarTravel":0.01308488193899393,"HealthyLiving":0.008222488686442375,"MedicalHealth\u003EDiseasesAndConditions\u003EColdAndFlu":0.0022315620444715023,"MedicalHealth\u003EDiseasesAndConditions\u003EHeartAndCardiovascularDiseases":0.00213034451007843,"HealthyLiving\u003EWellness\u003ESmokingCessation":0.001540527562610805,"MedicalHealth\u003EDiseasesAndConditions\u003EInjuries":0.0013950627762824297,"BusinessAndFinance\u003EIndustries\u003EPowerAndEnergyIndustry":0.0012570273829624057,"MedicalHealth\u003EDiseasesAndConditions\u003ECancer":0.001097781932912767,"MedicalHealth\u003EDiseasesAndConditions\u003EAllergies":0.0010148967849090695,"MedicalHealth\u003EDiseasesAndConditions\u003EMentalHealth":0.000717321818228811,"Style\u0026Fashion\u003EPersonalCare\u003EDeodorantAndAntiperspirant":0.0006022014422342181,"Technology\u0026Computing\u003EComputing\u003EComputerNetworking":0.0005461975233629346,"MedicalHealth\u003EDiseasesAndConditions\u003EInjuries\u003EFirstAid":0.0004885646631009877}},"custom_spelling":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","throttled":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","auto_chapters":false,"summarization":false,"summary_type":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","summary_model":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","custom_topics":true,"topics":[],"speech_threshold":0.5,"remove_audio_tags":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","disfluencies":false,"sentiment_analysis":true,"sentiment_analysis_results":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","entity_detection":true,"entities":[{"entity_type":"location","text":"Canada","start":2548,"end":3130},{"entity_type":"location","text":"the US","start":5498,"end":6382},{"entity_type":"location","text":"Maine","start":7492,"end":7914},{"entity_type":"location","text":"Maryland","start":8212,"end":8634},{"entity_type":"location","text":"Minnesota","start":8932,"end":9578},{"entity_type":"person_name","text":"Peter de Carlo","start":18948,"end":19930},{"entity_type":"occupation","text":"associate professor","start":20292,"end":21194},{"entity_type":"organization","text":"Department of Environmental Health and Engineering","start":21508,"end":23706},{"entity_type":"organization","text":"Johns Hopkins University Varsity","start":23972,"end":25490},{"entity_type":"occupation","text":"professor","start":26076,"end":26950},{"entity_type":"location","text":"the US","start":45184,"end":45898},{"entity_type":"nationality","text":"Canadian","start":49728,"end":50086}],"chapters":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","summary":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","speakers_expected":2} ///
public sealed partial class Transcript { @@ -43,9 +43,10 @@ public sealed partial class Transcript public required string AudioUrl { get; set; } /// - /// Whether [Auto Chapters](https://www.assemblyai.com/docs/speech-understanding/auto-chapters) is enabled, can be true or false + /// Whether [Auto Chapters](https://www.assemblyai.com/docs/speech-understanding/auto-chapters) is enabled, can be true or false. Deprecated - use [LLM Gateway](https://www.assemblyai.com/docs/llm-gateway/overview) instead for more flexible chapter summaries. See the [updated Auto Chapters page](https://www.assemblyai.com/docs/speech-understanding/auto-chapters) for details. /// [global::System.Text.Json.Serialization.JsonPropertyName("auto_chapters")] + [global::System.Obsolete("This property marked as deprecated.")] public bool? AutoChapters { get; set; } /// @@ -315,29 +316,32 @@ public sealed partial class Transcript public required global::AssemblyAI.TranscriptStatus Status { get; set; } /// - /// Whether [Summarization](https://www.assemblyai.com/docs/speech-understanding/summarization) is enabled, either true or false + /// Whether [Summarization](https://www.assemblyai.com/docs/speech-understanding/summarization) is enabled, either true or false. Deprecated - use [LLM Gateway](https://www.assemblyai.com/docs/llm-gateway/overview) instead for more flexible summaries. See the [updated Summarization page](https://www.assemblyai.com/docs/speech-understanding/summarization) for details. /// [global::System.Text.Json.Serialization.JsonPropertyName("summarization")] [global::System.Text.Json.Serialization.JsonRequired] public required bool Summarization { get; set; } /// - /// The generated summary of the media file, if [Summarization](https://www.assemblyai.com/docs/speech-understanding/summarization) is enabled + /// The generated summary of the media file, if [Summarization](https://www.assemblyai.com/docs/speech-understanding/summarization) is enabled. Deprecated - use [LLM Gateway](https://www.assemblyai.com/docs/llm-gateway/overview) instead for more flexible summaries. See the [updated Summarization page](https://www.assemblyai.com/docs/speech-understanding/summarization) for details. /// [global::System.Text.Json.Serialization.JsonPropertyName("summary")] + [global::System.Obsolete("This property marked as deprecated.")] public string? Summary { get; set; } /// /// The Summarization model used to generate the summary,
- /// if [Summarization](https://www.assemblyai.com/docs/speech-understanding/summarization#summary-models) is enabled + /// if [Summarization](https://www.assemblyai.com/docs/speech-understanding/summarization#summary-models) is enabled. Deprecated - use [LLM Gateway](https://www.assemblyai.com/docs/llm-gateway/overview) instead for more flexible summaries. See the [updated Summarization page](https://www.assemblyai.com/docs/speech-understanding/summarization) for details. ///
[global::System.Text.Json.Serialization.JsonPropertyName("summary_model")] + [global::System.Obsolete("This property marked as deprecated.")] public string? SummaryModel { get; set; } /// - /// The type of summary generated, if [Summarization](https://www.assemblyai.com/docs/speech-understanding/summarization#summary-types) is enabled + /// The type of summary generated, if [Summarization](https://www.assemblyai.com/docs/speech-understanding/summarization#summary-types) is enabled. Deprecated - use [LLM Gateway](https://www.assemblyai.com/docs/llm-gateway/overview) instead for more flexible summaries. See the [updated Summarization page](https://www.assemblyai.com/docs/speech-understanding/summarization) for details. /// [global::System.Text.Json.Serialization.JsonPropertyName("summary_type")] + [global::System.Obsolete("This property marked as deprecated.")] public string? SummaryType { get; set; } /// @@ -478,9 +482,6 @@ public sealed partial class Transcript /// /// The URL of the media that was transcribed /// - /// - /// Whether [Auto Chapters](https://www.assemblyai.com/docs/speech-understanding/auto-chapters) is enabled, can be true or false - /// /// /// Whether [Key Phrases](https://www.assemblyai.com/docs/speech-understanding/key-phrases) is enabled, either true or false /// @@ -617,17 +618,7 @@ public sealed partial class Transcript /// The status of your transcript. Possible values are queued, processing, completed, or error. /// /// - /// Whether [Summarization](https://www.assemblyai.com/docs/speech-understanding/summarization) is enabled, either true or false - /// - /// - /// The generated summary of the media file, if [Summarization](https://www.assemblyai.com/docs/speech-understanding/summarization) is enabled - /// - /// - /// The Summarization model used to generate the summary,
- /// if [Summarization](https://www.assemblyai.com/docs/speech-understanding/summarization#summary-models) is enabled - /// - /// - /// The type of summary generated, if [Summarization](https://www.assemblyai.com/docs/speech-understanding/summarization#summary-types) is enabled + /// Whether [Summarization](https://www.assemblyai.com/docs/speech-understanding/summarization) is enabled, either true or false. Deprecated - use [LLM Gateway](https://www.assemblyai.com/docs/llm-gateway/overview) instead for more flexible summaries. See the [updated Summarization page](https://www.assemblyai.com/docs/speech-understanding/summarization) for details. /// /// /// Whether [audio event tags](https://www.assemblyai.com/docs/pre-recorded-audio/universal-3-pro#audio-event-tags) were removed from the transcript text.
@@ -692,7 +683,6 @@ public Transcript( int? audioDuration, int? audioEndAt, int? audioStartFrom, - bool? autoChapters, global::AssemblyAI.OneOf? autoHighlightsResult, global::System.Collections.Generic.IList? chapters, double? confidence, @@ -729,9 +719,6 @@ public Transcript( global::System.Collections.Generic.IList? speechModels, float? speechThreshold, global::AssemblyAI.TranscriptSpeechUnderstanding? speechUnderstanding, - string? summary, - string? summaryModel, - string? summaryType, global::AssemblyAI.OneOf? removeAudioTags, double? temperature, string? text, @@ -757,7 +744,6 @@ public Transcript( this.AudioDuration = audioDuration; this.AudioEndAt = audioEndAt; this.AudioStartFrom = audioStartFrom; - this.AutoChapters = autoChapters; this.AutoHighlightsResult = autoHighlightsResult; this.Chapters = chapters; this.Confidence = confidence; @@ -794,9 +780,6 @@ public Transcript( this.SpeechModels = speechModels; this.SpeechThreshold = speechThreshold; this.SpeechUnderstanding = speechUnderstanding; - this.Summary = summary; - this.SummaryModel = summaryModel; - this.SummaryType = summaryType; this.RemoveAudioTags = removeAudioTags; this.Temperature = temperature; this.Text = text; diff --git a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptOptionalParams.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptOptionalParams.g.cs index b43517e..1a6a045 100644 --- a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptOptionalParams.g.cs +++ b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptOptionalParams.g.cs @@ -7,7 +7,7 @@ namespace AssemblyAI { /// /// The parameters for creating a transcript
- /// Example: {"speech_model":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","language_code":"en_us","language_detection":true,"language_confidence_threshold":0.7,"punctuate":true,"format_text":true,"multichannel":true,"webhook_url":"https://your-webhook-url.tld/path","webhook_auth_header_name":"webhook-secret","webhook_auth_header_value":"webhook-secret-value","auto_highlights":true,"audio_start_from":10,"audio_end_at":280,"filter_profanity":true,"redact_pii":true,"redact_pii_audio":true,"redact_pii_audio_quality":"mp3","redact_pii_policies":["us_social_security_number","credit_card_number"],"redact_pii_sub":"hash","speaker_labels":true,"speakers_expected":2,"content_safety":true,"iab_categories":true,"custom_spelling":[],"disfluencies":false,"sentiment_analysis":true,"auto_chapters":true,"entity_detection":true,"speech_threshold":0.5,"summarization":true,"summary_model":"informative","summary_type":"bullets","custom_topics":true,"topics":[],"remove_audio_tags":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","speech_understanding":{"request":{"translation":{"target_languages":["es","de"],"formal":true,"match_original_utterance":true}}}} + /// Example: {"speech_model":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","language_code":"en_us","language_detection":true,"language_confidence_threshold":0.7,"punctuate":true,"format_text":true,"multichannel":true,"webhook_url":"https://your-webhook-url.tld/path","webhook_auth_header_name":"webhook-secret","webhook_auth_header_value":"webhook-secret-value","auto_highlights":true,"audio_start_from":10,"audio_end_at":280,"filter_profanity":true,"redact_pii":true,"redact_pii_audio":true,"redact_pii_audio_quality":"mp3","redact_pii_policies":["us_social_security_number","credit_card_number"],"redact_pii_sub":"hash","speaker_labels":true,"speakers_expected":2,"content_safety":true,"iab_categories":true,"custom_spelling":[],"disfluencies":false,"sentiment_analysis":true,"auto_chapters":false,"entity_detection":true,"speech_threshold":0.5,"summarization":false,"summary_model":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","summary_type":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","custom_topics":true,"topics":[],"remove_audio_tags":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","speech_understanding":{"request":{"translation":{"target_languages":["es","de"],"formal":true,"match_original_utterance":true}}}} ///
public sealed partial class TranscriptOptionalParams { @@ -24,10 +24,11 @@ public sealed partial class TranscriptOptionalParams public int? AudioStartFrom { get; set; } /// - /// Enable [Auto Chapters](https://www.assemblyai.com/docs/speech-understanding/auto-chapters), can be true or false
+ /// Enable [Auto Chapters](https://www.assemblyai.com/docs/speech-understanding/auto-chapters), can be true or false. Deprecated - use [LLM Gateway](https://www.assemblyai.com/docs/llm-gateway/overview) instead for more flexible chapter summaries. See the [updated Auto Chapters page](https://www.assemblyai.com/docs/speech-understanding/auto-chapters) for details.
/// Default Value: false ///
[global::System.Text.Json.Serialization.JsonPropertyName("auto_chapters")] + [global::System.Obsolete("This property marked as deprecated.")] public bool? AutoChapters { get; set; } /// @@ -250,14 +251,15 @@ public sealed partial class TranscriptOptionalParams public global::AssemblyAI.TranscriptOptionalParamsSpeechUnderstanding? SpeechUnderstanding { get; set; } /// - /// Enable [Summarization](https://www.assemblyai.com/docs/speech-understanding/summarization), can be true or false
+ /// Enable [Summarization](https://www.assemblyai.com/docs/speech-understanding/summarization), can be true or false. Deprecated - use [LLM Gateway](https://www.assemblyai.com/docs/llm-gateway/overview) instead for more flexible summaries. See the [updated Summarization page](https://www.assemblyai.com/docs/speech-understanding/summarization) for details.
/// Default Value: false ///
[global::System.Text.Json.Serialization.JsonPropertyName("summarization")] + [global::System.Obsolete("This property marked as deprecated.")] public bool? Summarization { get; set; } /// - /// The model to summarize the transcript. See [Summary models](https://www.assemblyai.com/docs/speech-understanding/summarization#summary-models) for available models and when to use each.
+ /// The model to summarize the transcript. Deprecated - use [LLM Gateway](https://www.assemblyai.com/docs/llm-gateway/overview) instead for more flexible summaries. See the [updated Summarization page](https://www.assemblyai.com/docs/speech-understanding/summarization) for details.
/// Default Value: informative ///
[global::System.Text.Json.Serialization.JsonPropertyName("summary_model")] @@ -265,7 +267,7 @@ public sealed partial class TranscriptOptionalParams public global::AssemblyAI.SummaryModel? SummaryModel { get; set; } /// - /// The type of summary. See [Summary types](https://www.assemblyai.com/docs/speech-understanding/summarization#summary-types) for descriptions of the available summary types.
+ /// The type of summary. Deprecated - use [LLM Gateway](https://www.assemblyai.com/docs/llm-gateway/overview) instead for more flexible summaries. See the [updated Summarization page](https://www.assemblyai.com/docs/speech-understanding/summarization) for details.
/// Default Value: bullets ///
[global::System.Text.Json.Serialization.JsonPropertyName("summary_type")] @@ -346,10 +348,6 @@ public sealed partial class TranscriptOptionalParams /// /// The point in time, in milliseconds, to begin transcribing in your media file. See [Set the start and end of the transcript](https://www.assemblyai.com/docs/pre-recorded-audio/set-the-start-and-end-of-the-transcript) for more details. /// - /// - /// Enable [Auto Chapters](https://www.assemblyai.com/docs/speech-understanding/auto-chapters), can be true or false
- /// Default Value: false - /// /// /// Enable [Key Phrases](https://www.assemblyai.com/docs/speech-understanding/key-phrases), either true or false
/// Default Value: false @@ -471,18 +469,6 @@ public sealed partial class TranscriptOptionalParams /// /// Enable speech understanding tasks like [Translation](https://www.assemblyai.com/docs/speech-understanding/translation), [Speaker Identification](https://www.assemblyai.com/docs/speech-understanding/speaker-identification), and [Custom Formatting](https://www.assemblyai.com/docs/speech-understanding/custom-formatting). See the task-specific docs for available options and configuration. /// - /// - /// Enable [Summarization](https://www.assemblyai.com/docs/speech-understanding/summarization), can be true or false
- /// Default Value: false - /// - /// - /// The model to summarize the transcript. See [Summary models](https://www.assemblyai.com/docs/speech-understanding/summarization#summary-models) for available models and when to use each.
- /// Default Value: informative - /// - /// - /// The type of summary. See [Summary types](https://www.assemblyai.com/docs/speech-understanding/summarization#summary-types) for descriptions of the available summary types.
- /// Default Value: bullets - /// /// /// Remove [audio event tags](https://www.assemblyai.com/docs/pre-recorded-audio/universal-3-pro#audio-event-tags) from the transcript text. Set to `"all"` to remove all audio tags.
/// Note: This parameter is only supported for the Universal-3-Pro model.
@@ -511,7 +497,6 @@ public TranscriptOptionalParams( global::System.Collections.Generic.IList speechModels, int? audioEndAt, int? audioStartFrom, - bool? autoChapters, bool? autoHighlights, bool? contentSafety, int? contentSafetyConfidence, @@ -542,9 +527,6 @@ public TranscriptOptionalParams( int? speakersExpected, float? speechThreshold, global::AssemblyAI.TranscriptOptionalParamsSpeechUnderstanding? speechUnderstanding, - bool? summarization, - global::AssemblyAI.SummaryModel? summaryModel, - global::AssemblyAI.SummaryType? summaryType, global::AssemblyAI.OneOf? removeAudioTags, double? temperature, string? webhookAuthHeaderName, @@ -554,7 +536,6 @@ public TranscriptOptionalParams( this.SpeechModels = speechModels ?? throw new global::System.ArgumentNullException(nameof(speechModels)); this.AudioEndAt = audioEndAt; this.AudioStartFrom = audioStartFrom; - this.AutoChapters = autoChapters; this.AutoHighlights = autoHighlights; this.ContentSafety = contentSafety; this.ContentSafetyConfidence = contentSafetyConfidence; @@ -585,9 +566,6 @@ public TranscriptOptionalParams( this.SpeakersExpected = speakersExpected; this.SpeechThreshold = speechThreshold; this.SpeechUnderstanding = speechUnderstanding; - this.Summarization = summarization; - this.SummaryModel = summaryModel; - this.SummaryType = summaryType; this.RemoveAudioTags = removeAudioTags; this.Temperature = temperature; this.WebhookAuthHeaderName = webhookAuthHeaderName; diff --git a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptParams.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptParams.g.cs index bc1dcc9..912c799 100644 --- a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptParams.g.cs +++ b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptParams.g.cs @@ -6,7 +6,7 @@ namespace AssemblyAI { /// /// The parameters for creating a transcript
- /// Example: {"speech_model":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","language_code":"en_us","language_detection":true,"language_confidence_threshold":0.7,"audio_url":"https://assembly.ai/wildfires.mp3","punctuate":true,"format_text":true,"multichannel":true,"webhook_url":"https://your-webhook-url/path","webhook_auth_header_name":"webhook-secret","webhook_auth_header_value":"webhook-secret-value","auto_highlights":true,"audio_start_from":10,"audio_end_at":280,"filter_profanity":true,"redact_pii":true,"redact_pii_audio":true,"redact_pii_audio_quality":"mp3","redact_pii_policies":["us_social_security_number","credit_card_number"],"redact_pii_sub":"hash","speaker_labels":true,"speakers_expected":2,"content_safety":true,"iab_categories":true,"custom_spelling":[],"disfluencies":false,"sentiment_analysis":true,"auto_chapters":true,"entity_detection":true,"speech_threshold":0.5,"summarization":true,"summary_model":"informative","summary_type":"bullets","custom_topics":true,"topics":[],"remove_audio_tags":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","speech_understanding":{"request":{"translation":{"target_languages":["es","de"],"formal":true,"match_original_utterance":true}}}} + /// Example: {"speech_model":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","language_code":"en_us","language_detection":true,"language_confidence_threshold":0.7,"audio_url":"https://assembly.ai/wildfires.mp3","punctuate":true,"format_text":true,"multichannel":true,"webhook_url":"https://your-webhook-url/path","webhook_auth_header_name":"webhook-secret","webhook_auth_header_value":"webhook-secret-value","auto_highlights":true,"audio_start_from":10,"audio_end_at":280,"filter_profanity":true,"redact_pii":true,"redact_pii_audio":true,"redact_pii_audio_quality":"mp3","redact_pii_policies":["us_social_security_number","credit_card_number"],"redact_pii_sub":"hash","speaker_labels":true,"speakers_expected":2,"content_safety":true,"iab_categories":true,"custom_spelling":[],"disfluencies":false,"sentiment_analysis":true,"auto_chapters":false,"entity_detection":true,"speech_threshold":0.5,"summarization":false,"summary_model":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","summary_type":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","custom_topics":true,"topics":[],"remove_audio_tags":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","speech_understanding":{"request":{"translation":{"target_languages":["es","de"],"formal":true,"match_original_utterance":true}}}} ///
public readonly partial struct TranscriptParams : global::System.IEquatable { @@ -29,7 +29,7 @@ namespace AssemblyAI /// /// The parameters for creating a transcript
- /// Example: {"speech_model":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","language_code":"en_us","language_detection":true,"language_confidence_threshold":0.7,"punctuate":true,"format_text":true,"multichannel":true,"webhook_url":"https://your-webhook-url.tld/path","webhook_auth_header_name":"webhook-secret","webhook_auth_header_value":"webhook-secret-value","auto_highlights":true,"audio_start_from":10,"audio_end_at":280,"filter_profanity":true,"redact_pii":true,"redact_pii_audio":true,"redact_pii_audio_quality":"mp3","redact_pii_policies":["us_social_security_number","credit_card_number"],"redact_pii_sub":"hash","speaker_labels":true,"speakers_expected":2,"content_safety":true,"iab_categories":true,"custom_spelling":[],"disfluencies":false,"sentiment_analysis":true,"auto_chapters":true,"entity_detection":true,"speech_threshold":0.5,"summarization":true,"summary_model":"informative","summary_type":"bullets","custom_topics":true,"topics":[],"remove_audio_tags":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","speech_understanding":{"request":{"translation":{"target_languages":["es","de"],"formal":true,"match_original_utterance":true}}}} + /// Example: {"speech_model":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","language_code":"en_us","language_detection":true,"language_confidence_threshold":0.7,"punctuate":true,"format_text":true,"multichannel":true,"webhook_url":"https://your-webhook-url.tld/path","webhook_auth_header_name":"webhook-secret","webhook_auth_header_value":"webhook-secret-value","auto_highlights":true,"audio_start_from":10,"audio_end_at":280,"filter_profanity":true,"redact_pii":true,"redact_pii_audio":true,"redact_pii_audio_quality":"mp3","redact_pii_policies":["us_social_security_number","credit_card_number"],"redact_pii_sub":"hash","speaker_labels":true,"speakers_expected":2,"content_safety":true,"iab_categories":true,"custom_spelling":[],"disfluencies":false,"sentiment_analysis":true,"auto_chapters":false,"entity_detection":true,"speech_threshold":0.5,"summarization":false,"summary_model":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","summary_type":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","custom_topics":true,"topics":[],"remove_audio_tags":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","speech_understanding":{"request":{"translation":{"target_languages":["es","de"],"formal":true,"match_original_utterance":true}}}} ///
#if NET6_0_OR_GREATER public global::AssemblyAI.TranscriptOptionalParams? Value2 { get; init; } diff --git a/src/libs/AssemblyAI/openapi.yaml b/src/libs/AssemblyAI/openapi.yaml index df094d7..2f94a71 100644 --- a/src/libs/AssemblyAI/openapi.yaml +++ b/src/libs/AssemblyAI/openapi.yaml @@ -1269,9 +1269,10 @@ components: auto_chapters: x-label: Auto chapters - description: Enable [Auto Chapters](https://www.assemblyai.com/docs/speech-understanding/auto-chapters), can be true or false + description: Enable [Auto Chapters](https://www.assemblyai.com/docs/speech-understanding/auto-chapters), can be true or false. Deprecated - use [LLM Gateway](https://www.assemblyai.com/docs/llm-gateway/overview) instead for more flexible chapter summaries. See the [updated Auto Chapters page](https://www.assemblyai.com/docs/speech-understanding/auto-chapters) for details. type: boolean default: false + deprecated: true auto_highlights: x-label: Key phrases @@ -1553,20 +1554,23 @@ components: - request summarization: x-label: Enable Summarization - description: Enable [Summarization](https://www.assemblyai.com/docs/speech-understanding/summarization), can be true or false + description: Enable [Summarization](https://www.assemblyai.com/docs/speech-understanding/summarization), can be true or false. Deprecated - use [LLM Gateway](https://www.assemblyai.com/docs/llm-gateway/overview) instead for more flexible summaries. See the [updated Summarization page](https://www.assemblyai.com/docs/speech-understanding/summarization) for details. type: boolean default: false + deprecated: true summary_model: x-label: Summary model - description: The model to summarize the transcript. See [Summary models](https://www.assemblyai.com/docs/speech-understanding/summarization#summary-models) for available models and when to use each. + description: The model to summarize the transcript. Deprecated - use [LLM Gateway](https://www.assemblyai.com/docs/llm-gateway/overview) instead for more flexible summaries. See the [updated Summarization page](https://www.assemblyai.com/docs/speech-understanding/summarization) for details. default: informative + deprecated: true $ref: "#/components/schemas/SummaryModel" summary_type: x-label: Summary type - description: The type of summary. See [Summary types](https://www.assemblyai.com/docs/speech-understanding/summarization#summary-types) for descriptions of the available summary types. + description: The type of summary. Deprecated - use [LLM Gateway](https://www.assemblyai.com/docs/llm-gateway/overview) instead for more flexible summaries. See the [updated Summarization page](https://www.assemblyai.com/docs/speech-understanding/summarization) for details. default: bullets + deprecated: true $ref: "#/components/schemas/SummaryType" remove_audio_tags: @@ -1666,12 +1670,12 @@ components: custom_spelling: [], disfluencies: false, sentiment_analysis: true, - auto_chapters: true, + auto_chapters: false, entity_detection: true, speech_threshold: 0.5, - summarization: true, - summary_model: "informative", - summary_type: "bullets", + summarization: false, + summary_model: null, + summary_type: null, custom_topics: true, topics: [], remove_audio_tags: null, @@ -1736,12 +1740,12 @@ components: custom_spelling: [], disfluencies: false, sentiment_analysis: true, - auto_chapters: true, + auto_chapters: false, entity_detection: true, speech_threshold: 0.5, - summarization: true, - summary_model: "informative", - summary_type: "bullets", + summarization: false, + summary_model: null, + summary_type: null, custom_topics: true, topics: [], remove_audio_tags: null, @@ -2718,8 +2722,9 @@ components: auto_chapters: x-label: Auto Chapters enabled - description: Whether [Auto Chapters](https://www.assemblyai.com/docs/speech-understanding/auto-chapters) is enabled, can be true or false + description: Whether [Auto Chapters](https://www.assemblyai.com/docs/speech-understanding/auto-chapters) is enabled, can be true or false. Deprecated - use [LLM Gateway](https://www.assemblyai.com/docs/llm-gateway/overview) instead for more flexible chapter summaries. See the [updated Auto Chapters page](https://www.assemblyai.com/docs/speech-understanding/auto-chapters) for details. type: [boolean, "null"] + deprecated: true auto_highlights: x-label: Key Phrases @@ -3044,25 +3049,29 @@ components: summarization: x-label: Summarization enabled - description: Whether [Summarization](https://www.assemblyai.com/docs/speech-understanding/summarization) is enabled, either true or false + description: Whether [Summarization](https://www.assemblyai.com/docs/speech-understanding/summarization) is enabled, either true or false. Deprecated - use [LLM Gateway](https://www.assemblyai.com/docs/llm-gateway/overview) instead for more flexible summaries. See the [updated Summarization page](https://www.assemblyai.com/docs/speech-understanding/summarization) for details. type: boolean + deprecated: true summary: x-label: Summary - description: The generated summary of the media file, if [Summarization](https://www.assemblyai.com/docs/speech-understanding/summarization) is enabled + description: The generated summary of the media file, if [Summarization](https://www.assemblyai.com/docs/speech-understanding/summarization) is enabled. Deprecated - use [LLM Gateway](https://www.assemblyai.com/docs/llm-gateway/overview) instead for more flexible summaries. See the [updated Summarization page](https://www.assemblyai.com/docs/speech-understanding/summarization) for details. type: [string, "null"] + deprecated: true summary_model: x-label: Summary model description: | The Summarization model used to generate the summary, - if [Summarization](https://www.assemblyai.com/docs/speech-understanding/summarization#summary-models) is enabled + if [Summarization](https://www.assemblyai.com/docs/speech-understanding/summarization#summary-models) is enabled. Deprecated - use [LLM Gateway](https://www.assemblyai.com/docs/llm-gateway/overview) instead for more flexible summaries. See the [updated Summarization page](https://www.assemblyai.com/docs/speech-understanding/summarization) for details. type: [string, "null"] + deprecated: true summary_type: x-label: Summary type - description: The type of summary generated, if [Summarization](https://www.assemblyai.com/docs/speech-understanding/summarization#summary-types) is enabled + description: The type of summary generated, if [Summarization](https://www.assemblyai.com/docs/speech-understanding/summarization#summary-types) is enabled. Deprecated - use [LLM Gateway](https://www.assemblyai.com/docs/llm-gateway/overview) instead for more flexible summaries. See the [updated Summarization page](https://www.assemblyai.com/docs/speech-understanding/summarization) for details. type: [string, "null"] + deprecated: true remove_audio_tags: x-label: Remove audio tags @@ -3706,33 +3715,16 @@ components: }, custom_spelling: null, throttled: null, - auto_chapters: true, - summarization: true, - summary_type: "bullets", - summary_model: "informative", + auto_chapters: false, + summarization: false, + summary_type: null, + summary_model: null, custom_topics: true, topics: [], speech_threshold: 0.5, remove_audio_tags: null, disfluencies: false, sentiment_analysis: true, - chapters: - [ - { - summary: "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. In some places, the air quality warnings include the warning to stay inside.", - gist: "Smoggy air quality alerts across US", - headline: "Smoke from hundreds of wildfires in Canada is triggering air quality alerts across US", - start: 250, - end: 28840, - }, - { - summary: "Air pollution levels in Baltimore are considered unhealthy. Exposure to high levels can lead to a host of health problems. With climate change, we are seeing more wildfires. Will we be seeing more of these kinds of wide ranging air quality consequences?", - gist: "What is it about the conditions right now that have caused this round", - headline: "High particulate matter in wildfire smoke can lead to serious health problems", - start: 29610, - end: 280340, - }, - ], sentiment_analysis_results: null, entity_detection: true, entities: @@ -3810,7 +3802,8 @@ components: end: 50086, }, ], - summary: '- 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. In some places, the air quality warnings include the warning to stay inside.\n- Air pollution levels in Baltimore are considered unhealthy. Exposure to high levels can lead to a host of health problems. With climate change, we are seeing more wildfires. Will we be seeing more of these kinds of wide ranging air quality consequences?', + chapters: null, + summary: null, speakers_expected: 2, } @@ -6315,21 +6308,16 @@ components: custom_spelling: null, cluster_id: null, throttled: null, - auto_chapters: false, - summarization: false, - summary_type: null, - summary_model: null, custom_topics: null, topics: null, speech_threshold: null, speech_model: null, remove_audio_tags: null, - chapters: null, disfluencies: true, entity_detection: false, entities: null, speakers_expected: null, - summary: null, + summarization: false, sentiment_analysis: false, sentiment_analysis_results: null, }