Transforming buyer suggestions: analyzing audio buyer opinions with BigQuery ML’s speech-to-text
BigQuery’s built-in speech-to-text performance presents a robust instrument for unlocking worthwhile insights hidden inside audio information. This service transcribes audio information, similar to buyer evaluate calls, into textual content format, making them prepared for evaluation inside BigQuery’s strong information platform. By combining speech-to-text with BigQuery’s analytics capabilities, you may delve into buyer sentiment, establish recurring product points, and achieve a greater understanding of the voice of your buyer.
BigQuery speech-to-text transforms audio information into actionable insights, providing potential advantages throughout industries and enabling a deeper understanding of buyer interactions throughout a number of channels. You can even use BigQuery ML to leverage Gemini 1.0 Pro to achieve further insights & information formatting similar to entity extraction and sentiment evaluation to the textual content extracted from audio information utilizing BigQuery ML’s native speech-to-text functionality. Below are some use instances and the enterprise worth for particular industries:
|
Industry |
Use Cases |
Business Potential |
|
Retail/E-commerce |
Analyzing buyer name recordings to establish widespread ache factors, product preferences, and general sentiment |
|
|
Healthcare |
Transcribing patient-doctor interactions to robotically populate medical records, summarize diagnoses, and observe remedy progress |
|
|
Finance |
Analyzing earnings calls and shareholder conferences to gauge market sentiment, establish potential dangers, and extract key insights |
|
|
Media & Entertainment |
Transcribing podcasts, interviews, and focus teams for content material evaluation and viewers insights |
|
Using superior AI options similar to BigQuery ML, you continue to have entry to the entire built-in governance options of BigQuery, which provide the skill to have entry management passthrough, so you may prohibit insights from buyer audio information primarily based upon row-level safety you will have in your BigQuery Object Table.
Ready to show your audio information into insights? Let’s dive into how you need to use speech-to-text in BigQuery:
Imagine you will have a set of buyer suggestions calls saved as audio information in a Google Cloud Storage bucket. BigQuery’s ML.TRANSCRIBE perform, linked to a pre-trained speech-to-text mannequin hosted on Google’s Vertex AI platform, allows you to robotically convert these audio information into readable textual content inside BigQuery. Think of it as a specialised translator for audio information. You inform the ML.TRANSCRIBE perform the place your audio information are situated (in your object desk) and which speech-to-text mannequin to make use of. It then handles the transcription course of, utilizing the ability of machine studying, and delivers the textual content outcomes instantly into BigQuery. This makes it simple to research buyer conversations alongside different enterprise information.
Let’s stroll via the method collectively in BigQuery.
Setup directions:
-
Before beginning, select your Google Cloud mission, hyperlink a billing account, and allow the mandatory API, full directions right here
-
Create a recognizer, a recognizer shops the configuration for speech recognition and is non-compulsory to create
-
Create a cloud useful resource connection and get the connection’s service account, full information right here
-
Grant entry to the service account by following the steps right here.
-
Create a dataset that can include the mannequin and the item desk by following the steps right here
-
Download and retailer the audio information within the Google Cloud Storage
-
Download 5 audio information from right here
-
Create a bucket in Google Cloud Storage and a folder throughout the bucket
-
Upload the downloaded audio information within the folder
Create a mannequin
Create a distant mannequin with a REMOTE_SERVICE_TYPE of CLOUD_AI_SPEECH_TO_TEXT_V2. A mannequin makes the speech to textual content API accessible inside BigQuery.
Syntax:
- code_block
- <ChecklistValue: [StructValue([(‘code’, "CREATE OR REPLACE MODELrn`PROJECT_ID.DATASET_ID.MODEL_NAME`rnREMOTE WITH CONNECTION `PROJECT_ID.REGION.CONNECTION_ID`rnOPTIONS (rn REMOTE_SERVICE_TYPE = ‘CLOUD_AI_SPEECH_TO_TEXT_V2’,rn SPEECH_RECOGNIZER = ‘projects/PROJECT_NUMBER/locations/LOCATION/recognizers/RECOGNIZER_ID’rn);"), (‘language’, ”), (‘caption’, <wagtail.rich_text.RichText object at 0x3e03aa6a9c70>)])]>
Example question:
- code_block
- <ChecklistValue: [StructValue([(‘code’, "CREATE OR REPLACE MODELrn`demo_project.speech_to_text_demo_dataset.speech_to_text_bq_model`rnREMOTE WITH CONNECTION `demo_project.us.speech_to_text_demo`rnOPTIONS (rn REMOTE_SERVICE_TYPE = ‘CLOUD_AI_SPEECH_TO_TEXT_V2’rn);"), (‘language’, ”), (‘caption’, <wagtail.rich_text.RichText object at 0x3e03aa6a9550>)])]>
Create an object desk to reference the audio information
Syntax:
- code_block
- <ChecklistValue: [StructValue([(‘code’, "CREATE EXTERNAL TABLE `PROJECT_ID.DATASET_ID.TABLE_NAME`rnWITH CONNECTION `PROJECT_ID.REGION.CONNECTION_ID`rnOPTIONS(rn object_metadata = ‘SIMPLE’,rn uris = [‘BUCKET_PATH'[,…]],rn max_staleness = STALENESS_INTERVAL,rn metadata_cache_mode = ‘CACHE_MODE’);"), (‘language’, ”), (‘caption’, <wagtail.rich_text.WealthyText object at 0x3e03a6947be0>)])]>
Sample code:
Please exchange 'BUCKET_PATH' together with your Google Cloud Storage bucket/folder path the place audio information are saved
- code_block
- <ChecklistValue: [StructValue([(‘code’, "CREATE EXTERNAL TABLE `demo_project.speech_to_text_demo_dataset.demo_obj_tb`rnWITH CONNECTION `demo_project.us.speech_to_text_demo`rnOPTIONS(rn object_metadata = ‘SIMPLE’,rn uris = [‘BUCKET_PATH’],rn max_staleness = INTERVAL 1 DAY,rn metadata_cache_mode = ‘AUTOMATIC’);"), (‘language’, ”), (‘caption’, <wagtail.rich_text.WealthyText object at 0x3e03a6947850>)])]>
Transcribe audio information utilizing BigQuery ML
Syntax:
- code_block
- <ChecklistValue: [StructValue([(‘code’, "SELECT *rnFROM ML.TRANSCRIBE(rn MODEL `PROJECT_ID.DATASET_ID.MODEL_NAME`,rn TABLE `PROJECT_ID.DATASET_ID.OBJECT_TABLE_NAME`,rn RECOGNITION_CONFIG => ( JSON ‘recognition_config’)rn);"), (‘language’, ”), (‘caption’, <wagtail.rich_text.RichText object at 0x3e03a6947cd0>)])]>
Sample question:
- code_block
- <ChecklistValue: [StructValue([(‘code’, ‘SELECT *rnFROM ML.TRANSCRIBE(rn MODEL `demo_project.speech_to_text_demo_dataset.speech_to_text_bq_model`,rn TABLE `demo_project.speech_to_text_demo_dataset.demo_obj_tb`,rn RECOGNITION_CONFIG =>( JSON ‘{"language_codes": ["en-US" ],"mannequin": "telephony","auto_decoding_config": {}}’)rn);’), (‘language’, ”), (‘caption’, <wagtail.rich_text.WealthyText object at 0x3e03a6947dc0>)])]>
Result:
The outcomes of ML.TRANSCRIBE embrace these columns:
-
transcripts: Contains the textual content transcription of the processed audio information
-
ml_transcribe_result: JSON worth that accommodates the end result from the Speech-to-Text API
-
ml_transcribe_status: Contains a string worth that signifies the success or failure of the transcription course of for every row. It will probably be empty if the method is profitable
-
The object desk columns
The ML.TRANSCRIBE perform eliminates the necessity for handbook transcription, saving effort and time. Transcribed textual content turns into simply searchable and analyzable inside BigQuery, enabling you to extract worthwhile insights out of your audio information.
Follow-up Ideas
-
Take the textual content extracted from the audio information, and use Gemini 1.0 Pro with BigQuery ML’s ML.generate_text perform, to extract entities similar to product names, inventory costs, or different kinds of entity information you need to extract and construction them in JSON.
-
Use Gemini 1.0 Pro with BigQuery ML to measure sentiment evaluation of the extracted textual content, and construction optimistic & adverse sentiments in JSON.
-
Join buyer suggestions verbatims & sentiment scores with Customer Lifetime Total Value rating or different related buyer information to see how quantitative information & qualitative information relate to one another.
-
Generate embeddings over the extracted textual content, and use vector search to go looking the audio information for particular content material.
Curious to study extra? The official Google Cloud documentation on ML.TRANSCRIBE has all the small print. Please additionally try the weblog on Gemini 1.0 Pro assist for BigQuery ML to see different GenAI use instances as outlined within the Follow-up concepts.
HI-FI News
through AI & Machine Learning https://ift.tt/cOt4GMu
April 29, 2024 at 06:09PM
-
Product on sale
Audiophile Vinyl Records Cleaning BundleOriginal price was: €69.90.€59.90Current price is: €59.90. incl. VAT -
Product on sale
Easy Start Vinyl Records Cleaning KitOriginal price was: €69.90.€59.90Current price is: €59.90. incl. VAT -
Vinyl Records Cleaner Easy Groove Concentrate€34.95 incl. VAT -
Easy Groove Super Set€199.00 incl. VAT -
Easy Groove Enzycaster – vinyl records prewash cleaner€34.95 incl. VAT -
Easy Groove Extreme MK. II- vinyl records prewash cleaner€45.00 incl. VAT -
Vinyl Records Cleaner – Easy Groove Virgin Concentrate€35.00 incl. VAT -
Easy Groove Spray&Wipe vinyl records cleaner€34.95 incl. VAT








