From 2c2f0e15a6efee29db65ff9070e1e7c9507f08cf Mon Sep 17 00:00:00 2001 From: Ben Auffarth <10786684+benman1@users.noreply.github.com> Date: Tue, 11 Jul 2023 21:46:06 +0100 Subject: [PATCH] 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 --- langchain/chat_models/jinachat.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/langchain/chat_models/jinachat.py b/langchain/chat_models/jinachat.py index caceec6c79..bbf7c51188 100644 --- a/langchain/chat_models/jinachat.py +++ b/langchain/chat_models/jinachat.py @@ -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.