What it does
This n8n workflow randomly assigns each chat session to one of two prompts, a baseline or an alternative. A Supabase table records which prompt each session received, so the conversation keeps the same prompt for every message. OpenAI generates the replies and PostgreSQL stores the chat memory.
Use cases
- 01Compare a baseline prompt with a new version
- 02Check which prompt each chat session received
- 03Test a new prompt on part of live traffic
Connects
Supabase · AI Agent · OpenAI Chat Model · Postgres Chat Memory