Newer Version Available
ApexMap Class
Create, clone, and convert string based key-value pairs to a JSON string
format.
Namespace
ApexMap Constructors
Learn more about the constructors available with the ApexMap class.
The ApexMap class includes these constructors.
ApexMap(key, value)
Initializes a new instance of the ApexMap class by assigning the specified key and value.
This constructor creates a single key–value entry that can be included in an embedded AI Apex
map for passing contextual data to embedded AI logic.
Signature
public ApexMap(String key, String value)
1embeddedai.ApexMap, newinstance, [String, String], embeddedai.ApexMapParameters
- key
- Type: String
-
The unique identifier for an entry in the embedded AI Apex map. This key references and retrieves the associated value during embedded AI processing.
- value
- Type: String
-
The data associated with the specified key in the embedded AI Apex map. This value stores the contextual information consumed by embedded AI logic.
ApexMap Properties
These are the properties for ApexMap.