Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Spike] Overwrite translations in Argilla #138

Open
1 of 3 tasks
Wessel93 opened this issue Jan 25, 2024 · 1 comment
Open
1 of 3 tasks

[Spike] Overwrite translations in Argilla #138

Wessel93 opened this issue Jan 25, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@Wessel93
Copy link
Collaborator

Wessel93 commented Jan 25, 2024

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)
@Wessel93 Wessel93 added the enhancement New feature or request label Jan 25, 2024
@jmargutt jmargutt changed the title [Spike] Overwrtie translations in Argilla [Spike] Overwrite translations in Argilla Jan 26, 2024
@jmargutt jmargutt self-assigned this Jan 29, 2024
@jmargutt
Copy link
Member

jmargutt commented Jan 31, 2024

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
)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants