genai_primitives 0.2.0 copy "genai_primitives: ^0.2.0" to clipboard
genai_primitives: ^0.2.0 copied to clipboard

A set of primitives for working with generative AI.

genai_primitives #

This package provides a set of technology-agnostic primitive types and data structures for building Generative AI applications in Dart.

It includes core definitions such as ChatMessage, Parts, ToolDefinition and other foundational classes that are used across the genai ecosystem to ensure consistency and interoperability between different AI providers.

Aliasing #

If you need to resolve name conflicts with other packages, alias the package as genai:

import 'package:genai_primitives/genai_primitives.dart' as genai;
1
likes
0
points
1.06k
downloads

Publisher

verified publisherlabs.flutter.dev

Weekly Downloads

A set of primitives for working with generative AI.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

collection, cross_file, json_schema_builder, meta, mime, path

More

Packages that depend on genai_primitives