From 0bc39a6095d50973c2fbbee36d5434f3f082fb5e Mon Sep 17 00:00:00 2001 From: xieydd Date: Thu, 22 Aug 2024 19:19:20 +0800 Subject: [PATCH] add cohere apikey url Signed-off-by: xieydd --- src/use-case/question-answering.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/use-case/question-answering.md b/src/use-case/question-answering.md index ec74106..fd138c3 100644 --- a/src/use-case/question-answering.md +++ b/src/use-case/question-answering.md @@ -91,7 +91,7 @@ This particular dataset comes with embeddings, so you can skip this step and use embeddings = dataset['train']['embeddings'] ``` -If you want to generate embeddings from the text data, you can use the OpenAI, Cohere or other embeddings APIs. We provide an example using the Cohere API: +If you want to generate embeddings from the text data, you can use the OpenAI, Cohere or other embeddings APIs. We provide an example using the Cohere API, you can get Cohere API key from [here](https://dashboard.cohere.com/api-keys). ```python # pip install cohere import getpass