Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(grammar): support models with specific construct #2291

Merged
merged 1 commit into from
May 11, 2024
Merged

Commits on May 11, 2024

  1. feat(grammar): support models with specific construct

    When enabling grammar with functions, it might be useful to
    allow more flexibility to support models that are fine-tuned against returning
    function calls of the form of { "name": "function_name", "arguments" {...} }
    rather then { "function": "function_name", "arguments": {..} }.
    
    This might call out to a more generic approach later on, but for the moment being we can easily support both
    as we have just to specific different types.
    
    If needed we can expand on this later on
    
    Signed-off-by: mudler <[email protected]>
    mudler committed May 11, 2024
    Configuration menu
    Copy the full SHA
    0c83cee View commit details
    Browse the repository at this point in the history