Evals
Liste os avaliadores integrados de monitoramento de qualidade sem referência
Retorna o catálogo de avaliadores integrados sem referência disponíveis para monitoramento da qualidade do tráfego em tempo real.
GET
/
api
/
v1
/
llm
/
evals
/
monitors
/
evaluators
CSharp (SDK)
using MeetKai.MKA1;
using MeetKai.MKA1.Types.Components;
var sdk = new SDK(bearerAuth: "<YOUR_BEARER_TOKEN_HERE>");
var res = await sdk.Llm.Evals.ListQualityMonitorEvaluatorsAsync();
// handle responsefrom meetkai_mka1 import SDK
with SDK(
bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
) as sdk:
res = sdk.llm.evals.list_quality_monitor_evaluators()
# Handle response
print(res)import { SDK } from "@meetkai/mka1";
const sdk = new SDK({
bearerAuth: "<YOUR_BEARER_TOKEN_HERE>",
});
async function run() {
const result = await sdk.llm.evals.listQualityMonitorEvaluators({});
console.log(result);
}
run();package main
import(
"context"
mka1 "github.com/MeetKai/mka1-sdks/go"
"log"
)
func main() {
ctx := context.Background()
s := mka1.New(
mka1.WithSecurity("<YOUR_BEARER_TOKEN_HERE>"),
)
res, err := s.Llm.Evals.ListQualityMonitorEvaluators(ctx, nil)
if err != nil {
log.Fatal(err)
}
if res.QualityMonitorEvaluatorCatalog != nil {
// handle response
}
}curl --request GET \
--url https://apigw.mka1.com/api/v1/llm/evals/monitors/evaluators \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://apigw.mka1.com/api/v1/llm/evals/monitors/evaluators', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://apigw.mka1.com/api/v1/llm/evals/monitors/evaluators",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}HttpResponse<String> response = Unirest.get("https://apigw.mka1.com/api/v1/llm/evals/monitors/evaluators")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://apigw.mka1.com/api/v1/llm/evals/monitors/evaluators")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"object": "eval.quality_monitor.evaluator_catalog",
"evaluators": [
{
"id": "helpfulness_relevance",
"version": "v1",
"kind": "builtin",
"name": "Helpfulness & relevance",
"description": "Scores whether the assistant directly, accurately, and usefully addressed the user's request.",
"requires_context": false
},
{
"id": "coherence_clarity",
"version": "v1",
"kind": "builtin",
"name": "Coherence & clarity",
"description": "Scores structure, fluency, non-repetition, and clarity in the response language.",
"requires_context": false
},
{
"id": "instruction_following",
"version": "v1",
"kind": "builtin",
"name": "Instruction following",
"description": "Scores adherence to system instructions and explicit user constraints (format, tone, scope).",
"requires_context": false
},
{
"id": "groundedness",
"version": "v1",
"kind": "builtin",
"name": "Groundedness",
"description": "Scores faithfulness to retrieved sources/context without unsupported fabrication; reuses guardrail groundedness when available.",
"requires_context": true
},
{
"id": "safety_compliance",
"version": "v1",
"kind": "builtin",
"name": "Safety & policy compliance",
"description": "Scores whether the output avoids harmful, toxic, abusive, or unsafe content and handles restricted requests safely.",
"requires_context": false
}
]
}Autorizações
Esta página foi útil?
⌘I
CSharp (SDK)
using MeetKai.MKA1;
using MeetKai.MKA1.Types.Components;
var sdk = new SDK(bearerAuth: "<YOUR_BEARER_TOKEN_HERE>");
var res = await sdk.Llm.Evals.ListQualityMonitorEvaluatorsAsync();
// handle responsefrom meetkai_mka1 import SDK
with SDK(
bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
) as sdk:
res = sdk.llm.evals.list_quality_monitor_evaluators()
# Handle response
print(res)import { SDK } from "@meetkai/mka1";
const sdk = new SDK({
bearerAuth: "<YOUR_BEARER_TOKEN_HERE>",
});
async function run() {
const result = await sdk.llm.evals.listQualityMonitorEvaluators({});
console.log(result);
}
run();package main
import(
"context"
mka1 "github.com/MeetKai/mka1-sdks/go"
"log"
)
func main() {
ctx := context.Background()
s := mka1.New(
mka1.WithSecurity("<YOUR_BEARER_TOKEN_HERE>"),
)
res, err := s.Llm.Evals.ListQualityMonitorEvaluators(ctx, nil)
if err != nil {
log.Fatal(err)
}
if res.QualityMonitorEvaluatorCatalog != nil {
// handle response
}
}curl --request GET \
--url https://apigw.mka1.com/api/v1/llm/evals/monitors/evaluators \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://apigw.mka1.com/api/v1/llm/evals/monitors/evaluators', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://apigw.mka1.com/api/v1/llm/evals/monitors/evaluators",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}HttpResponse<String> response = Unirest.get("https://apigw.mka1.com/api/v1/llm/evals/monitors/evaluators")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://apigw.mka1.com/api/v1/llm/evals/monitors/evaluators")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"object": "eval.quality_monitor.evaluator_catalog",
"evaluators": [
{
"id": "helpfulness_relevance",
"version": "v1",
"kind": "builtin",
"name": "Helpfulness & relevance",
"description": "Scores whether the assistant directly, accurately, and usefully addressed the user's request.",
"requires_context": false
},
{
"id": "coherence_clarity",
"version": "v1",
"kind": "builtin",
"name": "Coherence & clarity",
"description": "Scores structure, fluency, non-repetition, and clarity in the response language.",
"requires_context": false
},
{
"id": "instruction_following",
"version": "v1",
"kind": "builtin",
"name": "Instruction following",
"description": "Scores adherence to system instructions and explicit user constraints (format, tone, scope).",
"requires_context": false
},
{
"id": "groundedness",
"version": "v1",
"kind": "builtin",
"name": "Groundedness",
"description": "Scores faithfulness to retrieved sources/context without unsupported fabrication; reuses guardrail groundedness when available.",
"requires_context": true
},
{
"id": "safety_compliance",
"version": "v1",
"kind": "builtin",
"name": "Safety & policy compliance",
"description": "Scores whether the output avoids harmful, toxic, abusive, or unsafe content and handles restricted requests safely.",
"requires_context": false
}
]
}