---
schema_version: "1"
id: 9d25e97c65cdfd6016a82ce0d10ae34c42582df5cb9589b1bff60d56fb559520
title: embeddedai Namespace
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_namespace_embeddedai.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_namespace_embeddedai.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: c6a87a5a19bc25dc7d87aa7c4b8b107de8447cddcb154b5f93c5240835216845
description: The embeddedai namespace provides classes and methods to manage and represent records and data in Apex to support embedded AI features.
---
# embeddedai Namespace

The embeddedai namespace provides classes and methods to manage and represent records and data in Apex to support embedded AI features.

These are the classes in the embeddedai namespace.

- **[ApexMap Class](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_embeddedai_ApexMap.htm#apex_class_embeddedai_ApexMap)**  
    Create, clone, and convert string based key-value pairs to a JSON string format.
- **[RecordApexRepresentation Class](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_embeddedai_RecordApexRepresentation.htm#apex_class_embeddedai_RecordApexRepresentation)**  
    Contains properties and a method to create a serializable representation of a record and its associated data for AI service integration and data processing.