Skip to content

Commit

Permalink
Update gpt.py docstring (#6129)
Browse files Browse the repository at this point in the history
* Update gpt.py docstring

Noticed this slight issue in docstrings for GPTGenerator, so submitting a fix.

* Update haystack/preview/components/generators/openai/gpt.py

Co-authored-by: Daria Fokina <[email protected]>

---------

Co-authored-by: Daria Fokina <[email protected]>
  • Loading branch information
TuanaCelik and dfokina authored Oct 20, 2023
1 parent 6464931 commit 366f036
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion haystack/preview/components/generators/openai/gpt.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def __init__(
**kwargs,
):
"""
Creates an instance of GPT35Generator for OpenAI's GPT-3.5 model.
Creates an instance of GPTGenerator. Unless specified otherwise in the `model_name`, this is for OpenAI's GPT-3.5 model.
:param api_key: The OpenAI API key.
:param model_name: The name of the model to use.
Expand Down

0 comments on commit 366f036

Please sign in to comment.