jev_dart 0.1.0
jev_dart: ^0.1.0 copied to clipboard
Dart client for TypeSafe AI (Jev / System One). Send state and typed questions; get structured answers. Pure Dart — works in CLI, server, and Flutter.
example/main.dart
import 'package:jev_dart/jev_dart.dart';
Future<void> main() async {
final client = TypeSafeClient();
try {
final result = await client.systemOne(
state: 'I was charged twice. Please help.',
questions: {
'billing': noul('Is this about billing?'),
},
);
print('model: ${result.model}');
print('billing p(yes): ${result.noul('billing').noul}');
} finally {
client.close();
}
}