[BUG-python/deployment]The status of all the dataset.records.to_dict(orient='index') records are pending
Closed this issue · 0 comments
Huarong commented
Describe the bug
The status of all the dataset.records.to_dict(orient='index')
records are pending
. But the real thing is that some are notated as submitted
.
Stacktrace and Code to create the bug
dataset.records.to_dict(orient='index')
got
{
"id": "196e45f7-4d46-41b9-9ba5-c1561c504c9d",
"fields": {
"instruction": "xxxx",
"output": "xxxxx",
"answer_correction": [
{
"value": "xxxxxx"
}
]
},
"metadata": {},
"suggestions": {
"answer_correction": {
"value": "xxxxx",
"score": null,
"agent": null
}
},
"responses": {
"answer_correction": [
{
"value": "xxxxx",
"user_id": "6d17eac8-b7dd-407f-a321-b07b670ee9db"
}
]
},
"vectors": {},
"status": "pending",
"_server_id": "2246fa4f-0933-4807-a429-68517ec9269a"
}
Expected behavior
The status
should be submitted
Environment:
- Argilla Version [argilla 2.0.1]:
- ElasticSearch Version [e.g.8.12.2]:
- Docker Image (optional) [e.g. argilla:v2.0.1]:
Additional context