Quickstart
Set up and use Maihem in 5 minutes
Set up Maihem
Generate API key
Generate API key in your Maihem account settings.
Book a call to get access to the Maihem platform
Set API key as environment variable
Set your Maihem API key as an environment variable called MAIHEM_API_KEY
.
Install the Python SDK
This assumes you have Python installed. See this guide to install Python if needed.
Simulate and evaluate a conversation
Create target agent
In the terminal run the following command to configure your target agent. This will also create a folder in the current directory.
Go to the new folder demo-tutor-agent
, where there are some pre-populated Python scripts.
Create test
Create a test using the Customer Experience (CX) module. A module defines the scope of a test.
Connect target agent with wrapper function
To connect your target agent with Maihem, you need to pass a function to call your target agent. File wrapper_function.py
contains the function wrapper_function
to call your target agent.
Run test
See results in Maihem webapp
Go to your Maihem account to see the results of your first test.
Next step: see our how-to guides
A test simulates conversations to comprehensively evaluate your target agent and find failures