Skip to content

[ML] Bedrock Cohere does not support InputType, Truncate #126156

@prwhelan

Description

@prwhelan

This currently returns an error:

PUT _inference/text_embedding/multilingual-cohere-v3-search
{
  "service": "amazonbedrock",
  "service_settings": {
    "access_key": "***",
    "secret_key": "***",
    "region": "us-east-1",
    "provider": "Cohere",
    "model": "cohere.embed-multilingual-v3"
  },
  "task_settings": {
    "truncate": "START"
  }
}
POST _inference/text_embedding/multilingual-cohere-v3-search
{
  "input": "The sky above the port was the color of television tuned to a dead channel.",
  "input_type": "search"
}

Though AWS supports it: https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters-embed.html

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions