genai_primitives 0.1.0
genai_primitives: ^0.1.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;