Download the PHP package aisdk/perplexity without Composer
On this page you can find all versions of the php package aisdk/perplexity. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download aisdk/perplexity
More information about aisdk/perplexity
Files in aisdk/perplexity
Download aisdk/perplexity
More information about aisdk/perplexity
Files in aisdk/perplexity
Vendor aisdk
Package perplexity
Short Description Official Perplexity provider for the PHP AI SDK.
License MIT
Homepage https://github.com/phpaisdk/perplexity
Package perplexity
Short Description Official Perplexity provider for the PHP AI SDK.
License MIT
Homepage https://github.com/phpaisdk/perplexity
Please rate this library. Is it a good library?
Informations about the package perplexity
aisdk/perplexity
Official Perplexity provider for the PHP AI SDK. Uses Perplexity's Chat Completions API.
Installation
Basic Usage
Configuration
| Variable | Description | Default |
|---|---|---|
PERPLEXITY_API_KEY |
API key for authentication | Required |
PERPLEXITY_BASE_URL |
Base URL for API requests | https://api.perplexity.ai |
Supported Capabilities
| Capability | Support |
|---|---|
| Text generation | Native |
| Streaming | Native |
| Tool calling | Native |
| Structured output | Adapted (json_object with an explicit JSON instruction) |
| Text input | Native |
Provider-specific fields can be passed through providerOptions('perplexity', [...]). Model IDs are opaque strings and Perplexity remains the authority on model availability.
Testing
Documentation
Community
- Contributing
- Support
- For private security reports, email [email protected].
All versions of perplexity with dependencies
PHP Build Version
Package Version
The package aisdk/perplexity contains the following files
Loading the files please wait ...