PDF (US Ltr)
- 1.4Mb
PDF (A4)
- 1.4Mb
Abstract
This document describes how to use MySQL AI. It covers how to load data, run queries, optimize analytics workloads, and use machine learning and generative AI capabilities.
For legal information, see the Preface and Legal Notices.
For help with using MySQL, please visit the MySQL Forums, where you can discuss your issues with other MySQL users.
Document generated on: 2025-09-10 (revision: 83501)
Table of Contents
- Preface and Legal Notices
- 1 Introduction to MySQL AI
- 2 Installing MySQL AI
- 3 Loading Data in MySQL AI
- 4 Training and Using Machine Learning Models
- 5 AI-Powered Search and Content Generation
- 5.1 About GenAI
- 5.2 Additional GenAI Requirements
- 5.3 Required Privileges for using GenAI
- 5.4 Supported LLM, Embedding Model, and Languages
- 5.5 Generating Text-Based Content
- 5.6 Setting Up a Vector Store
- 5.7 Generating Vector Embeddings
- 5.8 Performing Vector Search with Retrieval-Augmented Generation
- 5.9 Starting a Conversational Chat
- 6 Review Performance and Usage
- 7 MySQL AI Routines
- 7.1 AutoML Routines
- 7.1.1 ML_TRAIN
- 7.1.2 ML_EXPLAIN
- 7.1.3 ML_MODEL_EXPORT
- 7.1.4 ML_MODEL_IMPORT
- 7.1.5 ML_PREDICT_ROW
- 7.1.6 ML_PREDICT_TABLE
- 7.1.7 ML_EXPLAIN_ROW
- 7.1.8 ML_EXPLAIN_TABLE
- 7.1.9 ML_SCORE
- 7.1.10 ML_MODEL_LOAD
- 7.1.11 ML_MODEL_UNLOAD
- 7.1.12 ML_MODEL_ACTIVE
- 7.1.13 Model Types
- 7.1.14 Optimization and Scoring Metrics
- 7.2 GenAI Routines
- 8 Troubleshoot