perplexity_dart 1.0.5 copy "perplexity_dart: ^1.0.5" to clipboard
perplexity_dart: ^1.0.5 copied to clipboard

A lightweight Dart SDK to interact with Perplexity.ai's chat completion API (streaming + model switching supported).

1.0.5 #

  • Added image‐sending support via mix of text & image payloads
  • Added defaultImageRequest for ease of use
  • Exposed systemPrompt parameter on the default ChatRequestModel factory
  • Updated documentation & examples for image‐based requests
  • Added support for multiple images in a single request
  • Added support for response_format parameter
  • Added support for top_k parameter

1.0.4 #

  • Update readme and cleanup

1.0.3 #

  • Example Update

1.0.2 #

  • Github Actions addition

1.0.1 #

  • Fixed minor bugs

1.0.0 #

  • Updated http package dependency to ^1.0.0 for better compatibility
  • Fixed linting issues in chat_request_model.dart
  • Improved code quality to meet pub.dev standards
  • Fixed minor bugs
  • Improved documentation

0.0.1 #

  • Initial release of the Perplexity Dart SDK
  • Support for streaming and non-streaming chat completions
  • Multiple Perplexity models support (sonar, sonar-pro, etc.)
  • Chat roles: system, user, assistant, tool
2
likes
160
points
186
downloads

Publisher

unverified uploader

Weekly Downloads

A lightweight Dart SDK to interact with Perplexity.ai's chat completion API (streaming + model switching supported).

Homepage
Repository (GitHub)
View/report issues

Topics

#perplexity #chat #ai #llm #sdk

Documentation

API reference

License

MIT (license)

Dependencies

http

More

Packages that depend on perplexity_dart