Skip to content

Latest commit

 

History

History

ab-testing-client-side

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Client-side A/B testing two prompts

In this notebook, you will learn how to do a simple A/B test between two different prompts, using Literal AI's Thread observability but running the test client-side.

Setup

To install dependencies, run:

pip install -r requirements.txt

Create and set your Literal AI and OpenAI API keys in .env:

cp .env.example .env