Generate Text Block Settings
Configure these settings for the Send Message Block.
Create the Message
Enter in the Message setting the message to sent to the AI model to generate a text response. Reference Variables in messages sent to the AI model by using double curly braces around the Variable name. When the message is sent to the AI model, the contents stored by the Variable replace the Variable reference.
Example: {{VariableName}}
Response Behavior
From the Response Behavior drop-down menu, select how to render the AI model’s response:
Display to User (default setting)
Display the AI model’s response to the app user.
From the Sender drop-down menu, select which agent sends the message:
User: The app sends the synthetic message on behalf of the user. The contents of the message are sent to the AI model. The AI model’s response is displayed to the app user. This is the default setting.
System: The app sends the synthetic message directly to the user to simulate the AI model’s response.
Assign to Variable
The AI model’s response is assigned to a Variable.
In the Variable Name setting, enter the Variable name to assign the AI model’s response.
Model Settings
MindStudio allows you to process messages in the Generate Text block with any available LLM. Your underlying model will be selected by default.
![](https://docs.mindstudio.ai/~gitbook/image?url=https%3A%2F%2F3216313986-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FpGwRPnWO6pBvzbcecqLI%252Fuploads%252FKZWysU6cSV0wNEjdaNYk%252FGenerate%2520Text%25201.png%3Falt%3Dmedia%26token%3D4a1670c0-80de-4e26-97ca-ac812eb54134&width=768&dpr=4&quality=100&sign=c7090d44&sv=1)
Last updated