Overview
A Dart client for the unofficial ChatGPT API, enabling text completion and streaming responses via the v1/completions endpoint. Designed for Flutter apps, it supports multiple platforms including Android, iOS, Web, macOS, Windows, and Linux. The package simplifies integration with ChatGPT's text generation capabilities, allowing developers to fetch AI-generated content in real time. Ideal for chat interfaces, content assistants, and interactive applications requiring natural language processing.
Use cases
- Real-time chat applications
- AI-powered content generation
- Interactive learning tools
- Automated response systems
- Code suggestion features
Key features
- Supports text completion
- Streams responses in real time
- Cross-platform compatibility
- Simple API interface
- Unofficial but functional access to ChatGPT
Suitable for
- Flutter developers building AI chat features
- Apps needing on-the-fly text generation
- Prototypes requiring quick AI integration
Considerations
- Unofficial API—may break with updates
- Rate limits and stability depend on external service
- No official support from OpenAI
- Requires API key management
- Limited to completion endpoints, not full chat history
