Flow Properties
Setting Up a Property
Often we want to evaluate a Flow using different properties like switching out the index, changing the model and model parameters. With BotDojo, any property on a Node can be made a property of the Flow the Node is in.
- Open a Flow
- Click on Setting (Gear)
- Click Properties
- Click Add Property
- Select the Property (aka Language Model)
- Click Update
-c9fdf935e5a470f6a324c87045762402.gif)
Language Model Defaults
Language model properties can be configured with an ordered default selection. In the property's User Configurable settings, enable Limit to specific models, choose the models users may select, then enable Pick the first connected model when no model is selected.
When the flow runs and the property is unset, BotDojo checks the ordered list and uses the first model whose provider has a connection available to the project. If a user, workspace, schedule, or API request explicitly sets the model, that explicit value is used instead.
Flow Properties with Batches
Leveraging Flow Properties is useful when running different scenarios with batches. Scenarios with Batches
Using a Flow as a Node
With BotDojo, any Flow can be a Node in other Flows. This makes it easy to build reliable AI modules and build more advanced functionality. Any Property you add to your Flow will be a Property of the Node. Here is what our ChatBot looks like as a Node.
