Skip to content

Commit

Permalink
doc(readme): add openAI dependency disclaimer
Browse files Browse the repository at this point in the history
  • Loading branch information
Farhan-Faisal committed Jan 31, 2025
1 parent 8b195f0 commit b3c9713
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ def square(base: int, pow: int) -> int:
print(generate_docstring_template(square, output_file=None))
```

## OpenAI Dependency:

`fml_doc_gen` requires an OpenAI API key to generate docstrings. You can set your API key using the `OPENAI_API_KEY` environment variable. Check our our documentation [here](https://readthedocs.org/projects/fml-doc-gen/badge/?version=latest) for more information.

## Functions Included

- **`generate_docstring_template(func: Callable, output_file: str, auto_generate: bool = False) -> str`**:
Expand Down

0 comments on commit b3c9713

Please sign in to comment.