heyllo_ai_chatbot 0.0.3 copy "heyllo_ai_chatbot: ^0.0.3" to clipboard
heyllo_ai_chatbot: ^0.0.3 copied to clipboard

An AI powered Flutter chatbot plugin for integrating into your flutter app.

Changelog #

All notable changes to the Heyllo Chat Plugin will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[0.0.2+1] - 2025-04-02 #

Changed #

  • Updated README documentation.

[0.0.2] - 2025-04-01 #

Changed #

  • Updated README documentation.

[0.0.1] - 2025-03-30 #

Added #

  • Initial public release

[0.0.3] - 2025-04-14 #

Added #

  • Markdown Support: Bot responses are now rendered as Markdown using flutter_markdown, allowing for richer text formatting (bold, italics, lists, links, etc.).
  • Citation Handling: Added support for receiving citation data from the backend.
  • Citation Toggle: Added showCitations parameter to ChatWidget to allow developers to show/hide citation information in the UI.
  • Enable/Disable Toggle: Added isEnabled parameter to ChatWidget to allow developers to enable or disable the chat functionality dynamically.
  • Thread ID Context: Implemented handling for thread_id received from the backend (metadata type response) and sending it back on subsequent requests to maintain conversation context.
  • New Callbacks: Added optional onCitationsReceived and onThreadIdReceived callbacks to ChatWidget.
  • Error Message Type: Introduced an explicit error message type for better error handling and display.

Changed #

  • Backend Response Handling: Refactored ChatService and MethodChannelChatPlugin to process structured JSON responses from the backend with distinct type fields (content, metadata, citations, error) instead of just plain text streams.
  • Stream Finalization: Improved stream handling in ChatService to correctly identify the end of a response (including handling custom stream_end events) and update the message state (isWaiting=false) reliably.
  • API Signatures: Updated streamResponse method signature across ChatPlugin, ChatPluginPlatform, and MethodChannelChatPlugin to accept threadId and return Stream<Map<String, dynamic>>.
  • ChatMessage Model: Updated ChatMessage to include type, threadId, and citations fields.

Fixed #

  • Persistent Loading Indicator: Fixed an issue where the loading indicator on bot messages would not disappear after the response was fully received.
  • Type Errors: Corrected type mismatches in ChatBubble related to BorderRadiusGeometry/BorderRadius and EdgeInsetsGeometry/EdgeInsets.
3
likes
150
points
177
downloads

Publisher

verified publisherheyllo.co

Weekly Downloads

An AI powered Flutter chatbot plugin for integrating into your flutter app.

Homepage

Documentation

Documentation
API reference

License

MIT (license)

Dependencies

flutter, flutter_client_sse, flutter_markdown, http, mockito, plugin_platform_interface, url_launcher

More

Packages that depend on heyllo_ai_chatbot