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(vertexai/genai): constrained decoding #9731

Merged
merged 6 commits into from Apr 29, 2024
Merged

feat(vertexai/genai): constrained decoding #9731

merged 6 commits into from Apr 29, 2024

Commits on Apr 15, 2024

  1. feat(vertexai/genai): constrained decoding

    Expose FunctionCallingMode, which lets the user configure
    how the model issues function calls.
    
    By setting the new field `Model.ToolConfig`, the user can select whether
    the model can call any provided function, only those in a provided list,
    or no functions.
    
    Regenerating also brought along a few other new types and values,
    some of which required configuration.
    jba committed Apr 15, 2024
    Configuration menu
    Copy the full SHA
    8544f69 View commit details
    Browse the repository at this point in the history
  2. tweak enum name

    jba committed Apr 15, 2024
    Configuration menu
    Copy the full SHA
    6b887f8 View commit details
    Browse the repository at this point in the history
  3. reviewer comments

    jba committed Apr 15, 2024
    Configuration menu
    Copy the full SHA
    dfcdc5d View commit details
    Browse the repository at this point in the history

Commits on Apr 29, 2024

  1. fix Blob doc

    jba committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    52bef8d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    62711fc View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    bb786f0 View commit details
    Browse the repository at this point in the history