@keystrokehq/perplexityai 0.1.3 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/create-async-chat-completion.d.cts +2 -2
- package/dist/actions/create-async-chat-completion.d.mts +2 -2
- package/dist/actions/create-chat-completion.d.cts +2 -2
- package/dist/actions/create-chat-completion.d.mts +2 -2
- package/dist/catalog.cjs +1 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +1 -1
- package/dist/catalog.d.mts +1 -1
- package/dist/catalog.mjs +1 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -14,8 +14,8 @@ declare const PerplexityaiCreateAsyncChatCompletionInput: z.ZodObject<{
|
|
|
14
14
|
stream: z.ZodOptional<z.ZodBoolean>;
|
|
15
15
|
messages: z.ZodArray<z.ZodObject<{
|
|
16
16
|
role: z.ZodEnum<{
|
|
17
|
-
system: "system";
|
|
18
17
|
user: "user";
|
|
18
|
+
system: "system";
|
|
19
19
|
assistant: "assistant";
|
|
20
20
|
tool: "tool";
|
|
21
21
|
}>;
|
|
@@ -64,7 +64,7 @@ declare const perplexityaiCreateAsyncChatCompletion: import("@keystrokehq/action
|
|
|
64
64
|
model: "sonar" | "sonar-pro" | "sonar-deep-research" | "sonar-reasoning-pro";
|
|
65
65
|
messages: {
|
|
66
66
|
[x: string]: unknown;
|
|
67
|
-
role: "
|
|
67
|
+
role: "user" | "system" | "assistant" | "tool";
|
|
68
68
|
content: string;
|
|
69
69
|
}[];
|
|
70
70
|
stop?: string | string[] | undefined;
|
|
@@ -14,8 +14,8 @@ declare const PerplexityaiCreateAsyncChatCompletionInput: z.ZodObject<{
|
|
|
14
14
|
stream: z.ZodOptional<z.ZodBoolean>;
|
|
15
15
|
messages: z.ZodArray<z.ZodObject<{
|
|
16
16
|
role: z.ZodEnum<{
|
|
17
|
-
system: "system";
|
|
18
17
|
user: "user";
|
|
18
|
+
system: "system";
|
|
19
19
|
assistant: "assistant";
|
|
20
20
|
tool: "tool";
|
|
21
21
|
}>;
|
|
@@ -64,7 +64,7 @@ declare const perplexityaiCreateAsyncChatCompletion: import("@keystrokehq/action
|
|
|
64
64
|
model: "sonar" | "sonar-pro" | "sonar-deep-research" | "sonar-reasoning-pro";
|
|
65
65
|
messages: {
|
|
66
66
|
[x: string]: unknown;
|
|
67
|
-
role: "
|
|
67
|
+
role: "user" | "system" | "assistant" | "tool";
|
|
68
68
|
content: string;
|
|
69
69
|
}[];
|
|
70
70
|
stop?: string | string[] | undefined;
|
|
@@ -13,8 +13,8 @@ declare const PerplexityaiCreateChatCompletionInput: z.ZodObject<{
|
|
|
13
13
|
stream: z.ZodOptional<z.ZodBoolean>;
|
|
14
14
|
messages: z.ZodArray<z.ZodObject<{
|
|
15
15
|
role: z.ZodEnum<{
|
|
16
|
-
system: "system";
|
|
17
16
|
user: "user";
|
|
17
|
+
system: "system";
|
|
18
18
|
assistant: "assistant";
|
|
19
19
|
tool: "tool";
|
|
20
20
|
}>;
|
|
@@ -109,7 +109,7 @@ declare const PerplexityaiCreateChatCompletionOutput: z.ZodObject<{
|
|
|
109
109
|
declare const perplexityaiCreateChatCompletion: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
110
110
|
messages: {
|
|
111
111
|
[x: string]: unknown;
|
|
112
|
-
role: "
|
|
112
|
+
role: "user" | "system" | "assistant" | "tool";
|
|
113
113
|
content: string;
|
|
114
114
|
}[];
|
|
115
115
|
stop?: string | string[] | undefined;
|
|
@@ -13,8 +13,8 @@ declare const PerplexityaiCreateChatCompletionInput: z.ZodObject<{
|
|
|
13
13
|
stream: z.ZodOptional<z.ZodBoolean>;
|
|
14
14
|
messages: z.ZodArray<z.ZodObject<{
|
|
15
15
|
role: z.ZodEnum<{
|
|
16
|
-
system: "system";
|
|
17
16
|
user: "user";
|
|
17
|
+
system: "system";
|
|
18
18
|
assistant: "assistant";
|
|
19
19
|
tool: "tool";
|
|
20
20
|
}>;
|
|
@@ -109,7 +109,7 @@ declare const PerplexityaiCreateChatCompletionOutput: z.ZodObject<{
|
|
|
109
109
|
declare const perplexityaiCreateChatCompletion: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
110
110
|
messages: {
|
|
111
111
|
[x: string]: unknown;
|
|
112
|
-
role: "
|
|
112
|
+
role: "user" | "system" | "assistant" | "tool";
|
|
113
113
|
content: string;
|
|
114
114
|
}[];
|
|
115
115
|
stop?: string | string[] | undefined;
|
package/dist/catalog.cjs
CHANGED
|
@@ -8,7 +8,7 @@ const perplexityaiCatalog = {
|
|
|
8
8
|
"logo": "https://logos.composio.dev/api/perplexityai",
|
|
9
9
|
"authKind": "keystroke",
|
|
10
10
|
"oauthScopes": [],
|
|
11
|
-
"credentialFields": { "
|
|
11
|
+
"credentialFields": { "generic_api_key": {
|
|
12
12
|
"label": "API Key",
|
|
13
13
|
"secret": true,
|
|
14
14
|
"description": "Your secret Perplexity API key, starting with 'pplx-'. Create one at console.perplexity.ai under API Keys — it's shown only once, so copy it immediately."
|
package/dist/catalog.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const perplexityaiCatalog = {\n \"slug\": \"perplexityai\",\n \"name\": \"Perplexity AI\",\n \"description\": \"Perplexity AI provides conversational AI models for generating human-like text responses\",\n \"category\": \"Artificial Intelligence\",\n \"logo\": \"https://logos.composio.dev/api/perplexityai\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"
|
|
1
|
+
{"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const perplexityaiCatalog = {\n \"slug\": \"perplexityai\",\n \"name\": \"Perplexity AI\",\n \"description\": \"Perplexity AI provides conversational AI models for generating human-like text responses\",\n \"category\": \"Artificial Intelligence\",\n \"logo\": \"https://logos.composio.dev/api/perplexityai\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"generic_api_key\": {\n \"label\": \"API Key\",\n \"secret\": true,\n \"description\": \"Your secret Perplexity API key, starting with 'pplx-'. Create one at console.perplexity.ai under API Keys — it's shown only once, so copy it immediately.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,sBAAsB;CACjC,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,mBAAmB;EACjB,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
|
package/dist/catalog.d.cts
CHANGED
|
@@ -9,7 +9,7 @@ declare const perplexityaiCatalog: {
|
|
|
9
9
|
readonly authKind: "keystroke";
|
|
10
10
|
readonly oauthScopes: readonly [];
|
|
11
11
|
readonly credentialFields: {
|
|
12
|
-
readonly
|
|
12
|
+
readonly generic_api_key: {
|
|
13
13
|
readonly label: "API Key";
|
|
14
14
|
readonly secret: true;
|
|
15
15
|
readonly description: "Your secret Perplexity API key, starting with 'pplx-'. Create one at console.perplexity.ai under API Keys — it's shown only once, so copy it immediately.";
|
package/dist/catalog.d.mts
CHANGED
|
@@ -9,7 +9,7 @@ declare const perplexityaiCatalog: {
|
|
|
9
9
|
readonly authKind: "keystroke";
|
|
10
10
|
readonly oauthScopes: readonly [];
|
|
11
11
|
readonly credentialFields: {
|
|
12
|
-
readonly
|
|
12
|
+
readonly generic_api_key: {
|
|
13
13
|
readonly label: "API Key";
|
|
14
14
|
readonly secret: true;
|
|
15
15
|
readonly description: "Your secret Perplexity API key, starting with 'pplx-'. Create one at console.perplexity.ai under API Keys — it's shown only once, so copy it immediately.";
|
package/dist/catalog.mjs
CHANGED
|
@@ -8,7 +8,7 @@ const perplexityaiCatalog = {
|
|
|
8
8
|
"logo": "https://logos.composio.dev/api/perplexityai",
|
|
9
9
|
"authKind": "keystroke",
|
|
10
10
|
"oauthScopes": [],
|
|
11
|
-
"credentialFields": { "
|
|
11
|
+
"credentialFields": { "generic_api_key": {
|
|
12
12
|
"label": "API Key",
|
|
13
13
|
"secret": true,
|
|
14
14
|
"description": "Your secret Perplexity API key, starting with 'pplx-'. Create one at console.perplexity.ai under API Keys — it's shown only once, so copy it immediately."
|
package/dist/catalog.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const perplexityaiCatalog = {\n \"slug\": \"perplexityai\",\n \"name\": \"Perplexity AI\",\n \"description\": \"Perplexity AI provides conversational AI models for generating human-like text responses\",\n \"category\": \"Artificial Intelligence\",\n \"logo\": \"https://logos.composio.dev/api/perplexityai\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"
|
|
1
|
+
{"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const perplexityaiCatalog = {\n \"slug\": \"perplexityai\",\n \"name\": \"Perplexity AI\",\n \"description\": \"Perplexity AI provides conversational AI models for generating human-like text responses\",\n \"category\": \"Artificial Intelligence\",\n \"logo\": \"https://logos.composio.dev/api/perplexityai\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"generic_api_key\": {\n \"label\": \"API Key\",\n \"secret\": true,\n \"description\": \"Your secret Perplexity API key, starting with 'pplx-'. Create one at console.perplexity.ai under API Keys — it's shown only once, so copy it immediately.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,sBAAsB;CACjC,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,mBAAmB;EACjB,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
|