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

[FEATURE] Help with Audio Field #5797

Open
alielfilali01 opened this issue Jan 28, 2025 · 0 comments
Open

[FEATURE] Help with Audio Field #5797

alielfilali01 opened this issue Jan 28, 2025 · 0 comments

Comments

@alielfilali01
Copy link

alielfilali01 commented Jan 28, 2025

Is your feature request related to a problem? Please describe.

I want to setup an annotation where i provide two inputs for the annotator, audio and transcription and then ask the annotator to rate the transcription and correct it if needed.

Describe the solution you'd like

Need assistance on how to read the audio file from each record in the dataset and wrap it in HTML template for CustomField.

Describe alternatives you've considered

settings = rg.Settings(
    guidelines=ANNOTAION_GUIDELINES,
    fields=[
        rg.AudioField(name="audio", required=True), # Correct this one with CustomField !
        rg.TextField(name="transcription", required=True),
    ],
    questions=[
        rg.RatingQuestion(
            name="How good is the transcription ?", 
            values=[1, 2, 3, 4, 5]
        ),
        rg.TextQuestion(
            name="Provide the correct transcription if needed",
            required=False
        ),
    ],
)

Additional context

@davidberenstein1957 & @frascuchon
Your help will be greatly appreciated 🥹

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

No branches or pull requests

1 participant