Skip to content

[Misc]: Why do we need to explicitly pass tool parsers? #13399

@Datta0

Description

@Datta0

Anything you want to discuss about vllm.

I was wondering why we need to explicitly pass tool parser as argument while loading models using vllm serve
I understand that the response format can be dependent on the model (like <python_tag> and [TOOL] for llama and mistral)
But I was taking a look at Huggingface TGI and they don't seem to have/need anything like that.
So would it be possible to have a default parser which looks for json-esque tokens when auto tool choice is enabled but no parser is passed?

Before submitting a new issue...

  • Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    miscstaleOver 90 days of inactivity

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions