Update openai.py (#6263)

This commit is contained in:
Tuana Çelik 2023-11-09 17:33:35 +01:00 committed by GitHub
parent 73e2843cf1
commit 3be6ec7840
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -61,7 +61,7 @@ class GPTGenerator:
**generation_kwargs,
):
"""
Creates an instance of ChatGPTGenerator. Unless specified otherwise in the `model_name`, this is for OpenAI's
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. It can be explicitly provided or automatically read from the