Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add support for Azure OpenAI #15

Merged
merged 9 commits into from
Sep 30, 2023
Merged

Conversation

fynnfluegge
Copy link
Owner

Added support for specifying the Azure OpenAI deployment name using the --azure-deployment flag. This allows the user to use a specific deployment when generating documentation.

Added support for specifying the Azure OpenAI deployment name using the `--azure-deployment` flag. This allows the user to use a specific deployment when generating documentation.
… methods in a file

This commit adds a new feature to generate documentation comment blocks for all methods in a file. This can be done using various documentation styles such as Javadoc, JSDoc, Docstring, Rustdoc, etc. Additionally, inline documentation comments can also be generated within method bodies. The integration with Treesitter, local LLM support, and Azure OpenAI support have also been included in this update.

The commit also updates the README.md file to provide clear instructions on how to use the new feature and the different options available for generating documentation. It also includes information on how to install the package using `pipx` and provides guidance on using the OpenAI API and Azure OpenAI.

The `app.py` file has been modified to handle the new options and check for the availability of the required environment variables. The `utils.py` file has been updated to include helper functions for checking the availability of the OpenAI API key and the required environment variables for Azure OpenAI deployment.

This update enhances the functionality of the code and improves the user experience by providing more comprehensive documentation generation capabilities.
@fynnfluegge fynnfluegge merged commit bde5781 into main Sep 30, 2023
@fynnfluegge fynnfluegge deleted the feat/add_openai_azure branch September 30, 2023 09:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant