Skip to content

OpenAI strict support for Microsoft.Extensions.AI #133

@skylarbpayne

Description

@skylarbpayne

OpenAI has a strict option for tool calling which can be supplied:

  1. At the request level for all tools in the request
  2. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions