[Spike] Overwrite translations in Argilla
Opened this issue · 1 comments
Wessel93 commented
Can we manually overwrite the translations in the Argilla UI?
- Design a solution and agree with analysts
- Implement in Argilla
- Implement in PowerBI (overwrite translation shown there)
jmargutt commented
Yes, if we use the new "FeedbackDataset". Will implement after Jan delivery.
dataset = rg.FeedbackDataset(
fields=[
rg.TextField(name="text_eng", title="Text (ENG)", required=True, use_markdown=True),
rg.TextField(name="text_ukr", title="Text (UKR)", required=True, use_markdown=True),
],
questions=[
rg.MultiLabelQuestion(
name="message_labels",
title="Is the topic of the message any of the following?",
labels=list(set(labels)),
required=True,
visible_labels=100
),
rg.TextQuestion(
name="message_translation",
title="Add the translation of the message here",
use_markdown=True,
required=False
)
],
guidelines=None
)