Flowise
Flowise is a low-code visual tool for building LLM applications and AI agents using a drag-and-drop interface.
Prerequisites
A Flowise instance (self-hosted or cloud)
Your TensorX API key from app.tensorx.ai
Configuration
Flowise connects to TensorX through the ChatOpenAI Custom node, which allows you to specify a custom OpenAI-compatible endpoint.
Step 1: Add ChatOpenAI Custom Node
Open your Flowise canvas
In the left sidebar, navigate to Chat Models
Drag the ChatOpenAI Custom node onto your canvas
Step 2: Configure the Node
Configure the ChatOpenAI Custom node with these settings:
Base Path
https://api.tensorx.ai/v1
Model Name
An ID returned by GET /v1/models
Step 3: Create API Credential
Click the Credential field and select Create New
Select OpenAI API as the credential type
Enter your TensorX API key
Save the credential
Step 4: Adjust Optional Parameters
You can customize these optional settings:
Temperature
Controls randomness (0-1)
0.7
Max Tokens
Maximum response length
Model default
Streaming
Enable streaming responses
true
Example Configuration
Building a Chatflow
Here's how to create a basic chatflow with TensorX:
Add a ChatOpenAI Custom node and configure as shown above
Add a Chat Input node
Connect Chat Input → ChatOpenAI Custom
Add a Chat Output node
Connect ChatOpenAI Custom → Chat Output
Click Save Chatflow
Building an AI Agent
To create an agent with tools:
Add a ChatOpenAI Custom node configured for TensorX
Add an Agent node (e.g., OpenAI Functions Agent)
Connect your model to the Agent's LLM input
Add tool nodes (Calculator, Web Search, etc.)
Connect tools to the Agent
Add Chat Input and Chat Output nodes
For agent workflows that require tool calling, query GET /v1/model/info and select a model whose supports_function_calling value is true.
Model selection
Call GET /v1/models with your TensorX API key and use one of the returned IDs. If the integration depends on a capability or token limit, query GET /v1/model/info before selecting the model. See Models for examples.
Troubleshooting
"Invalid API Key" Error
Verify your API key at app.tensorx.ai
Ensure the credential type is set to OpenAI API
Check that the Base Path is exactly
https://api.tensorx.ai/v1
"Model Not Found" Error
Use the full model ID including the provider
Check available models at tensorx.ai/models
Streaming Issues
If responses are slow or not streaming:
Enable the Streaming option in the node settings
Ensure your Flowise version supports streaming
Support
Need help? Contact us at support@tensorx.ai
Last updated
Was this helpful?

