Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: google-gemini/deprecated-generative-ai-js
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.21.0
Choose a base ref
...
head repository: google-gemini/deprecated-generative-ai-js
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.22.0
Choose a head ref
  • 6 commits
  • 83 files changed
  • 4 contributors

Commits on Oct 7, 2024

  1. Add samples for log prob and search grounding (#273)

    * Add samples for log prob and search grounding
    
    * Fix the comment.
    
    * Update search grounding and log probs example. Resolve comment from Christina
    
    * Remove s
    
    * Add import comments to the sample
    junyanxu authored Oct 7, 2024
    Copy the full SHA
    bb553d0 View commit details

Commits on Oct 11, 2024

  1. Update FinishReason enum (#270)

    * update enums
    
    * run all the yarns
    stephmilovic authored Oct 11, 2024
    Copy the full SHA
    25d3a92 View commit details

Commits on Oct 17, 2024

  1. Fix samples and update yarn.lock (#283)

    dlarocque authored Oct 17, 2024
    Copy the full SHA
    927f6f0 View commit details

Commits on Nov 5, 2024

  1. Fix the issue #124 (#290)

    junyanxu authored Nov 5, 2024
    Copy the full SHA
    6ec2c27 View commit details

Commits on Nov 13, 2024

  1. Fix the issue #124 (Add the changeset) (#293)

    * Fix the issue #124
    
    * Add changeset change.
    junyanxu authored Nov 13, 2024
    Copy the full SHA
    6a99ed8 View commit details

Commits on Nov 18, 2024

  1. Make Schema a discriminated union (#296)

    * Make Schema a discriminated union
    
    This leverages the type system to better describe the API's requirements for schemas. For example, rather than saying that any schema might have an optional `items` property, we're able to express that `items` is required on array schemas and forbidden on all others.
    
    More info on discriminated unions: https://www.typescriptlang.org/docs/handbook/2/narrowing.html#discriminated-unions
    
    * Update docs.
    rictic authored Nov 18, 2024
    Copy the full SHA
    3004d3b View commit details
Loading