Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 1.02 KB

CHANGELOG.md

File metadata and controls

23 lines (18 loc) · 1.02 KB

2.0.0-dev-1

  • Add new crucial features

  • streamGenerateContent
  • The model usually gives a response once it finishes generating the entire output. To speed up interactions, you can opt not to wait for the complete result and instead use streaming to manage partial results.
  • batchEmbedContents
  • embedContent
  • Embedding is a method that transforms information, like text, into a list of floating-point numbers in an array. Gemini enables the representation of text, such as words or sentences, in a vectorized form. This facilitates the comparison of embeddings, allowing for the identification of similarities between texts through mathematical techniques like cosine similarity. For instance, texts with similar subject matter or sentiment should exhibit similar embeddings.
  • Updates

  • textAndImage

  • Convert the image property to the images
- image: file.readAsBytesSync(), /// image
+ images: [file.readAsBytesSync()] /// list of images

1.0.1

  • update pubspec

1.0.0

  • first publish