Perplexity LLM plugin for LiveKit Agents
Project description
Perplexity plugin for LiveKit Agents
Support for Perplexity LLMs via the OpenAI-compatible
chat completions endpoint at https://api.perplexity.ai.
See https://docs.livekit.io/agents/models/llm/perplexity/ for more information.
Installation
pip install livekit-plugins-perplexity
Pre-requisites
You'll need an API key from Perplexity. It can be passed directly or set as the
PERPLEXITY_API_KEY environment variable.
Usage
from livekit.plugins import perplexity
llm = perplexity.LLM(
model="sonar-pro",
# api_key picked up from PERPLEXITY_API_KEY if omitted
)
The plugin reuses the OpenAI plugin's chat completions transport with
base_url="https://api.perplexity.ai" and forwards an X-Pplx-Integration
attribution header on every outgoing request.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file livekit_plugins_perplexity-1.5.9.tar.gz.
File metadata
- Download URL: livekit_plugins_perplexity-1.5.9.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d5b94f06009bd1adc2b5397d73fbcca6ad659d3bdbff44165891dfc3d410df21
|
|
| MD5 |
4f020f59ff0f136d9f3e45643272b284
|
|
| BLAKE2b-256 |
9a6b532f353b7d933e610889e4d5d20103dbc1d488cdf72677d47e9a617ffd11
|
Provenance
The following attestation bundles were made for livekit_plugins_perplexity-1.5.9.tar.gz:
Publisher:
publish.yml on livekit/agents
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
livekit_plugins_perplexity-1.5.9.tar.gz -
Subject digest:
d5b94f06009bd1adc2b5397d73fbcca6ad659d3bdbff44165891dfc3d410df21 - Sigstore transparency entry: 1525577945
- Sigstore integration time:
-
Permalink:
livekit/agents@ef9d8fbfa762c6909a29ed753a720eb135ccd5d6 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/livekit
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@ef9d8fbfa762c6909a29ed753a720eb135ccd5d6 -
Trigger Event:
pull_request
-
Statement type:
File details
Details for the file livekit_plugins_perplexity-1.5.9-py3-none-any.whl.
File metadata
- Download URL: livekit_plugins_perplexity-1.5.9-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
edc826a3e2e1aed8a7f2809617d05572724e58d60b9048578df4f0e729094a24
|
|
| MD5 |
139c5c715a3297d8aee42c8eeb160fdf
|
|
| BLAKE2b-256 |
3eae0bac0eb74d657f50bf2776da66565417e63105b26a0363ea711a32b18261
|
Provenance
The following attestation bundles were made for livekit_plugins_perplexity-1.5.9-py3-none-any.whl:
Publisher:
publish.yml on livekit/agents
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
livekit_plugins_perplexity-1.5.9-py3-none-any.whl -
Subject digest:
edc826a3e2e1aed8a7f2809617d05572724e58d60b9048578df4f0e729094a24 - Sigstore transparency entry: 1525577984
- Sigstore integration time:
-
Permalink:
livekit/agents@ef9d8fbfa762c6909a29ed753a720eb135ccd5d6 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/livekit
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@ef9d8fbfa762c6909a29ed753a720eb135ccd5d6 -
Trigger Event:
pull_request
-
Statement type: