Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.13.0"
".": "0.14.0"
}
6 changes: 3 additions & 3 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 5
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/perplexity-ai%2Fperplexity-aba0c21c569842e93e17b69cae9cee58d389fce9c2482f4d251fd8727db05679.yml
openapi_spec_hash: 3d01b1c1425f7d43a8acf8b99bb9b321
config_hash: d7ba8374a217375f59388ce2ae8a5f90
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/perplexity-ai%2Fperplexity-51a3b755ae8040a6baeff490b3226a94c02a71aca6c4754dd365d7d0de8e399d.yml
openapi_spec_hash: 03d28237de381a5b914ef738b3587bb5
config_hash: 0be7520657a7a0fb6b5a839e716fe30c
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.14.0 (2025-10-08)

Full Changelog: [v0.13.0...v0.14.0](https://github.com/perplexityai/perplexity-py/compare/v0.13.0...v0.14.0)

### Features

* **api:** manual updates ([6c510ea](https://github.com/perplexityai/perplexity-py/commit/6c510eaf7239b14380059214d2fdb65fe2048d5c))

## 0.13.0 (2025-10-02)

Full Changelog: [v0.12.1...v0.13.0](https://github.com/perplexityai/perplexity-py/compare/v0.12.1...v0.13.0)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "perplexityai"
version = "0.13.0"
version = "0.14.0"
description = "The official Python library for the perplexity API"
dynamic = ["readme"]
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion src/perplexity/_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

__title__ = "perplexity"
__version__ = "0.13.0" # x-release-please-version
__version__ = "0.14.0" # x-release-please-version
22 changes: 10 additions & 12 deletions src/perplexity/resources/async_/chat/completions.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,7 @@ def create(
timeout: float | httpx.Timeout | None | NotGiven = not_given,
) -> CompletionCreateResponse:
"""
FastAPI wrapper around async chat completions

This endpoint creates an asynchronous chat completion job and returns a job ID
that can be used to poll for results.
Submit an asynchronous chat completion request.

Args:
extra_headers: Send extra headers
Expand Down Expand Up @@ -97,7 +94,7 @@ def list(
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = not_given,
) -> CompletionListResponse:
"""list all async chat completion requests for a given user."""
"""Retrieve a list of all asynchronous chat completion requests for a given user."""
return self._get(
"/async/chat/completions",
options=make_request_options(
Expand All @@ -113,6 +110,7 @@ def get(
local_mode: bool | Omit = omit,
x_client_env: str | Omit = omit,
x_client_name: str | Omit = omit,
x_created_at_epoch_seconds: str | Omit = omit,
x_request_time: str | Omit = omit,
x_usage_tier: str | Omit = omit,
x_user_id: str | Omit = omit,
Expand All @@ -124,7 +122,7 @@ def get(
timeout: float | httpx.Timeout | None | NotGiven = not_given,
) -> CompletionGetResponse:
"""
get the response for a given async chat completion request.
Retrieve the response for a given asynchronous chat completion request.

Args:
extra_headers: Send extra headers
Expand All @@ -142,6 +140,7 @@ def get(
{
"x-client-env": x_client_env,
"x-client-name": x_client_name,
"x-created-at-epoch-seconds": x_created_at_epoch_seconds,
"x-request-time": x_request_time,
"x-usage-tier": x_usage_tier,
"x-user-id": x_user_id,
Expand Down Expand Up @@ -195,10 +194,7 @@ async def create(
timeout: float | httpx.Timeout | None | NotGiven = not_given,
) -> CompletionCreateResponse:
"""
FastAPI wrapper around async chat completions

This endpoint creates an asynchronous chat completion job and returns a job ID
that can be used to poll for results.
Submit an asynchronous chat completion request.

Args:
extra_headers: Send extra headers
Expand Down Expand Up @@ -234,7 +230,7 @@ async def list(
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = not_given,
) -> CompletionListResponse:
"""list all async chat completion requests for a given user."""
"""Retrieve a list of all asynchronous chat completion requests for a given user."""
return await self._get(
"/async/chat/completions",
options=make_request_options(
Expand All @@ -250,6 +246,7 @@ async def get(
local_mode: bool | Omit = omit,
x_client_env: str | Omit = omit,
x_client_name: str | Omit = omit,
x_created_at_epoch_seconds: str | Omit = omit,
x_request_time: str | Omit = omit,
x_usage_tier: str | Omit = omit,
x_user_id: str | Omit = omit,
Expand All @@ -261,7 +258,7 @@ async def get(
timeout: float | httpx.Timeout | None | NotGiven = not_given,
) -> CompletionGetResponse:
"""
get the response for a given async chat completion request.
Retrieve the response for a given asynchronous chat completion request.

Args:
extra_headers: Send extra headers
Expand All @@ -279,6 +276,7 @@ async def get(
{
"x-client-env": x_client_env,
"x-client-name": x_client_name,
"x-created-at-epoch-seconds": x_created_at_epoch_seconds,
"x-request-time": x_request_time,
"x-usage-tier": x_usage_tier,
"x-user-id": x_user_id,
Expand Down
Loading