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.7.0
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.7.1
Choose a head ref
  • 5 commits
  • 13 files changed
  • 3 contributors

Commits on Jun 26, 2024

  1. Add samples for Files API (#395)

    * Add samples for Files API
    
    Change-Id: Ied2df1633e132bda8c144e59107ae11e02b36b2f
    
    * Move sample media to third_party/ directory.
    
    Change-Id: Iee3a0e3d30b7754907c48c11822eac6cadd1082b
    
    * Format.
    
    Change-Id: Ie62a1314ca44074fa1f8904a1d5e3ada2c52fcba
    MarkDaoust authored Jun 26, 2024
    Configuration menu
    Copy the full SHA
    fb29861 View commit details
    Browse the repository at this point in the history
  2. Add embedding sample (#397)

    * Add embedding sample
    
    * Add batch embedding sample
    shilpakancharla authored Jun 26, 2024
    Configuration menu
    Copy the full SHA
    8e13711 View commit details
    Browse the repository at this point in the history
  3. Add sample for JSON controlled generation (#398)

    * Add sample for JSON controlled generation
    
    * Update embeddings and JSON samples
    
    * Move import statement inside function
    
    * Remove import statement from inside function
    shilpakancharla authored Jun 26, 2024
    Configuration menu
    Copy the full SHA
    3e281e7 View commit details
    Browse the repository at this point in the history
  4. Code execution (#396)

    * Modify _make_tool to accept code_execution proto object
    
    * Make adding code execution compatible with current tests
    
    * Update test_content.py to test code_execution
    
    * Test cases running and passing for code execution updates
    
    * Updated _join_contents to handle executable_code and code_execution_results
    
    * Updated .text field to include executable code and code execution results
    
    * Update versions.
    
    Change-Id: I4e2c9081a9de9105bfc1d9d83769d98faee4d18e
    
    * format
    
    Change-Id: I38de8c9fe434785608ad5e04a2234bd584e2de03
    
    ---------
    
    Co-authored-by: Mark Daoust <[email protected]>
    shilpakancharla and MarkDaoust authored Jun 26, 2024
    Configuration menu
    Copy the full SHA
    63a140b View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2024

  1. Remove extra new line. (#400)

    * Remove extra new line.
    
    * blacken
    
    ---------
    
    Co-authored-by: Mark McDonald <[email protected]>
    MarkDaoust and markmcd authored Jun 27, 2024
    Configuration menu
    Copy the full SHA
    4960f78 View commit details
    Browse the repository at this point in the history
Loading