cancel
Showing results for 
Search instead for 
Did you mean: 

Database explorer, failed generating SQL based on prompt

Cocquerel
Active Contributor
0 Kudos
206

Hello,
I'm trying to use the new genAI feature in SAP Build Code Database Explorer to generate SQL based on prompt.

What ever the prompt, I'm always getting the following error: "Unable to generate the SQL statement. Error from LLM: Failed to get embeddings. Try rephrasing the prompt."

Cocquerel_0-1727862989312.png

 

Accepted Solutions (0)

Answers (1)

Answers (1)

Cocquerel
Active Contributor

Hello Vitaliy, I have tried with the prompt you showed during the developer news ("Retrieve the top 5 tables with the highest memory consumption in the last 7 days, including their schema name, table name and used memory.") and this time it was working.