curl --location --request POST 'https://api.cohere.ai/v1/embed' \
--header 'Content-Type: application/json' \
--data-raw '{
"texts": [
"hello",
"goodbye"
],
"truncate": "END"
}'
{
"id": "string",
"texts": [
"string"
],
"embeddings": [
[
0
]
],
"meta": {
"api_version": {
"version": "string"
}
}
}