docs-util: added AI generator (#6770)
## What Adds an AI generator to the docblock tool that uses OpenAI. The generator at the moment only generates examples for functions when the `--generate-examples` option is provided. ## Note I've included the generated examples of the `IOrderModuleService` as a reference of the type of result provided by the AI generator, with minor tweeks I've made. I haven't made any changes to descriptions in that file.
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
"dotenv": "^16.3.1",
|
||||
"eslint": "^8.56.0",
|
||||
"minimatch": "^9.0.3",
|
||||
"openai": "^4.29.1",
|
||||
"openapi-types": "^12.1.3",
|
||||
"pluralize": "^8.0.0",
|
||||
"prettier": "^3.2.4",
|
||||
|
||||
Reference in New Issue
Block a user