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

[BUG-python/deployment] #5677

Open
alaeddine-13 opened this issue Nov 7, 2024 · 4 comments
Open

[BUG-python/deployment] #5677

alaeddine-13 opened this issue Nov 7, 2024 · 4 comments

Comments

@alaeddine-13
Copy link

alaeddine-13 commented Nov 7, 2024

Describe the bug
Argilla client V2 is not compatible with Argilla server V1 for RankingQuestion
Prerequisites

  1. create an annotation task with a RankingQuestion "rank", on an Argilla server v1 (1.29.0)
  2. Annotate the dataset with entries containing different ranking values
    Stacktrace and Code to create the bug
    Pull the dataset with python client v2 (2.4.0)
client = rg.Argilla(
    api_url=ARGILLA_URL,
    api_key=ARGILLA_API_KEY,
)

workspace = 'my-workspace'
project ='my-project'

dataset = client.datasets(name=project, workspace=workspace)
df = dataset.records.to_datasets().to_pandas()

The "rank" column has fixed ranking and they do not reflect the annotated entries

Expected behavior
Entries should reflect the annotation.

Environment:

  • Argilla server Version 1.29.0:
  • Argilla client Version 2.4.0
@AmanLohia1009
Copy link

AmanLohia1009 commented Nov 8, 2024

Also, suggestions for RankingQuestion do not display correctly in the UI. It shows a fixed order.

any workaround or solution for this?

@rautnavnath
Copy link

has anyone found fix for issue?
The "rank" column has fixed ranking and they do not reflect the annotated entries

@dvsrepo
Copy link
Member

dvsrepo commented Nov 21, 2024

hi! we would strongly recommend upgrading the server to a newer version, isn't that possible? otherwise install the client with the version of your server pip install argilla=1.29.0

@rautnavnath
Copy link

hi! we would strongly recommend upgrading the server to a newer version, isn't that possible? otherwise install the client with the version of your server pip install argilla=1.29.0

I have latest image deployed through docker. and Argilla client Version 2.4.0

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

4 participants