Skip to content

Instantly share code, notes, and snippets.

@benjreinhart
benjreinhart / cohere-embed-v3.md
Created November 2, 2023 17:59
Cohere embed v3 error

When I try to use cohere embed v3, e.g.:

curl --request POST \
     --url https://api.cohere.ai/v1/embed \
     --header 'accept: application/json' \
     --header 'authorization: Bearer <<apiKey>>' \
     --header 'content-type: application/json' \
     --data '
{