Setup and Installation
Create an account and install DeepEval
Overview
To use Confident AI, you will need to setup initially through DeepEval, our open-source SDK for running LLM evals. You'll need to:
- Create a free account
- Login with your Confident API key in DeepEval
Login with your API key
Install DeepEval
At the root of your project directory, install
deepeval:pip install -U deepevalCreate an account
Navigate to app.confident-ai.com and create a free account. Once logged in, you'll be able to access your project API key from the dashboard.
Set API key as env variable
Set your project API key as an environment variable:
export CONFIDENT_API_KEY="confident_us..."Alternatively, you can login directly using DeepEval:
deepeval loginThis will prompt you to enter your API key and save it locally.
Install DeepEval
At the root of your project directory install the TypeScript SDK:
npm install deepevalCreate an account
Navigate to app.confident-ai.com and create a free account. Once logged in, you'll be able to access your project API key from the dashboard.
Set API key as env variable
Set your project API key as an environment variable:
export CONFIDENT_API_KEY="confident_us..."Or add it to your
.envfile:CONFIDENT_API_KEY=your-api-key-here
Next Steps
Now that you have Confident AI set up, the next section will guide you through LLM evaluation in development. This is where you'll learn to systematically test and improve your AI applications before deployment.
Rolling this out for your team?Plan the fastest path from setup to a production evaluation workflowTalk to us