Quickstart
Last updated
Last updated
Empromptu is an AI Accuracy Platform that helps you create and optimize your AI application to deliver 98% accuracy and reliability automatically.
We start optimizing your AI responses by refining the prompts that drive them. Instead of writing your prompts in plain text and tinkering with them, we use agents and AI to send your prompt to our prompt registry where we will send you a fully optimized prompt back in real-time with low latency.
Our goal is to ensure that for every user input into your system, you achieve at least 98% accurate outputs. This guide is designed to get you up and running quickly no matter if you are a hobbyist developer to the most sophisticated AI team.
.
If you want to experiment with Empromptu in a new or demo environment, setting up that environment is easy. If you already have an application to install Empromptu's library you can skip to step 1.
First, install python 3.11 or higher::
sudo apt install python3.11 --upgrade
Start a new virtualenv (or whatever system you prefer):
virtualenv -p python3.11 venv && source venv/bin/activate
In your terminal:
Go to the Empromptu Sign-Up Page → [Insert Sign-Up Link] and register using your email and create a password.
Head to the Settings page.
Copy your API key.
Using a code editor open the application where you want to use Empromptu
Find where you call your LLM
Import Empromptu’s Library and the debugger library by pasting the following lines at the top of the file.
(Note: You can always turn off the debugger later)
Paste the debugger lines and your Empromptu API key at the top of the file.
This is the most important step of Empromptu. We are going to replace where you define your prompts with an optimized prompt from Empromptu's prompt library.
Grab your custom Integration Code Snippet.
Find where you send your prompt to your LLMs.
Paste Empromptu’s Prompt Registry, Auto Scorer, and Auto Logger in the place where you call your prompts.
Find where you send your prompt to your LLMs.
Paste the following code snippet, Empromptu’s Prompt Registry, Auto Scorer, and Auto Logger in the place where you call your prompts
Once you run your code. You should see data show up on the dashboard and on the inputs page.
Lets review what you have accomplished:
You have installed Empromptu's library which includes, your new prompt registry, an auto-logger, our custom models to score all of your prompts to ensure that you are getting the most accurate and reliable prompts in real time with low latency.
Create new prompts using
Empromptu's UI
In your code
Define or upload your evaluations
Optimize your input data
Optimize your edge cases.
If you are setting up a new environment, check out our .
If you get stuck on this step, please do not hesitate to chat with a .
Go to our UI and create a that describes your AI Flow
Want to get fancy? You can discover and configure all of your options by visiting our
Are you stuck? We're on standby to help. Talk to a technical expert