aden-generate-queries 1.0.0 • Public • Published a month ago
Generate a query for a specific acho customer. Acho customer is defined by API token. The query will be generated based on the metadata of the customer's database and the query description.
.
├── config
│ └── index.js
├── data
│ ├── prompts
│ ├── system_instructions
│ ├── barChartObject.json
│ ├── lineChartObject.json
│ ├── scoreCardObject.json
│ └── tableObject.json
├── routes
│ ├── chartRoutes.js
│ └── queryRoutes.js
├── services
│ ├── acho.js
│ ├── agentChart.js
│ ├── agentQuery.js
│ ├── chartCreator.js
│ └── queryNodeCreator.js
├── utils
│ └── metadataProcessor.js
├── index.js
└── server.js
npm install
node server.js
/api/generate-query
Field
Type
Description
queryDescription
string
The description of the query to be generated
appId
string
The id of the app
verId
string
The id of the version
Headers
Field
Type
Description
Authorization
string
The API token of the acho customer
Field
Type
Description
query
string
The generated query
queryName
string
The name of the generated query
tablesNodeIds
array
The tableNodeIds of the tables used in the query
Readme Keywords none
Package Sidebar Install npm i aden-generate-queries
Downloads Weekly Downloads