QuestionQ70

VerifiedDesign scalable and highly available cloud database solutions

You have a Cloud SQL for MySQL instance containing a product-information table, including a product-description column. Your application development team is building a customer-facing chatbot and wants to find the product that most closely matches a freeform text description supplied by the customer. How should you enable this functionality?

Explanation

Semantic product matching is performed by generating vector embeddings for product descriptions and for the customer's freeform text, then retrieving the vectors with the smallest similarity distance. Cloud SQL for MySQL supports embedding columns, vector indexes, and approximate nearest neighbor (ANN) vector similarity searches for this purpose.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!