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

Workshop fabric-e2e-rag - Generating embeddings error #105

Open
mmvmarko opened this issue Mar 3, 2024 · 1 comment
Open

Workshop fabric-e2e-rag - Generating embeddings error #105

mmvmarko opened this issue Mar 3, 2024 · 1 comment

Comments

@mmvmarko
Copy link

mmvmarko commented Mar 3, 2024

When running the code in generating embeddings step:


from synapse.ml.services import OpenAIEmbedding

embedding = (
OpenAIEmbedding()
.setDeploymentName("text-embedding-ada-002")
.setSubscriptionKey('******************************')
.setTextCol("chunk")
.setErrorCol("error")
.setOutputCol("embeddings")
)

df_embeddings = embedding.transform(exploded_df)

display(df_embeddings)


I receive the following error:
Failed to fetch cluster details
Traceback (most recent call last):
File "/home/trusted-service-user/cluster-env/trident_env/lib/python3.10/site-packages/synapse/ml/fabric/token_utils.py", line 180, in _get_openai_mwc_token
raise Exception(
Exception: get openai mwc token returns 403:b'{"Message":"FT1 SKU Not Supported","Source":"ML","error_code":"PERMISSION_DENIED"}'

Any ideas where to look for solution ? I'm using Azure resources. Appreciate your help.

Marko

@sinedied
Copy link
Collaborator

sinedied commented Mar 7, 2024

cc @Jcardif @cmaneu

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

2 participants