halkyon/packages/halkyon_llm/lib/halkyon_llm.dart

11 lines
522 B
Dart
Raw Normal View History

/// Language models' APIs in pure Dart, streamed, over plain HTTP (ADR 0021,
/// point 5): Anthropic's Messages API and OpenAI's chat completions, and
/// every service compatible with it, behind one interface of what both
/// share: a system prompt and messages, text as it is written, images, and
/// tool calls. Nothing here keeps or logs what is asked or answered.
library;
export 'src/client.dart' show HttpLlmClient, LlmClient;
export 'src/conversation.dart';
export 'src/endpoint.dart';
export 'src/failure.dart';