clarify about api key (#7540)

I found it unclear, where to get the API keys for JinaChat. Mentioning
this in the docstring should be helpful.
#7490 

Twitter handle: benji1a

@delgermurun
This commit is contained in:
Ben Auffarth 2023-07-11 21:46:06 +01:00 committed by GitHub
parent 0ea7224535
commit 2c2f0e15a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -109,7 +109,8 @@ class JinaChat(BaseChatModel):
image chat capabilities in comparison to other LLM APIs.
To use, you should have the ``openai`` python package installed, and the
environment variable ``JINACHAT_API_KEY`` set with your API key.
environment variable ``JINACHAT_API_KEY`` set to your API key, which you
can generate at https://chat.jina.ai/api.
Any parameters that are valid to be passed to the openai.create call can be passed
in, even if not explicitly saved on this class.