Skip to content

Commit

Permalink
add cohere apikey url
Browse files Browse the repository at this point in the history
Signed-off-by: xieydd <xieydd@gmail.com>
  • Loading branch information
xieydd committed Aug 22, 2024
1 parent f9c3f4c commit 0bc39a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/use-case/question-answering.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0bc39a6

Please sign in to comment.