ImagePlayground.AddExtractedConcept
-----------------------------------

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.AddExtractedConcept"; Text; Title ) 

**MBS**( **"ImagePlayground.AddExtractedConcept";** /\* Adds a concept. \*/  
**$Text**; /\* Suitable for long strings, like paragraphs or entire documents.  
The system will try to extract important or interesting concepts from the string and add them to the playground, so that each concept becomes an input prompt to the diffusion models.  
However, if the string does not meet the minimum length required for concept extraction, it might decide to use the string as-is as input prompt. \*/   
**$Title**) /\* Helps guiding the extraction of concepts from text by providing a summary of the contents of text. \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Text | Suitable for long strings, like paragraphs or entire documents.   The system will try to extract important or interesting concepts from the string and add them to the playground, so that each concept becomes an input prompt to the diffusion models.   However, if the string does not meet the minimum length required for concept extraction, it might decide to use the string as-is as input prompt. |  |
| Title | Helps guiding the extraction of concepts from text by providing a summary of the contents of text. |  |

### Result

Returns OK or error.

### Description

Adds a concept.  
Builds a playground concept by extracting multiple concepts from a long text that describes the contents of the image and a title that concisely summarizes the contents of the text.  
### Examples

Add concept:

 Set Variable \[ $r ; Value: MBS ("ImagePlayground.AddExtractedConcept"; "Mountains with trees"; "Waldberge") \]  
### See also

- [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

  
[ImagePlayground.AddConcept](ImagePlaygroundAddConcept.md) - [ImagePlayground.Available](ImagePlaygroundAvailable.md)

[HTML Version](ImagePlaygroundAddExtractedConcept.shtml)