Apply Evaluation Group
curl --request POST \
--url https://api.futureagi.com/model-hub/eval-groups/apply-eval-group/ \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--header 'X-Secret-Key: <api-key>' \
--data '
{
"eval_group_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"filters": {},
"page_id": "<string>",
"mapping": {},
"deselected_evals": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
]
}
'import requests
url = "https://api.futureagi.com/model-hub/eval-groups/apply-eval-group/"
payload = {
"eval_group_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"filters": {},
"page_id": "<string>",
"mapping": {},
"deselected_evals": ["3c90c3cc-0d44-4b50-8888-8dd25736052a"]
}
headers = {
"X-Api-Key": "<api-key>",
"X-Secret-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'X-Api-Key': '<api-key>',
'X-Secret-Key': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
eval_group_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
filters: {},
page_id: '<string>',
mapping: {},
deselected_evals: ['3c90c3cc-0d44-4b50-8888-8dd25736052a']
})
};
fetch('https://api.futureagi.com/model-hub/eval-groups/apply-eval-group/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{}{
"error": "<string>"
}{
"error": "<string>"
}Eval Groups
Apply Evaluation Group
Applies an evaluation group to a set of data, creating user evaluation metrics.
POST
/
model-hub
/
eval-groups
/
apply-eval-group
/
Apply Evaluation Group
curl --request POST \
--url https://api.futureagi.com/model-hub/eval-groups/apply-eval-group/ \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--header 'X-Secret-Key: <api-key>' \
--data '
{
"eval_group_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"filters": {},
"page_id": "<string>",
"mapping": {},
"deselected_evals": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
]
}
'import requests
url = "https://api.futureagi.com/model-hub/eval-groups/apply-eval-group/"
payload = {
"eval_group_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"filters": {},
"page_id": "<string>",
"mapping": {},
"deselected_evals": ["3c90c3cc-0d44-4b50-8888-8dd25736052a"]
}
headers = {
"X-Api-Key": "<api-key>",
"X-Secret-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'X-Api-Key': '<api-key>',
'X-Secret-Key': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
eval_group_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
filters: {},
page_id: '<string>',
mapping: {},
deselected_evals: ['3c90c3cc-0d44-4b50-8888-8dd25736052a']
})
};
fetch('https://api.futureagi.com/model-hub/eval-groups/apply-eval-group/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{}{
"error": "<string>"
}{
"error": "<string>"
}Authorizations
Body
application/json
The UUID of the evaluation group to apply.
Filters to apply when selecting data.
Identifier for the page or context where the group is being applied.
Mapping configuration for the evaluations.
A list of evaluation template UUIDs to exclude from this application.
Response
Evaluation group applied successfully.
The response is of type object.
Was this page helpful?
⌘I