cancel
Showing results for 
Search instead for 
Did you mean: 

Database explorer, failed generating SQL based on prompt

Cocquerel
Active Contributor
0 Kudos
195

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

 

Vitaliy-R
Developer Advocate
Developer Advocate
0 Kudos
Is it the Trial or a productive environment? Do you select the complete text prompt before hitting "Run Prompt"?
View Entire Topic
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.