Conduct A/B Testing on AI Prompts with Supabase and OpenAI - n8n Workflow | Neura Market
Conduct A/B Testing on AI Prompts with Supabase and OpenAI
This workflow facilitates A/B testing by randomly assigning chat sessions to either a baseline or alternative prompt using Supabase and OpenAI. It helps optimize AI interactions by evaluating different prompt settings.
The workflow is designed to test different AI prompt settings by splitting chat sessions into two groups: baseline and alternative. It checks if a session already exists in the Supabase table and assigns a prompt accordingly. The assigned prompt is then used throughout the chat session to generate responses. This setup allows for effective comparison and optimization of language model prompts.
Platform
n8n
Category
AI
Price
Free
Creator
Nadia Popov
if
set
supabase
stickyNote
agent
chatTrigger
lmChatOpenAi
memoryPostgresChat
How to import this workflow into n8n
1Purchase or download the workflow to get the n8n workflow JSON file.
2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
3Open each node marked with a credential warning and connect your own accounts and API keys.
4Run the workflow once manually to verify the data flow, then toggle it to Active.