requests
library installed. You can install it using pip:
https://app.llumo.ai/api/create-eval-analytics
Bearer <your-token>
with your actual Bearer key.workspaceID
, the prompt
, input
, and output
.
Example of default evaluation request:
prompt
: Text or question you want to analyze.input
: Language or other settings (currently only language is supported).output
: The result or analysis based on your input prompt.requests.post()
method to send your data to the API. Below is a sample code that demonstrates how to make the request.
Example Code:
"analytics"
field in the request body with an array of your custom analytics names.
Example:
"Perplexity"
is a custom analytics name that you have set up in your workspace.
analytics
field in the request body when making an API call. For example, you can specify custom metrics like "Perplexity"
by including the following in the request body: