This code repository performs testing of LLM API endpoints using locust.
Clients Implemented
- OpenAI
- OctoAI
- Amazon Bedrock
Each of these clients uses each providers' SDK to make requests to various model endpoints.
- Clone the repo
git clone https://github.com/ergodicio/locustllms.git
- Create a new virtual environment using
venv
:python -m venv myenv source venv/bin/activate pip install -r requirements.txt
- Make sure environment variables are configured for each service. OpenAI, OctoAI, and boto3
- From the terminal
locust
- Go to
http://0.0.0.0:8089