Skip to content

Add AWS Bedrock rerank model invalid param #12640

Description

@em-le-ts

Self Checks

  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

v0.14.2

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

Access setting page -> Add model provider -> AWS Bedrock

  • amazon.rerank-v1 -> Got unknown model prefix amazon
  • cohere.rerank-v3-5:0
    => "ValidationException: Malformed input request: #: required key [query] not found#: required key [documents] not found#: required key [api_version] not found#: extraneous key [stream] is not permitted#: extraneous key [prompt] is not permitted, please reformat your input and try again."

AWS configuration:

  • Using rerank model at tokyo region

✔️ Expected Behavior

No response

❌ Actual Behavior

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐞 bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions