ImagePlayground.AddConcept
--------------------------

Adds a concept.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [ImagePlayground](component_ImagePlayground.md) | [15.0](newinversion150.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |

MBS( "ImagePlayground.AddConcept"; Text ) 

**MBS**( **"ImagePlayground.AddConcept";** /\* Adds a concept. \*/  
**$Text**) /\* Suitable for short strings, like single words or brief sentences.  
The system will try to add this string to the playground in order to use it as input prompt to the generation models.  
However, if the string exceeds the maximimum length supported by the models, it might decide to shorten it by extracting important or interesting concepts and use those as input prompts.e.g. "cat" \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Text | Suitable for short strings, like single words or brief sentences.   The system will try to add this string to the playground in order to use it as input prompt to the generation models.   However, if the string exceeds the maximimum length supported by the models, it might decide to shorten it by extracting important or interesting concepts and use those as input prompts. | "cat" |

### Result

Returns OK or error.

### Description

Adds a concept.  
Builds a playground concept by parsing a short text that describes the contents of the image.  
### Examples

Add concept:

 Set Variable \[ $r ; Value: MBS ("ImagePlayground.AddConcept"; "Cat") \]  
### See also

- [ImagePlayground.ClearConcepts](ImagePlaygroundClearConcepts.md)
- [ImagePlayground.ConceptCount](ImagePlaygroundConceptCount.md)
- [ImagePlayground.Create](ImagePlaygroundCreate.md)
- [ImagePlayground.Present](ImagePlaygroundPresent.md)

### Example Databases

- [Mac only/ImagePlayground](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Mac%20only/ImagePlayground.shtml#1ScriptAnchor_)

### Blog Entries

- [Use Image Playground in FileMaker](https://www.mbsplugins.de/archive/2024-12-18/Use_Image_Playground_in_FileMa/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 15th December 2024 , last changed 15th December 2024

  
[ImagePicker.WriteVideoToSavedPhotosAlbum](ImagePickerWriteVideoToSavedPhotosAlbum.md) - [ImagePlayground.AddExtractedConcept](ImagePlaygroundAddExtractedConcept.md)

[HTML Version](ImagePlaygroundAddConcept.shtml)