- reInitialize
- add mime type from Uint8List
- GeminiException( message , statusCode)
- Decode utf-8
- streamChat
- work for lower Dart SDK version
- 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.
- 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.
- Convert the image property to the
images
- image: file.readAsBytesSync(), /// image
+ images: [file.readAsBytesSync()] /// list of images
- update pubspec
- first publish