OpenAI has a strict option for tool calling which can be supplied:
- At the request level for all tools in the request
- At a per tool level
See OpenAI docs for details
It appears the base LlmTornado has support for this: The Tool class offers a strict parameter; though I'm not 100% sure this gets passed through to OpenAI.
However, there doesn't appear to be a way to set this from a Microsoft.Extensions.AI IChatClient.
Is there any appetite to support this? I am happy to contribute; if I could get some guidance on what would make most sense for LlmTornado here
OpenAI has a
strictoption for tool calling which can be supplied:See OpenAI docs for details
It appears the base LlmTornado has support for this: The Tool class offers a
strictparameter; though I'm not 100% sure this gets passed through to OpenAI.However, there doesn't appear to be a way to set this from a
Microsoft.Extensions.AIIChatClient.Is there any appetite to support this? I am happy to contribute; if I could get some guidance on what would make most sense for LlmTornado here