OpenAI_Database
home
Example requests
- Select All Products:
{
"model": "text-davinci-003",
"prompt": "I need to find all products:",
"max_tokens": 150
}
- Select Smartphone Products:
{
"model": "text-davinci-003",
"prompt": "Find all products that are smartphone:",
"max_tokens": 150
}
- Insert a Product:
{
"model": "text-davinci-003",
"prompt": "I want to insert a new product that has idprod=PROD0006,description is Printer HP 3435, type is Printer and price is 69:",
"max_tokens": 150
}
- Delete Products:
{
"model": "text-davinci-003",
"prompt": "delete all products that type is printer:",
"max_tokens": 150
}
- Select Stores located in Rome:
{
"model": "text-davinci-003",
"prompt": "find all stores located in Rome:",
"max_tokens": 150
}
- Select Last Order inserted:
{
"model": "text-davinci-003",
"prompt": "find last order:",
"max_tokens": 150
}