Error when I try to duplicate

#18
by BlackMinstrel - opened

Hi team,
Thanks all for your work !

I tried to duplicate for using my openAI API key but when building I got this error :
ArgillaCredentialsError: Argilla SDK error: ArgillaCredentialsError: Credentials
(api_key and/or api_url) are invalid

I used the key found on my Argilla setting space :
image.png

Can you help me on that issue ?

Thanks by advance.

Regards,
PEM

PS : Is the description of the dataset is just here for "imagine" the system prompt or is it here for another things ?

@BlackMinstrel your remark about the system prompts is correct.

w.r.t. the argilla errors

perhaps you are not passing the URL and KEY correctly.

If you're using Spaces, sometimes the Argilla UI is embedded into the Hub UI so the URL of the browser won't match the API URL. In these scenarios, you have several options:

On Argilla's Home page, click "Import from the SDK." The code snippet provided will contain your API URL and key.
Click on the three points menu at the top of the Space, select "Embed this Space", and open the direct URL.
Use this pattern: https://[your-owner-name]-[your_space_name].hf.space.

There is some more info here: https://docs.argilla.io/dev/getting_started/quickstart/#install-and-connect-the-python-sdk

davidberenstein1957 changed discussion status to closed
davidberenstein1957 changed discussion status to open

Can you try to duplicate the space again with the new config?

Thanks for your answer, David.
I tried again with your advice, but I still got the same issue.
I think I did something wrong... I'll try again tomorrow and tel you here the result.
In the meantime, I’ll continue working with Python.

Sign up or log in to comment