Skip to content

Commit 5c6225e

Browse files
authored
Merge pull request #7 from ppl-ai/release-please--branches--main--changes--next--components--perplexity_ai
2 parents 1539cf8 + d257aff commit 5c6225e

File tree

14 files changed

+15
-103
lines changed

14 files changed

+15
-103
lines changed

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.3.0"
2+
".": "0.4.0"
33
}

.stats.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
configured_endpoints: 6
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/perplexity-ai%2Fperplexity-0a0c41e4a1d04f467b380f19330aad7cccfdf3550c269995b6921dfd68615c51.yml
3-
openapi_spec_hash: 030643101899103819c1004f32cafbbc
4-
config_hash: 17c338b2ef0119791bd9f178936b252f
1+
configured_endpoints: 5
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/perplexity-ai%2Fperplexity-c521eee7c440c9b8a6262ec75d47eb3f52a2735f1c3f733b80bff8ca1f98b153.yml
3+
openapi_spec_hash: 7b5a570eb6f33531a1174509877830d4
4+
config_hash: 5eb378664dbbf04226c3eeb86103761d

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changelog
22

3+
## 0.4.0 (2025-09-17)
4+
5+
Full Changelog: [v0.3.0...v0.4.0](https://github.com/ppl-ai/perplexity-node/compare/v0.3.0...v0.4.0)
6+
7+
### Features
8+
9+
* **api:** manual updates ([bb7ef97](https://github.com/ppl-ai/perplexity-node/commit/bb7ef972fd3846806ca5e989621fff963249fe9a))
10+
311
## 0.3.0 (2025-09-15)
412

513
Full Changelog: [v0.2.1...v0.3.0](https://github.com/ppl-ai/perplexity-node/compare/v0.2.1...v0.3.0)

api.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,3 @@ Types:
4747
Methods:
4848

4949
- <code title="post /search">client.search.<a href="./src/resources/search.ts">create</a>({ ...params }) -> SearchCreateResponse</code>
50-
51-
# Content
52-
53-
Types:
54-
55-
- <code><a href="./src/resources/content.ts">ContentCreateResponse</a></code>
56-
57-
Methods:
58-
59-
- <code title="post /content">client.content.<a href="./src/resources/content.ts">create</a>({ ...params }) -> ContentCreateResponse</code>

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@perplexity-ai/perplexity_ai",
3-
"version": "0.3.0",
3+
"version": "0.4.0",
44
"description": "The official TypeScript library for the Perplexity API",
55
"author": "Perplexity <>",
66
"types": "dist/index.d.ts",

src/client.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ import * as Errors from './core/error';
1616
import * as Uploads from './core/uploads';
1717
import * as API from './resources/index';
1818
import { APIPromise } from './core/api-promise';
19-
import { Content, ContentCreateParams, ContentCreateResponse } from './resources/content';
2019
import { Search, SearchCreateParams, SearchCreateResponse } from './resources/search';
2120
import { Async } from './resources/async/async';
2221
import { Chat } from './resources/chat/chat';
@@ -720,13 +719,11 @@ export class Perplexity {
720719
chat: API.Chat = new API.Chat(this);
721720
async: API.Async = new API.Async(this);
722721
search: API.Search = new API.Search(this);
723-
content: API.Content = new API.Content(this);
724722
}
725723

726724
Perplexity.Chat = Chat;
727725
Perplexity.Async = Async;
728726
Perplexity.Search = Search;
729-
Perplexity.Content = Content;
730727

731728
export declare namespace Perplexity {
732729
export type RequestOptions = Opts.RequestOptions;
@@ -741,12 +738,6 @@ export declare namespace Perplexity {
741738
type SearchCreateParams as SearchCreateParams,
742739
};
743740

744-
export {
745-
Content as Content,
746-
type ContentCreateResponse as ContentCreateResponse,
747-
type ContentCreateParams as ContentCreateParams,
748-
};
749-
750741
export type APIPublicSearchResult = API.APIPublicSearchResult;
751742
export type ChatMessageInput = API.ChatMessageInput;
752743
export type ChatMessageOutput = API.ChatMessageOutput;

src/resources/async/chat/completions.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,8 +261,6 @@ export namespace CompletionCreateParams {
261261

262262
return_related_questions?: boolean | null;
263263

264-
return_videos?: boolean | null;
265-
266264
safe_search?: boolean | null;
267265

268266
search_after_date_filter?: string | null;

src/resources/chat/completions.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,6 @@ export interface CompletionCreateParams {
111111

112112
return_related_questions?: boolean | null;
113113

114-
return_videos?: boolean | null;
115-
116114
safe_search?: boolean | null;
117115

118116
search_after_date_filter?: string | null;

src/resources/content.ts

Lines changed: 0 additions & 43 deletions
This file was deleted.

src/resources/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,4 @@
33
export * from './shared';
44
export { Async } from './async/async';
55
export { Chat } from './chat/chat';
6-
export { Content, type ContentCreateResponse, type ContentCreateParams } from './content';
76
export { Search, type SearchCreateResponse, type SearchCreateParams } from './search';

0 commit comments

Comments
 (0)