Flowise AI Integration

Flowise AI Integration

Flowise AI is a visual LLM builder that allows you to create AI agents and workflows through a drag-and-drop interface. With Opik integration, you can analyze and troubleshoot your chatflows and agentflows to improve performance and user experience.

This is a native UI integration that works directly within the Flowise AI interface. No Python code is required to set up the integration.

Overview

Flowise AI provides a visual interface for building AI applications, and Opik integration enables comprehensive analytics and monitoring of your AI workflows. This integration allows you to track performance metrics, monitor user interactions, and analyze conversation flows directly from the Flowise AI interface.

Setup Instructions

1. Access Configuration

  1. At the top right corner of your Chatflow or Agentflow, click Settings > Configuration

    Flowise Configuration Menu - placeholder

  2. Navigate to the Analyse Chatflow section

    Flowise Analytics Section

  3. You will see a list of analytics providers, including Opik

2. Configure Opik Integration

  1. Click on Opik from the list of analytics providers

  2. Create credentials for Opik:

    • API Key: Your Opik API key (obtain from your Opik workspace)
    • Workspace: Your Opik workspace name
    • Project: Your Opik project name
    • Server URL: Your Opik server URL (if using self-hosted)

    Opik Configuration Fields

  3. Fill in other configuration details as required

  4. Turn the provider ON

    Analytics Providers Enabled

    Analytics Configuration Complete

3. Verify Integration

Once configured, you can analyze your chatflows and agentflows using the Opik UI dashboard. The integration will automatically start tracking:

  • User interactions
  • Agent responses
  • Performance metrics
  • Error rates
  • Conversation flows

Opik UI Dashboard

What Gets Tracked

When you enable the Opik integration in Flowise AI, the following data is automatically captured:

  • Chatflow/Agentflow executions: Complete workflow runs with inputs and outputs
  • User interactions: All user messages and system responses
  • Performance metrics: Response times and execution durations
  • Error tracking: Any failures or exceptions during execution
  • Conversation context: Full conversation history and flow state

Viewing Data in Opik

After setting up the integration, you can view your Flowise AI data in the Opik dashboard:

  1. Traces: Each chatflow or agentflow execution creates a trace
  2. Spans: Individual steps and interactions within workflows
  3. Metrics: Performance and usage statistics
  4. Feedback: Manual annotations and evaluations

Next Steps

After setting up the Flowise AI integration:

  1. Test the Integration: Run a few test chatflows to verify data is being captured
  2. Explore Analytics: Use the Opik dashboard to analyze your workflow performance
  3. Set Up Monitoring: Configure alerts for performance issues or errors
  4. Optimize Workflows: Use insights to improve your AI applications

Getting Help

If you encounter issues with the Flowise AI integration:

  1. Check the Opik documentation
  2. Review Flowise AI documentation
  3. Contact Opik support for technical assistance

The Flowise AI integration with Opik provides powerful analytics capabilities to help you build, monitor, and optimize your AI applications effectively.