You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Comprehensive toolkit for integrating Perplexity's AI capabilities into Dart and Flutter applications. Includes a lightweight core API client (`perplexity_dart`) and Flutter widgets (`perplexity_flutter`) with BLoC state management.
11
11
12
-
## Features
12
+
## What It Does
13
13
14
14
-**Type-safe API Client** - Fully typed models with compile-time safety
15
15
-**Streaming & Non-streaming** - Real-time chat completions with streaming support
@@ -20,177 +20,43 @@ Comprehensive toolkit for integrating Perplexity's AI capabilities into Dart and
20
20
-**Cross-platform** - iOS, Android, Web, Desktop support
21
21
-**Future-proof** - Custom model string support for new Perplexity releases
22
22
23
-
## Prerequisites
24
-
25
-
- Dart SDK 2.17.0+
26
-
- Flutter SDK 3.0.0+ (for Flutter features)
27
-
-[Perplexity API Key](https://www.perplexity.ai/settings/api)
-[Perplexity API Docs](https://docs.perplexity.ai/)
184
-
185
-
**Contributing:** Issues and PRs welcome on both [perplexity_dart](https://github.com/vishnu32510/perplexity_dart/issues) and [perplexity_flutter](https://github.com/vishnu32510/perplexity_flutter/issues) repositories.
186
-
187
-
## Limitations
188
-
189
-
-**API Rate Limits** - Implement rate limiting for production use
190
-
-**Image Formats** - Base64, data URI, HTTPS URLs supported; local files need conversion
191
-
-**Context Windows** - 128K-200K token limits per model
192
-
-**API Key Security** - Store securely; avoid hardcoding in client apps
193
-
-**Streaming Dependencies** - Requires WebSocket support on target platforms
194
-
-**Flutter Web** - Limited file operations in web environments
195
61
196
-
**Production Tips:**Implement API key rotation, retry logic, caching strategies, usage monitoring, and proper error boundaries.
62
+
**Contributing:**Issues and PRs welcome on both repositories.
0 commit comments