Menganalisis Ulasan Pelanggan dengan Gemini Menggunakan SQL Ulasan
12380 ulasan
Patrick J. · Diulas hampir 2 tahun lalu
The llm failed to produce valid json. CREATE OR REPLACE TABLE `gemini_demo.customer_reviews_cs_response` AS ( SELECT ml_generate_text_llm_result, social_media_source, review_text, customer_id, location_id, review_datetime FROM ML.GENERATE_TEXT( MODEL `gemini_demo.gemini_pro`, ( SELECT social_media_source, customer_id, location_id, review_text, review_datetime, CONCAT( 'How would you respond to this customer review? If the customer says the coffee is weak or burnt, respond stating "thank you for the review we will provide your response to the location that you did not like the coffee and it could be improved." Or if the review states the service is bad, respond to the customer stating, "the location they visited has been notfied and we are taking action to improve our service at that location." From the customer reviews provide actions that the location can take to improve. The response and the actions should be simple, and to the point. Do not include any extraneous or special characters in your response. Answer in JSON format with two keys: Response, and Actions. Response should be a string. Actions should be a string.', review_text) AS prompt FROM `gemini_demo.customer_reviews` WHERE customer_id = 8844 ), STRUCT( 0.2 AS temperature, TRUE AS flatten_json_output))); returned ```json { "Response": "Thank you for the review. We are sorry to hear that you had a negative experience at our coffee truck. We have notified the location that you visited and we are taking action to improve our service and the quality of our coffee and pastries. We appreciate your feedback and we will use it to make our business better.", "Actions": "The location has been notified of the customer's feedback and is taking the following actions to improve:\n\n* Staff will be retrained on customer service to ensure that all customers receive prompt and courteous service.\n* The coffee brewing process -- yes i did expand the cell -- This caused the formatting query to fail, Action was null.
Jozsef C. · Diulas hampir 2 tahun lalu
ME24B023 L. · Diulas hampir 2 tahun lalu
Md Iftekhar . · Diulas hampir 2 tahun lalu
Zhan C. · Diulas hampir 2 tahun lalu
Nicola G. · Diulas hampir 2 tahun lalu
Julien M. · Diulas hampir 2 tahun lalu
Cédric M. · Diulas hampir 2 tahun lalu
Ayadi S. · Diulas hampir 2 tahun lalu
Vincent D. · Diulas hampir 2 tahun lalu
Arnaud M. · Diulas hampir 2 tahun lalu
Yomna M. · Diulas hampir 2 tahun lalu
Nour S. · Diulas hampir 2 tahun lalu
Dmitry P. · Diulas hampir 2 tahun lalu
good one
Deepak R. · Diulas hampir 2 tahun lalu
Srinivasa Rao N. · Diulas hampir 2 tahun lalu
Alain I. · Diulas hampir 2 tahun lalu
steven d. · Diulas hampir 2 tahun lalu
Adel A. · Diulas hampir 2 tahun lalu
Kentaro I. · Diulas hampir 2 tahun lalu
nice
Abhishek S. · Diulas hampir 2 tahun lalu
Aku sangat suka leb ini
Citra A. · Diulas hampir 2 tahun lalu
Sergei L. · Diulas hampir 2 tahun lalu
Jingle Q. · Diulas hampir 2 tahun lalu
Cemile A. · Diulas hampir 2 tahun lalu
Kami tidak dapat memastikan bahwa ulasan yang dipublikasikan berasal dari konsumen yang telah membeli atau menggunakan produk terkait. Ulasan tidak diverifikasi oleh Google.