Skip to content

nohe427/gem-community-edition

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is not an officially supported Google product

This requires code generation from : dart run build_runner build

Steps to generate the SDK:

  1. Ensure you're on dart version ^3.2.3
  2. Run cd gem-community-edition
  3. Run dart pub get
  4. Run dart run build_runner build

To run the code sample:

  1. Generate the SDK as shown above
  2. Insert a valid Gemini API key into example/API_KEY
  3. Run dart run example/gemini_community_edition_example.dart

To run the image analyzer sampple:

  1. Generate the SDK as shown above
  2. Insert a valid Gemini API key into example/API_KEY
  3. Run dart run example/analyze_image.dart "What is in this picture?" example/xmas_tree.jpeg "Is it real?" "Is it good?"

You can post multiple string prompts and files to the invocation and it will just pass them to Gemini, and print the results.

About

Gemini Community Edition Dart Plugin

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages