github google-gemini/deprecated-generative-ai-python v0.4.0
v0.4.0 - Function calling, Semantic retriever, AQA, and more

latest releases: v0.8.6, v0.8.5, v0.8.4...
2 years ago

What's new

Features

  • Update notebook magics to work with Gemini by @markmcd in #109
  • Semantic retriever by @shilpakancharla in #168
  • Attributed question answering (genai.generate_answer) by @shilpakancharla in #169
  • Automatic function calling. by @MarkDaoust in #201
     model = genai.GenerativeModel(..., tools=[my_function])
     chat = model.start_chat(enable_automatic_function_calling=True)
    
  • Request options (timeouts, retry, ...) by @aidoskanapyanov in #204
    Model.generate_content(..., 
        request_options={'timeout': 100, 'retry': google.api_core.retry.Retry()})
    
  • Permissions module by @mayureshagashe2105 in #205

More updates

New Contributors

Full Changelog: v0.3.2...v0.4.0

Don't miss a new deprecated-generative-ai-python release

NewReleases is sending notifications on new releases.