argilla icon indicating copy to clipboard operation
argilla copied to clipboard

[BUG-python/deployment] - Can not find FeedbackDataset

Open gabriead opened this issue 8 months ago • 2 comments

Describe the bug

Hi guys, I am new to argilla, so was looking into the official argilla docs on how to retrieve the annotated datasets and it states: feedback = rg.FeedbackDataset.from_argilla("my_dataset", workspace="default") But I can not find any FeedbackDataset in the source code. Could you please point me in the direction of how to do this?

Best, Adrian

Stacktrace and code to create the bug

Traceback (most recent call last): File "/Users/Q671439/PycharmProjects/car_bert/data_labelling/get_data.py", line 9, in feedback = rg.FeedbackDataset.from_argilla("my_dataset_4", workspace="default") ^^^^^^^^^^^^^^^^^^ AttributeError: module 'argilla' has no attribute 'FeedbackDataset'

`import argilla as rg

client = rg.Argilla( api_url="http://localhost:6900", api_key="argilla.apikey" )

feedback = rg.FeedbackDataset.from_argilla("my_dataset_4", workspace="default")`

Expected behavior

Retrieve data from server

Environment

  • Argilla Version [e.g. 2.8.0]:

gabriead avatar Mar 27 '25 07:03 gabriead

Hey! Thanks for trying out Argilla.

Could you share the docs URL you're looking at?

Here's the official docs for retrieving datasets: https://docs.argilla.io/latest/how_to_guides/import_export/

dvsrepo avatar Mar 27 '25 08:03 dvsrepo

Hi @dvsrepo, thank you for the quick reply! This is where I go the information from: https://docs.v1.argilla.io/en/v2.2.0/practical_guides/export_dataset.html. A follow up question though not related to this: is there a way of using SpanQuestions conditioned on LabelQuestion? Say we are using LabelQuestion to model three intents to choose from (Intent_a, Intent_b and Intent_c) and each intent comes with a different set of parameters that I want to label using SpanQuestions (for Intent_a there a different span labels to choose from, then for intent_b)?

Thx alot !

gabriead avatar Mar 28 '25 07:03 gabriead

This issue is stale because it has been open for 90 days with no activity.

github-actions[bot] avatar Jun 27 '25 02:06 github-actions[bot]

This issue was closed because it has been inactive for 30 days since being marked as stale.

github-actions[bot] avatar Jul 27 '25 02:07 github-actions[bot]