List Local Evals For Project
GET/api/v1/projects/:project_id/localeval
List local eval results for a project.
Request
Path Parameters
Query Parameters
Cookie Parameters
Responses
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
Array [
- MOD1
- MOD1
- MOD1
Array [
]
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
]
The ID of the project.
eval_set_id
object
The ID of the local eval result set.
anyOf
string
The name of the app.
The name of the eval.
result
object
required
Evaluation result, EvaluationResult from llama_index.
Output of an BaseEvaluator.
query
object
Query string
anyOf
string
contexts
object
Context strings
anyOf
string
response
object
Response string
anyOf
string
passing
object
Binary evaluation result (passing or not)
anyOf
boolean
feedback
object
Feedback or reasoning for the response
anyOf
string
score
object
Score for the response
anyOf
number
pairwise_source
object
Used only for pairwise and specifies whether it is from original order of presented answers or flipped order
anyOf
string
Whether the evaluation result is an invalid one.
false
invalid_reason
object
Reason for invalid evaluation.
anyOf
string
[
{
"project_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"eval_set_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"app_name": "string",
"eval_name": "string",
"result": {
"query": "string",
"contexts": [
null
],
"response": "string",
"passing": true,
"feedback": "string",
"score": 0,
"pairwise_source": "string",
"invalid_result": false,
"invalid_reason": "string"
}
}
]
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
- MOD1
- MOD2
]
]
detail
object[]
loc
object[]
required
anyOf
string
integer
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}