When I try to update a record with a suggestion, I receive an error. I have reproduced this error running the Text Classification tutorial notebook. The dataset.records.log(records=updated_data) from the section "Add initial model suggestions", fails. My server is deployed locally with the docker-compose.yml from the documentation.
Stacktrace and Code to create the bug
On client side, with the server deployed using docker:
argilla._exceptions._api.InternalServerError: Argilla SDK error: InternalServerError: Internal server error. Details: {"detail":{"code":"argilla.api.errors::GenericServerError","params":{"type":"builtins.AttributeError","message":"'NoneType' object has no attribute 'items'"}}}
Server side error:
"/opt/venv/lib/python3.10/site-
packages/argilla_server/api/sch
emas/v1/records.py", line 103,
in validate_chat_fields
for key, value in
fields.items():
AttributeError: 'NoneType'
object has no attribute 'items'
Describe the bug
When I try to update a record with a suggestion, I receive an error. I have reproduced this error running the Text Classification tutorial notebook. The
dataset.records.log(records=updated_data)
from the section "Add initial model suggestions", fails. My server is deployed locally with the docker-compose.yml from the documentation.Stacktrace and Code to create the bug
On client side, with the server deployed using docker:
Server side error:
Expected behavior
Environment:
Additional context