smartlinks_ai 2.0.3 copy "smartlinks_ai: ^2.0.3" to clipboard
smartlinks_ai: ^2.0.3 copied to clipboard

AI Gateway client for SmartLinks Flutter SDK — unified POST /api/v1/ai/process orchestrator.

smartlinks_ai #

AI Gateway client for SmartLinks — chat, vision, transcribe, image, and speech pipelines via the native bridge.

Recommended: SmartLinks.ai and SmartLinks.openAiTest() via smartlinks_flutter. Full docs: repository README.

Features #

  • SmartLinksAiGatewaychat, vision, transcribe, image, speech, runPipeline
  • Optional AI test UI for integrators (openAiChatTest / SmartLinks.openAiTest)
  • Customizable AiStrings + SmartLinksTheme

Quick start #

import 'package:smartlinks_flutter/smartlinks_flutter.dart';

await SmartLinks.initialize(apiKey: 'YOUR_KEY');

// Test harness screen
await SmartLinks.openAiTest(context);

// Headless
final response = await SmartLinks.ai.chat(
  AiChatOptions(
    messages: [AiChatMessage(role: 'user', content: 'Summarize this app')],
  ),
);

Requires iOS/Android native bridge (not available on web).

License #

MIT — see LICENSE.

0
likes
140
points
172
downloads

Documentation

API reference

Publisher

verified publishersmartlinks.live

Weekly Downloads

AI Gateway client for SmartLinks Flutter SDK — unified POST /api/v1/ai/process orchestrator.

Homepage
Repository (GitLab)

License

MIT (license)

Dependencies

dio, flutter, smartlinks_core

More

Packages that depend on smartlinks_ai