Skip to content

OnnxRuntimeGenAIChatClient how to use Tools? #1373

Closed

Description

@williamlzw
OnnxRuntimeGenAIChatClient how to use Tools?


using var client = new OnnxRuntimeGenAIChatClient(model, options:config);
var completion = client.GetStreamingResponseAsync(chatHistory, new()
{
    MaxOutputTokens = 4096,
    AdditionalProperties = new() { { "max_length", 2048 } },
    Tools =???
});

Activity

  1. changed the title [-]OnnxRuntimeGenAIChatClient how to usel Tools?[/-] [+]OnnxRuntimeGenAIChatClient how to use Tools?[/+] on Apr 3, 2025
  2. baijumeswani commented on Apr 3, 2025

    @baijumeswani
    Collaborator

    At the moment, the OnnxRuntimeGenAIChatClient does not support tools. Will discuss internally if this is feasible. I'll move this issue to discussion for now.

  3. locked and limited conversation to collaborators on Apr 3, 2025
  4. converted this issue into a discussion #1375 on Apr 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions