Flowise is an open-source LLM application builder that enables users to create LLM applications using drag-and-drop tools. TrueFoundry integrates seamlessly with Flowise, allowing you to deploy your Flowise applications through TrueFoundry’s Gateway.TrueFoundry’s AI Gateway provides comprehensive integration with Flowise, routing all LLM calls through the Gateway to ensure your applications are secure, compliant, and cost-effective through the Gateway’s built-in features.
Before integrating Flowise with TrueFoundry, ensure you have:
TrueFoundry Account: Create a Truefoundry account with atleast one model provider and generate a Personal Access Token by following the instructions in Generating Tokens
Now you’ll create an agent that uses TrueFoundry’s Gateway for LLM calls:
Navigate to AgentFlow: In the left sidebar, click on “AgentFlow” to access the workflow builder
AgentFlow
Add a New Node: Click the “Add Node” button to start building your workflow
Add Node
Connect Start Node: Make sure to create a connection from the Start node to your AgentFlow node. This is crucial for the workflow to function properly.
This is the most important step where you connect your agent to TrueFoundry’s models:
Configure the Agent Node:
Click on your agent node to open the configuration panel
Select Credential: Choose the TrueFoundry credential you created in Step 2
Base URL and Model Name: You will get both the base URL and model name from the unified code snippet in our playground (ensure you use the same model name as written)
Get Base URL and Model Name from Unified Code Snippet
Additional Settings: Configure any other parameters like temperature, max tokens, etc., as needed