Introduction
The BeanShell Prompt allows you to run custom Java code within your AI agent or application. This is useful for performing advanced logic, manipulating data, or preparing inputs dynamically before passing them to the AI or other components.
...
Use Beanshell when you need custom calculations, conditional processing, or any logic that goes beyond simple configuration.
Get started
How to use it
To use the BeanShell Element, add the Beanshell prompt:
- Locate the BeanShell element under the Prompts section of the palette.
- Drag and drop the File element into the Drop a prompt here section.
Configure form properties
To properly integrate and configure the BeanShell, set the following fields:
...