flutter_ai_toolkit 0.4.0 copy "flutter_ai_toolkit: ^0.4.0" to clipboard
flutter_ai_toolkit: ^0.4.0 copied to clipboard

A set of AI chat-related widgets for your Flutter app targeting mobile, desktop and web.

0.4.0 #

  • implemented #13: UI needs dark mode support

  • implemented #30: chat serialization/deserialization

  • fixed #64: bug: selection sticks around after clearing the history

  • fixed #63: bug: broke multi-line text input

  • fixed #60: bug: if an LLM request fails with no text in the response, the progress indicator never stops

  • implemented #31: feature: provide a list of initial suggested prompts to display in an empty chat session

  • implemented #25: better mobile long-press action menu for chat messages

  • fixed #47: bug: Long pressing a message and then clicking outside of the toolbar should make the toolbar disappear

0.3.0 #

  • implemented #32: feature: dev-configured LLM message icon

  • fixed #19: prompt attachments are incorrectly merging when editing after adding attachments to a new prompt

  • implemented #27: feature: styling of colors and fonts

0.2.1 #

  • fixing the user message edit menu

  • show errors and cancelations as separate from message output; this is necessary so that you can tell the difference between an LLM message response with a successful result that, for example, can be parsed as JSON, or an error

0.2.0 #

  • implemented #33: feature: chat microphone only prompt input

  • added a generateStream method to LlmProvider to support talking to the underlying generative model w/o adding to the chat history; moved chatModel properties in the Gemini and Vertex providers to use a more generic generativeModel to make it clear which model is being used for both sendMessageStream and generateStream.

  • moved from flutter_markdown_selectionarea to plain ol' flutter_markdown which does now support selection if you ask it nicely. I still have some work to do on selection, however, as described in issue #12.

  • implemented #27: styling support, including a sample

  • fixed #3: ensure Google Font Roboto is being resolved

  • implemented #2: feature: enable full functionality inside a Cupertino app

  • fixed #45: bug: X icon button is also pushing up against the top and left edges without any padding

  • fixed #59: bug: Android Studio LadyBug Upgrade Issues

  • upgraded to the GA version of firebase_vertexai

0.1.6 #

  • added optional welcomeMessage to LlmChatView and a welcome sample. thanks, @berkaykurkcu!

  • updated VertexProvider to take a separate chat and embedding model like GeminiProvider

  • fixed #51 : Click on an image to get a preview. thanks, @Shashwat-111!

  • fixed #6: get a spark icon to designate the LLM

  • updated README for clarity

0.1.5 #

  • Reference docs update

0.1.4 #

  • CHANGELOG fix

0.1.3 #

  • new real-world-ish sample: recipes

  • new custom LLM provider sample: gemma

  • handling structured LLM responses via responseBuilder (see recipes sample)

  • app-provided prompt suggestions (see recipes sample)

  • pre-processing prompts to add prompt engineering via messageSender

  • pre-processing requests to enrich the output, e.g. host Flutter widgets (see recipes sample)

  • swappable support for LLM providers; oob support for Gemini and Vertex (see gemma example)

  • fixed trim and over-eager message editing issues -- thanks, @Shashwat-111!

0.1.2 #

  • More README fixups

0.1.1 #

  • Fixing README screenshot (sigh)

0.1.0 #

  • Initial alpha release