Salta al contenuto

How to disable Bedrock to use any tool?

0

There is an option in OpenAI and Gemini to disable tool usage. There is no such option in ToolChoice

I have tried removing the ToolConfiguration but it won't work if previous messages contain tools.

The toolConfig field must be defined when using toolUse and toolResult content blocks.
1 Risposta
0

Bedrock API doesn't support disabling Bedrock to use any tool.

There is an open feature request on GitHub: https://github.com/boto/botocore/issues/3458

AWS

con risposta un anno fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.