turbo_promptable 0.0.1
turbo_promptable: ^0.0.1 copied to clipboard
Object-Oriented Prompting framework for defining AI agent prompts, roles, workflows, and tools as type-safe Dart objects.
import 'package:turbo_promptable/turbo_promptable.dart';
void main() {
// Create a team structure using MetaDataDto
final team = TeamDto(
areas: [
AreaDto(
roles: [
RoleDto(
expertise: ExpertiseDto(
field: 'Backend',
specialization: 'API Development',
experience: '5 years',
),
),
],
),
],
);
final xml = team.toXml();
// ignore: avoid_print
print(xml);
}