---
title: "AI & ML"
description: "Lytics AI and machine learning capabilities for schema management, content generation, and predictive analytics."
url: "https://www.contentstack.com/docs/lytics/ai-ml"
product: "Contentstack"
doc_type: "guide"
audience:
  - developers
  - admins
version: "current"
last_updated: "2026-11-05"
---

# AI & ML

Lytics AI and machine learning capabilities for schema management, content generation, and predictive analytics.

## Introduction

Lytics integrates AI and machine learning throughout the platform to help you work more efficiently with your customer data. These capabilities span several areas:

*   **Schema Suggestions**: AI-powered analysis of your incoming data to recommend field definitions and mappings.
*   **SQL Generation**: Natural language to SQL translation for querying your connected data sources.
*   **Template Generation**: LLM-powered generation of data transformation templates in Jsonnet, Handlebars, or JavaScript.
*   **Segment Translation**: Convert SegmentQL expressions into human-readable descriptions.
*   **Behavioral Scores**: Predictive scoring models that quantify user engagement patterns.
*   **Predictive Modeling**: Build lookalike and predictive audiences using ML models.

Each of these features is covered in detail in the sections below.