🤖 Automate code documentation with OpenAI-Codex
Table of Contents
- To use this extension, you must have an OpenAI API Key (which can be found on the OpenAI Website > Account > User > API Keys)
- Doxide can be used to create function Docstrings
doxide.openAI.apiKeyYour OpenAI API key.doxide.openAI.apiKey.storeLocationWhere you would like your API Key to be stored. Learn more
doxide.openAI.engineThe engine to be used to generate Docstrings and Comments. Note that Codex models (code-...) are in private beta and GTP-3 models have variable (text-...) Pricing.doxide.openAI.config.nHow many completions to generate for each prompt.doxide.openAI.config.temperatureWhat sampling temperature to use. Higher values means the model will take more risks. Try 0.9 for more creative applications, and 0 (argmax sampling) for ones with a well-defined answer.doxide.openAI.config.presencePenaltyNumber between -2.0 and 2.0. Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics.doxide.openAI.config.frequencyPenaltyNumber between -2.0 and 2.0. Positive values penalize new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim.
doxide.codeLens.enabledSpecifies whether to provide any Doxide Code Lens by default. If enabled, Code Lenses (grey text) will be shown at the beginning of functions and methods with prompts for generating docstrings. Use theToggle Doxide Code Lenscommand (doxide.toggleCodeLens) to toggle the Doxide code lens on and off for the current window.doxide.codeLens.generateTitleCodeLens Title/Label. The text to be shown above function signatures that enable you to generate docstrings.
doxide.[languageName].startDocstringTokenToken to indicate the start of a docstring for said[languageName].doxide.[languageName].endDocstringTokenToken to indicate the end of a docstring for said[languageName].doxide.[languageName].docstringTemplateTemplate for[languageName]'s Docstring.



