FLUTTER ECOSYSTEM

chatgpt_completions

Dart client for the unofficial ChatGPT API. Support Text Completion and stream response from v1/completions.

chatgpt_completions cover
Latest version
1.0.4
30-day downloads
267
Likes
42
Pub points
120

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

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
Supported platformsAndroidiOSWebmacOSWindowsLinux

Install package

flutter pub add chatgpt_completions

Categories

Dependencies

Dependency list 2 items

Source repository

Related projects

No data available yet.