Each of the above files will give Flowise AI enough details to execute the chatflow. Each provides different runtime values though. The first configuration is designed to upsert the FlowiseAI github repository and the second one is designed to upsert the FluentCLI github repository.
Required entries for all configuration files follow:
name: The name that is called from the terminal after the fluent command.
engine: The engine that the flow is configured to use. [flowise, langflow]
protocol: https/http
hostname: the hostname of your flowise or langflow server
port: the port of service endpoint
chat_id: the unique flow id from flowise or langflow
sessionId: a unique session id you can use across all chatflows.
bearer_token: points to an amber secret containing the api key
overrideConfig: An array of override options available for almost all of the flowise chatflows
tweaks: An array of override options availalbe for almost all of the langflow chatflows
Creating a new Flowise Fluent configuration
First, open your config.json file in a code editor; something with JSON code folding is useful. Then, duplicate one of the existing example flows.
Open one of your Flowise Chatflows, and select the code icon in the upper right corner.
In the resulting window, select curl
You can grab the chat_id in the curl window. It looks like 225a8391-4e6b-4815-af6e-51993c2c2185 above. Replace this entry in the chat_id value of the flow.
Do the same for the hostname, 9d81nz4o.rpcld.co above.
If you want to add any of the overrides, the options are all available in this window. They show how the JSON should be defined. In practice, this seems to work for a very large number of Flowise configurations.
I have noticed that some of the new Tool agents override through form, which will be addressed in the future.
If you have done everything right up to this point, you should now be able to run. If anything is wrong, it should output a meaningful error about what part of the Environment or configuration is not working correctly.
fluent<yourflowname>"This is my first fluent question'