flutter_ai_core 0.1.0 copy "flutter_ai_core: ^0.1.0" to clipboard
flutter_ai_core: ^0.1.0 copied to clipboard

Dependency-free Dart foundation for AI chat: message and conversation models, a streaming MessageProcessor with granular mutations, and the provider and renderer contracts the rest of the flutter_ai f [...]

Changelog #

0.1.0 #

Initial release.

  • Models: AiConversation, AiMessage, AiMessageStatus, AiRole, FinishReason, and the sealed AiPart hierarchy (TextPart, ReasoningPart, ToolCallPart, ToolResultPart, FilePart, SourcePart, DataPart) with manual JSON serialization and value equality.
  • Streaming: sealed AiStreamEvent set, MessageProcessor reducer with granular MutationResults, and the tolerant JsonAccumulator for partial tool-call arguments.
  • Contracts: LlmProvider, TextRenderer, AiRequestOptions, ToolDefinition.
  • Zero runtime dependencies (dart:core + dart:convert only).
1
likes
0
points
542
downloads

Publisher

unverified uploader

Weekly Downloads

Dependency-free Dart foundation for AI chat: message and conversation models, a streaming MessageProcessor with granular mutations, and the provider and renderer contracts the rest of the flutter_ai family builds on.

Homepage
Repository (GitHub)
View/report issues

Topics

#ai #llm #chat #streaming #flutter

License

unknown (license)

More

Packages that depend on flutter_ai_core