Overview
Getting Started
SDK/API
- Python SDK Reference
- TypeScript SDK Reference
How-to Guides
- Overview
- Conversational AI
- Retrieval-Augmented Generation
- Agentic AI
Cookbooks
- Use Cases
Integrations
Concepts
- Metrics
- Projects
- Logging
- Datasets
- Annotations
- Experiments
- Playground
API Reference
- health
- auth
- trace
- log_stream
- experiment
- feedback
- annotation
- data
- protect
- datasets
- projects
References
data
Get Scorer
GET
/
v2
/
scorers
/
{scorer_id}
curl --request GET \
--url https://api.galileo.ai/v2/scorers/{scorer_id} \
--header 'Galileo-API-Key: <api-key>'
{
"id": "<string>",
"name": "<string>",
"scorer_type": "llm",
"defaults": {
"model_name": "<string>",
"num_judges": 123,
"filters": [
{
"name": "node_name",
"filter_type": "string",
"value": "<string>",
"operator": "eq",
"case_sensitive": true
}
]
},
"latest_version": {
"id": "<string>",
"version": 123,
"generated_scorer": {
"id": "<string>",
"name": "<string>",
"instructions": "<string>",
"chain_poll_template": {
"metric_system_prompt": "<string>",
"metric_description": "<string>",
"value_field_name": "<string>",
"explanation_field_name": "<string>",
"template": "<string>",
"metric_few_shot_examples": [
{
"generation_prompt_and_response": "<string>",
"evaluating_response": "<string>"
}
]
}
},
"registered_scorer": {
"id": "<string>",
"name": "<string>"
},
"model_name": "<string>",
"num_judges": 123
},
"model_type": "slm",
"default_version_id": "<string>",
"default_version": {
"id": "<string>",
"version": 123,
"generated_scorer": {
"id": "<string>",
"name": "<string>",
"instructions": "<string>",
"chain_poll_template": {
"metric_system_prompt": "<string>",
"metric_description": "<string>",
"value_field_name": "<string>",
"explanation_field_name": "<string>",
"template": "<string>",
"metric_few_shot_examples": [
{
"generation_prompt_and_response": "<string>",
"evaluating_response": "<string>"
}
]
}
},
"registered_scorer": {
"id": "<string>",
"name": "<string>"
},
"model_name": "<string>",
"num_judges": 123
},
"label": "",
"tags": [
"<string>"
],
"included_fields": [
"<string>"
],
"description": "<string>",
"created_by": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
Authorizations
Path Parameters
Response
200
application/json
Successful Response
The response is of type object
.
curl --request GET \
--url https://api.galileo.ai/v2/scorers/{scorer_id} \
--header 'Galileo-API-Key: <api-key>'
{
"id": "<string>",
"name": "<string>",
"scorer_type": "llm",
"defaults": {
"model_name": "<string>",
"num_judges": 123,
"filters": [
{
"name": "node_name",
"filter_type": "string",
"value": "<string>",
"operator": "eq",
"case_sensitive": true
}
]
},
"latest_version": {
"id": "<string>",
"version": 123,
"generated_scorer": {
"id": "<string>",
"name": "<string>",
"instructions": "<string>",
"chain_poll_template": {
"metric_system_prompt": "<string>",
"metric_description": "<string>",
"value_field_name": "<string>",
"explanation_field_name": "<string>",
"template": "<string>",
"metric_few_shot_examples": [
{
"generation_prompt_and_response": "<string>",
"evaluating_response": "<string>"
}
]
}
},
"registered_scorer": {
"id": "<string>",
"name": "<string>"
},
"model_name": "<string>",
"num_judges": 123
},
"model_type": "slm",
"default_version_id": "<string>",
"default_version": {
"id": "<string>",
"version": 123,
"generated_scorer": {
"id": "<string>",
"name": "<string>",
"instructions": "<string>",
"chain_poll_template": {
"metric_system_prompt": "<string>",
"metric_description": "<string>",
"value_field_name": "<string>",
"explanation_field_name": "<string>",
"template": "<string>",
"metric_few_shot_examples": [
{
"generation_prompt_and_response": "<string>",
"evaluating_response": "<string>"
}
]
}
},
"registered_scorer": {
"id": "<string>",
"name": "<string>"
},
"model_name": "<string>",
"num_judges": 123
},
"label": "",
"tags": [
"<string>"
],
"included_fields": [
"<string>"
],
"description": "<string>",
"created_by": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
Assistant
Responses are generated using AI and may contain mistakes.