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:
Shahed Nasser
2024-03-28 13:32:30 +02:00
committed by GitHub
parent 6bf4d40856
commit 21156f945d
16 changed files with 2655 additions and 196 deletions

View File

@@ -1 +1,2 @@
MONOREPO_ROOT_PATH=/Users/medusa/medusa
MONOREPO_ROOT_PATH=/Users/medusa/medusa
OPENAI_API_KEY=