Thanks to visit codestin.com
Credit goes to github.com

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-python
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.8.2
Choose a base ref
...
head repository: google-gemini/deprecated-generative-ai-python
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.8.3
Choose a head ref
  • 7 commits
  • 10 files changed
  • 4 contributors

Commits on Sep 24, 2024

  1. fix: preserve quality and optimize transfer of prompt images (#570)

    * fix: preserve quality and optimize transfer of prompt images
    
    * Move numpy-images to their own test case.
    
    Change-Id: Ie6b02c7647487c1df9d4e70e9b8eed70dc8b8fe3
    
    * Format with black
    
    Change-Id: I04550a89eed9bb21c0a8f6f9b6ab76b8b0f41270
    
    ---------
    
    Co-authored-by: Mark Daoust <[email protected]>
    PicardParis and MarkDaoust authored Sep 24, 2024
    Configuration menu
    Copy the full SHA
    6c8dad1 View commit details
    Browse the repository at this point in the history
  2. Search grounding (#558)

    * Updated tests and current progress on adding search grounding.
    
    * Update google/generativeai/types/content_types.py
    
    Co-authored-by: Mark Daoust <[email protected]>
    
    * Update tests/test_content.py
    
    Co-authored-by: Mark Daoust <[email protected]>
    
    * Update search grounding
    
    * update content_types
    
    * Update and add aditional test cases
    
    * update test case on empty_dictionary_with_dynamic_retrieval_config
    
    * Update test cases and _make_search_grounding
    
    * fix tests
    
    Change-Id: Ib9e19d78861da180f713e09ec93d366d5d7b5762
    
    * Remove print statement
    
    * Fix tuned model tests
    
    Change-Id: I5ace9222954be7d903ebbdabab9efc663fa79174
    
    * Fix tests
    
    Change-Id: Ifa610965c5d6c38123080a7e16416ac325418285
    
    * format
    
    Change-Id: Iab48a9400d53f3cbdc5ca49c73df4f6a186a867b
    
    * fix typing
    
    Change-Id: If892b20ca29d1afb82c48ae1a49bef58e0421bab
    
    * Format
    
    Change-Id: I51a51150879adb3d4b6b00323e0d8eaf4c0b2515
    
    ---------
    
    Co-authored-by: Mark Daoust <[email protected]>
    shilpakancharla and MarkDaoust authored Sep 24, 2024
    Configuration menu
    Copy the full SHA
    d5103eb View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2024

  1. Remove finish_message (#571)

    Change-Id: I55f8339aea7e71e0b073c1a2ef9b3748500e09ed
    MarkDaoust authored Sep 26, 2024
    Configuration menu
    Copy the full SHA
    be00c19 View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2024

  1. Stream file upload (#556)

    * Add IOBase support to FileServiceClient.create_file
    
    * add support to upload file-like object
    
    * Give clear errors for 'unknown' mime-types
    
    Change-Id: Iea071c396c4cfe2b2c8eacae74dd8fb0acbc128f
    
    * Remove duplicate check for mime_type
    
    * Add a test uploading from a file-like IO object
    
    Change-Id: I572f02ed98b9ca45299b76e7a01695fdcf917e1e
    
    * fix type check
    
    Change-Id: I220c05eee73ae76ced25254d67332f70a4069f7e
    
    ---------
    
    Co-authored-by: Mark Daoust <[email protected]>
    Hamza-nabil and MarkDaoust authored Sep 27, 2024
    Configuration menu
    Copy the full SHA
    b50341e View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2024

  1. Update default model name (#576)

    Change-Id: I2d8ef6d251d0128695e45df119c31d6b63e26ba7
    MarkDaoust authored Sep 30, 2024
    Configuration menu
    Copy the full SHA
    4354af6 View commit details
    Browse the repository at this point in the history

Commits on Oct 1, 2024

  1. Removing OAuth from tuning for REST (#579)

    * Removing OAuth from tuning for REST
    
    * remove key
    
    * Fix line continuation
    
    Change-Id: I639aa453699766bf31f7722a59f4157a53cf7de4
    
    ---------
    
    Co-authored-by: Mark Daoust <[email protected]>
    shilpakancharla and MarkDaoust authored Oct 1, 2024
    Configuration menu
    Copy the full SHA
    8f77cc6 View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2024

  1. update version (#588)

    Change-Id: I998fa990bc7dfb220e78cd7f9692c8530993d7c4
    MarkDaoust authored Oct 7, 2024
    Configuration menu
    Copy the full SHA
    7546026 View commit details
    Browse the repository at this point in the history
Loading