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 '
{
"texts": [
"hello",
"goodbye"
],
"model": "embed-english-v3.0"
}
'
I get an HTTP 400 error with this JSON body:
{"message":"invalid request: valid input_type must be provided with the provided model"}
If I try the same request, but use embed-english-v2.0
for the model, it works.