@keystrokehq/pinecone 0.1.2 → 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/cancel-bulk-import.cjs +1 -1
- package/dist/actions/cancel-bulk-import.cjs.map +1 -1
- package/dist/actions/cancel-bulk-import.d.cts +1 -1
- package/dist/actions/cancel-bulk-import.d.cts.map +1 -1
- package/dist/actions/cancel-bulk-import.d.mts +1 -1
- package/dist/actions/cancel-bulk-import.d.mts.map +1 -1
- package/dist/actions/cancel-bulk-import.mjs +1 -1
- package/dist/actions/cancel-bulk-import.mjs.map +1 -1
- package/dist/actions/chat-assistant.cjs +9 -9
- package/dist/actions/chat-assistant.cjs.map +1 -1
- package/dist/actions/chat-assistant.d.cts +11 -10
- package/dist/actions/chat-assistant.d.cts.map +1 -1
- package/dist/actions/chat-assistant.d.mts +11 -10
- package/dist/actions/chat-assistant.d.mts.map +1 -1
- package/dist/actions/chat-assistant.mjs +9 -9
- package/dist/actions/chat-assistant.mjs.map +1 -1
- package/dist/actions/chat-completion-assistant.cjs +6 -6
- package/dist/actions/chat-completion-assistant.cjs.map +1 -1
- package/dist/actions/chat-completion-assistant.d.cts +8 -7
- package/dist/actions/chat-completion-assistant.d.cts.map +1 -1
- package/dist/actions/chat-completion-assistant.d.mts +8 -7
- package/dist/actions/chat-completion-assistant.d.mts.map +1 -1
- package/dist/actions/chat-completion-assistant.mjs +6 -6
- package/dist/actions/chat-completion-assistant.mjs.map +1 -1
- package/dist/actions/configure-index.cjs +6 -6
- package/dist/actions/configure-index.cjs.map +1 -1
- package/dist/actions/configure-index.d.cts +7 -7
- package/dist/actions/configure-index.d.mts +7 -7
- package/dist/actions/configure-index.mjs +6 -6
- package/dist/actions/configure-index.mjs.map +1 -1
- package/dist/actions/create-assistant.cjs +3 -3
- package/dist/actions/create-assistant.cjs.map +1 -1
- package/dist/actions/create-assistant.d.cts +4 -4
- package/dist/actions/create-assistant.d.mts +4 -4
- package/dist/actions/create-assistant.mjs +3 -3
- package/dist/actions/create-assistant.mjs.map +1 -1
- package/dist/actions/create-backup.cjs +1 -1
- package/dist/actions/create-backup.cjs.map +1 -1
- package/dist/actions/create-backup.d.cts +1 -1
- package/dist/actions/create-backup.d.mts +1 -1
- package/dist/actions/create-backup.mjs +1 -1
- package/dist/actions/create-backup.mjs.map +1 -1
- package/dist/actions/create-index-for-model.cjs +9 -9
- package/dist/actions/create-index-for-model.cjs.map +1 -1
- package/dist/actions/create-index-for-model.d.cts +13 -13
- package/dist/actions/create-index-for-model.d.mts +13 -13
- package/dist/actions/create-index-for-model.mjs +9 -9
- package/dist/actions/create-index-for-model.mjs.map +1 -1
- package/dist/actions/create-index-from-backup.cjs +2 -2
- package/dist/actions/create-index-from-backup.cjs.map +1 -1
- package/dist/actions/create-index-from-backup.d.cts +3 -3
- package/dist/actions/create-index-from-backup.d.mts +3 -3
- package/dist/actions/create-index-from-backup.mjs +2 -2
- package/dist/actions/create-index-from-backup.mjs.map +1 -1
- package/dist/actions/create-index.cjs +2 -2
- package/dist/actions/create-index.cjs.map +1 -1
- package/dist/actions/create-index.d.cts +4 -4
- package/dist/actions/create-index.d.mts +4 -4
- package/dist/actions/create-index.mjs +2 -2
- package/dist/actions/create-index.mjs.map +1 -1
- package/dist/actions/create-namespace.cjs +4 -4
- package/dist/actions/create-namespace.cjs.map +1 -1
- package/dist/actions/create-namespace.d.cts +6 -6
- package/dist/actions/create-namespace.d.mts +6 -6
- package/dist/actions/create-namespace.mjs +4 -4
- package/dist/actions/create-namespace.mjs.map +1 -1
- package/dist/actions/delete-assistant.cjs +1 -1
- package/dist/actions/delete-assistant.cjs.map +1 -1
- package/dist/actions/delete-assistant.d.cts +1 -1
- package/dist/actions/delete-assistant.d.mts +1 -1
- package/dist/actions/delete-assistant.mjs +1 -1
- package/dist/actions/delete-assistant.mjs.map +1 -1
- package/dist/actions/delete-backup.cjs +1 -1
- package/dist/actions/delete-backup.cjs.map +1 -1
- package/dist/actions/delete-backup.d.cts +1 -1
- package/dist/actions/delete-backup.d.mts +1 -1
- package/dist/actions/delete-backup.mjs +1 -1
- package/dist/actions/delete-backup.mjs.map +1 -1
- package/dist/actions/delete-file.cjs +1 -1
- package/dist/actions/delete-file.cjs.map +1 -1
- package/dist/actions/delete-file.d.cts +1 -1
- package/dist/actions/delete-file.d.mts +1 -1
- package/dist/actions/delete-file.mjs +1 -1
- package/dist/actions/delete-file.mjs.map +1 -1
- package/dist/actions/delete-index.cjs +1 -1
- package/dist/actions/delete-index.cjs.map +1 -1
- package/dist/actions/delete-index.d.cts +1 -1
- package/dist/actions/delete-index.d.mts +1 -1
- package/dist/actions/delete-index.mjs +1 -1
- package/dist/actions/delete-index.mjs.map +1 -1
- package/dist/actions/delete-namespace.cjs +1 -1
- package/dist/actions/delete-namespace.cjs.map +1 -1
- package/dist/actions/delete-namespace.d.cts +1 -1
- package/dist/actions/delete-namespace.d.cts.map +1 -1
- package/dist/actions/delete-namespace.d.mts +1 -1
- package/dist/actions/delete-namespace.d.mts.map +1 -1
- package/dist/actions/delete-namespace.mjs +1 -1
- package/dist/actions/delete-namespace.mjs.map +1 -1
- package/dist/actions/delete-vectors.cjs +2 -2
- package/dist/actions/delete-vectors.cjs.map +1 -1
- package/dist/actions/delete-vectors.d.cts +3 -3
- package/dist/actions/delete-vectors.d.cts.map +1 -1
- package/dist/actions/delete-vectors.d.mts +3 -3
- package/dist/actions/delete-vectors.d.mts.map +1 -1
- package/dist/actions/delete-vectors.mjs +2 -2
- package/dist/actions/delete-vectors.mjs.map +1 -1
- package/dist/actions/describe-backup.cjs +3 -3
- package/dist/actions/describe-backup.cjs.map +1 -1
- package/dist/actions/describe-backup.d.cts +3 -3
- package/dist/actions/describe-backup.d.mts +3 -3
- package/dist/actions/describe-backup.mjs +3 -3
- package/dist/actions/describe-backup.mjs.map +1 -1
- package/dist/actions/describe-bulk-import.cjs +1 -1
- package/dist/actions/describe-bulk-import.cjs.map +1 -1
- package/dist/actions/describe-bulk-import.d.cts +1 -1
- package/dist/actions/describe-bulk-import.d.mts +1 -1
- package/dist/actions/describe-bulk-import.mjs +1 -1
- package/dist/actions/describe-bulk-import.mjs.map +1 -1
- package/dist/actions/describe-file.cjs +2 -2
- package/dist/actions/describe-file.cjs.map +1 -1
- package/dist/actions/describe-file.d.cts +2 -2
- package/dist/actions/describe-file.d.mts +2 -2
- package/dist/actions/describe-file.mjs +2 -2
- package/dist/actions/describe-file.mjs.map +1 -1
- package/dist/actions/describe-index-stats.cjs +2 -2
- package/dist/actions/describe-index-stats.cjs.map +1 -1
- package/dist/actions/describe-index-stats.d.cts +2 -2
- package/dist/actions/describe-index-stats.d.mts +2 -2
- package/dist/actions/describe-index-stats.mjs +2 -2
- package/dist/actions/describe-index-stats.mjs.map +1 -1
- package/dist/actions/describe-index.cjs +9 -9
- package/dist/actions/describe-index.cjs.map +1 -1
- package/dist/actions/describe-index.d.cts +9 -9
- package/dist/actions/describe-index.d.mts +9 -9
- package/dist/actions/describe-index.mjs +9 -9
- package/dist/actions/describe-index.mjs.map +1 -1
- package/dist/actions/describe-namespace.cjs +3 -3
- package/dist/actions/describe-namespace.cjs.map +1 -1
- package/dist/actions/describe-namespace.d.cts +4 -4
- package/dist/actions/describe-namespace.d.mts +4 -4
- package/dist/actions/describe-namespace.mjs +3 -3
- package/dist/actions/describe-namespace.mjs.map +1 -1
- package/dist/actions/describe-restore-job.cjs +1 -1
- package/dist/actions/describe-restore-job.cjs.map +1 -1
- package/dist/actions/describe-restore-job.d.cts +1 -1
- package/dist/actions/describe-restore-job.d.mts +1 -1
- package/dist/actions/describe-restore-job.mjs +1 -1
- package/dist/actions/describe-restore-job.mjs.map +1 -1
- package/dist/actions/embed.cjs +5 -5
- package/dist/actions/embed.cjs.map +1 -1
- package/dist/actions/embed.d.cts +6 -5
- package/dist/actions/embed.d.mts +6 -5
- package/dist/actions/embed.mjs +5 -5
- package/dist/actions/embed.mjs.map +1 -1
- package/dist/actions/fetch-vectors.cjs +3 -3
- package/dist/actions/fetch-vectors.cjs.map +1 -1
- package/dist/actions/fetch-vectors.d.cts +3 -3
- package/dist/actions/fetch-vectors.d.mts +3 -3
- package/dist/actions/fetch-vectors.mjs +3 -3
- package/dist/actions/fetch-vectors.mjs.map +1 -1
- package/dist/actions/get-assistant.cjs +2 -2
- package/dist/actions/get-assistant.cjs.map +1 -1
- package/dist/actions/get-assistant.d.cts +2 -2
- package/dist/actions/get-assistant.d.mts +2 -2
- package/dist/actions/get-assistant.mjs +2 -2
- package/dist/actions/get-assistant.mjs.map +1 -1
- package/dist/actions/get-model.cjs +2 -2
- package/dist/actions/get-model.cjs.map +1 -1
- package/dist/actions/get-model.d.cts +2 -2
- package/dist/actions/get-model.d.mts +2 -2
- package/dist/actions/get-model.mjs +2 -2
- package/dist/actions/get-model.mjs.map +1 -1
- package/dist/actions/list-assistants.cjs +4 -4
- package/dist/actions/list-assistants.cjs.map +1 -1
- package/dist/actions/list-assistants.d.cts +4 -4
- package/dist/actions/list-assistants.d.mts +4 -4
- package/dist/actions/list-assistants.mjs +4 -4
- package/dist/actions/list-assistants.mjs.map +1 -1
- package/dist/actions/list-bulk-imports.cjs +3 -3
- package/dist/actions/list-bulk-imports.cjs.map +1 -1
- package/dist/actions/list-bulk-imports.d.cts +3 -3
- package/dist/actions/list-bulk-imports.d.mts +3 -3
- package/dist/actions/list-bulk-imports.mjs +3 -3
- package/dist/actions/list-bulk-imports.mjs.map +1 -1
- package/dist/actions/list-collections.cjs +2 -2
- package/dist/actions/list-collections.cjs.map +1 -1
- package/dist/actions/list-collections.d.cts +2 -2
- package/dist/actions/list-collections.d.mts +2 -2
- package/dist/actions/list-collections.mjs +2 -2
- package/dist/actions/list-collections.mjs.map +1 -1
- package/dist/actions/list-files.cjs +4 -4
- package/dist/actions/list-files.cjs.map +1 -1
- package/dist/actions/list-files.d.cts +4 -4
- package/dist/actions/list-files.d.mts +4 -4
- package/dist/actions/list-files.mjs +4 -4
- package/dist/actions/list-files.mjs.map +1 -1
- package/dist/actions/list-index-backups.cjs +5 -5
- package/dist/actions/list-index-backups.cjs.map +1 -1
- package/dist/actions/list-index-backups.d.cts +5 -5
- package/dist/actions/list-index-backups.d.mts +5 -5
- package/dist/actions/list-index-backups.mjs +5 -5
- package/dist/actions/list-index-backups.mjs.map +1 -1
- package/dist/actions/list-indexes.cjs +8 -8
- package/dist/actions/list-indexes.cjs.map +1 -1
- package/dist/actions/list-indexes.d.cts +8 -8
- package/dist/actions/list-indexes.d.mts +8 -8
- package/dist/actions/list-indexes.mjs +8 -8
- package/dist/actions/list-indexes.mjs.map +1 -1
- package/dist/actions/list-models.cjs +3 -3
- package/dist/actions/list-models.cjs.map +1 -1
- package/dist/actions/list-models.d.cts +3 -3
- package/dist/actions/list-models.d.mts +3 -3
- package/dist/actions/list-models.mjs +3 -3
- package/dist/actions/list-models.mjs.map +1 -1
- package/dist/actions/list-namespaces-operation.cjs +5 -5
- package/dist/actions/list-namespaces-operation.cjs.map +1 -1
- package/dist/actions/list-namespaces-operation.d.cts +6 -6
- package/dist/actions/list-namespaces-operation.d.mts +6 -6
- package/dist/actions/list-namespaces-operation.mjs +5 -5
- package/dist/actions/list-namespaces-operation.mjs.map +1 -1
- package/dist/actions/list-project-backups.cjs +5 -5
- package/dist/actions/list-project-backups.cjs.map +1 -1
- package/dist/actions/list-project-backups.d.cts +5 -5
- package/dist/actions/list-project-backups.d.mts +5 -5
- package/dist/actions/list-project-backups.mjs +5 -5
- package/dist/actions/list-project-backups.mjs.map +1 -1
- package/dist/actions/list-restore-jobs.cjs +3 -3
- package/dist/actions/list-restore-jobs.cjs.map +1 -1
- package/dist/actions/list-restore-jobs.d.cts +3 -3
- package/dist/actions/list-restore-jobs.d.mts +3 -3
- package/dist/actions/list-restore-jobs.mjs +3 -3
- package/dist/actions/list-restore-jobs.mjs.map +1 -1
- package/dist/actions/list-vectors.cjs +4 -4
- package/dist/actions/list-vectors.cjs.map +1 -1
- package/dist/actions/list-vectors.d.cts +4 -4
- package/dist/actions/list-vectors.d.mts +4 -4
- package/dist/actions/list-vectors.mjs +4 -4
- package/dist/actions/list-vectors.mjs.map +1 -1
- package/dist/actions/query-vectors.cjs +6 -6
- package/dist/actions/query-vectors.cjs.map +1 -1
- package/dist/actions/query-vectors.d.cts +7 -7
- package/dist/actions/query-vectors.d.mts +7 -7
- package/dist/actions/query-vectors.mjs +6 -6
- package/dist/actions/query-vectors.mjs.map +1 -1
- package/dist/actions/rerank.cjs +4 -4
- package/dist/actions/rerank.cjs.map +1 -1
- package/dist/actions/rerank.d.cts +5 -4
- package/dist/actions/rerank.d.cts.map +1 -1
- package/dist/actions/rerank.d.mts +5 -4
- package/dist/actions/rerank.d.mts.map +1 -1
- package/dist/actions/rerank.mjs +4 -4
- package/dist/actions/rerank.mjs.map +1 -1
- package/dist/actions/retrieve-context-assistant.cjs +9 -9
- package/dist/actions/retrieve-context-assistant.cjs.map +1 -1
- package/dist/actions/retrieve-context-assistant.d.cts +11 -10
- package/dist/actions/retrieve-context-assistant.d.mts +11 -10
- package/dist/actions/retrieve-context-assistant.mjs +9 -9
- package/dist/actions/retrieve-context-assistant.mjs.map +1 -1
- package/dist/actions/search-records-namespace.cjs +7 -7
- package/dist/actions/search-records-namespace.cjs.map +1 -1
- package/dist/actions/search-records-namespace.d.cts +9 -9
- package/dist/actions/search-records-namespace.d.mts +9 -9
- package/dist/actions/search-records-namespace.mjs +7 -7
- package/dist/actions/search-records-namespace.mjs.map +1 -1
- package/dist/actions/start-bulk-import.cjs +1 -1
- package/dist/actions/start-bulk-import.cjs.map +1 -1
- package/dist/actions/start-bulk-import.d.cts +1 -1
- package/dist/actions/start-bulk-import.d.mts +1 -1
- package/dist/actions/start-bulk-import.mjs +1 -1
- package/dist/actions/start-bulk-import.mjs.map +1 -1
- package/dist/actions/update-assistant.cjs +3 -3
- package/dist/actions/update-assistant.cjs.map +1 -1
- package/dist/actions/update-assistant.d.cts +4 -4
- package/dist/actions/update-assistant.d.mts +4 -4
- package/dist/actions/update-assistant.mjs +3 -3
- package/dist/actions/update-assistant.mjs.map +1 -1
- package/dist/actions/update-vector.cjs +3 -3
- package/dist/actions/update-vector.cjs.map +1 -1
- package/dist/actions/update-vector.d.cts +5 -5
- package/dist/actions/update-vector.d.mts +5 -5
- package/dist/actions/update-vector.mjs +3 -3
- package/dist/actions/update-vector.mjs.map +1 -1
- package/dist/actions/upload-file.cjs +1 -1
- package/dist/actions/upload-file.cjs.map +1 -1
- package/dist/actions/upload-file.d.cts +1 -1
- package/dist/actions/upload-file.d.mts +1 -1
- package/dist/actions/upload-file.mjs +1 -1
- package/dist/actions/upload-file.mjs.map +1 -1
- package/dist/actions/upsert-records-namespace.cjs +1 -1
- package/dist/actions/upsert-records-namespace.cjs.map +1 -1
- package/dist/actions/upsert-records-namespace.d.cts +1 -1
- package/dist/actions/upsert-records-namespace.d.mts +1 -1
- package/dist/actions/upsert-records-namespace.mjs +1 -1
- package/dist/actions/upsert-records-namespace.mjs.map +1 -1
- package/dist/actions/upsert-vectors.cjs +3 -3
- package/dist/actions/upsert-vectors.cjs.map +1 -1
- package/dist/actions/upsert-vectors.d.cts +5 -4
- package/dist/actions/upsert-vectors.d.cts.map +1 -1
- package/dist/actions/upsert-vectors.d.mts +5 -4
- package/dist/actions/upsert-vectors.d.mts.map +1 -1
- package/dist/actions/upsert-vectors.mjs +3 -3
- package/dist/actions/upsert-vectors.mjs.map +1 -1
- 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
package/dist/actions/embed.d.mts
CHANGED
|
@@ -5,7 +5,7 @@ declare const PineconeEmbedInput: z.ZodObject<{
|
|
|
5
5
|
model: z.ZodString;
|
|
6
6
|
inputs: z.ZodArray<z.ZodObject<{
|
|
7
7
|
text: z.ZodString;
|
|
8
|
-
}, z.core.$
|
|
8
|
+
}, z.core.$loose>>;
|
|
9
9
|
parameters: z.ZodOptional<z.ZodObject<{
|
|
10
10
|
truncate: z.ZodOptional<z.ZodEnum<{
|
|
11
11
|
NONE: "NONE";
|
|
@@ -21,20 +21,21 @@ declare const PineconeEmbedOutput: z.ZodObject<{
|
|
|
21
21
|
data: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
22
22
|
values: z.ZodArray<z.ZodNumber>;
|
|
23
23
|
vector_type: z.ZodNullable<z.ZodString>;
|
|
24
|
-
}, z.core.$
|
|
24
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
25
25
|
vector_type: z.ZodNullable<z.ZodString>;
|
|
26
26
|
sparse_tokens: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
27
27
|
sparse_values: z.ZodArray<z.ZodNumber>;
|
|
28
28
|
sparse_indices: z.ZodArray<z.ZodNumber>;
|
|
29
|
-
}, z.core.$
|
|
29
|
+
}, z.core.$loose>]>>;
|
|
30
30
|
model: z.ZodNullable<z.ZodString>;
|
|
31
31
|
usage: z.ZodNullable<z.ZodObject<{
|
|
32
32
|
total_tokens: z.ZodNullable<z.ZodNumber>;
|
|
33
|
-
}, z.core.$
|
|
34
|
-
}, z.core.$
|
|
33
|
+
}, z.core.$loose>>;
|
|
34
|
+
}, z.core.$loose>;
|
|
35
35
|
declare const pineconeEmbed: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
36
36
|
model: string;
|
|
37
37
|
inputs: {
|
|
38
|
+
[x: string]: unknown;
|
|
38
39
|
text: string;
|
|
39
40
|
}[];
|
|
40
41
|
parameters?: {
|
package/dist/actions/embed.mjs
CHANGED
|
@@ -3,7 +3,7 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/embed.ts
|
|
4
4
|
const PineconeEmbedInput = z.object({
|
|
5
5
|
model: z.string().describe("The embedding model to use (e.g., 'multilingual-e5-large')."),
|
|
6
|
-
inputs: z.array(z.object({ text: z.string().describe("The text input to generate embeddings for.") }).describe("Single input item for embedding generation.")).describe("List of input objects to generate embeddings for. Each item contains a text field."),
|
|
6
|
+
inputs: z.array(z.object({ text: z.string().describe("The text input to generate embeddings for.") }).passthrough().describe("Single input item for embedding generation.")).describe("List of input objects to generate embeddings for. Each item contains a text field."),
|
|
7
7
|
parameters: z.object({
|
|
8
8
|
truncate: z.enum(["NONE", "END"]).describe("How to truncate input text if it exceeds the model's maximum token length. 'NONE' returns error, 'END' truncates from the end.").optional(),
|
|
9
9
|
input_type: z.enum(["query", "passage"]).describe("Type of input text. Use 'query' for search queries and 'passage' for documents to be searched.").optional()
|
|
@@ -12,14 +12,14 @@ const PineconeEmbedInput = z.object({
|
|
|
12
12
|
const PineconeEmbed_DenseEmbeddingSchema = z.object({
|
|
13
13
|
values: z.array(z.number()).describe("The dense embedding values."),
|
|
14
14
|
vector_type: z.string().describe("Type of vector, always 'dense' for dense embeddings.").nullable()
|
|
15
|
-
}).describe("Dense embedding representation.");
|
|
15
|
+
}).passthrough().describe("Dense embedding representation.");
|
|
16
16
|
const PineconeEmbed_SparseEmbeddingSchema = z.object({
|
|
17
17
|
vector_type: z.string().describe("Type of vector, always 'sparse' for sparse embeddings.").nullable(),
|
|
18
18
|
sparse_tokens: z.array(z.string()).describe("Normalized tokens corresponding to sparse values. Only returned when return_tokens parameter is true.").nullable().optional(),
|
|
19
19
|
sparse_values: z.array(z.number()).describe("Sparse embedding values."),
|
|
20
20
|
sparse_indices: z.array(z.number().int()).describe("Indices for sparse values (0 to 4,294,967,295).")
|
|
21
|
-
}).describe("Sparse embedding representation.");
|
|
22
|
-
const PineconeEmbed_UsageStatsSchema = z.object({ total_tokens: z.number().int().describe("Total number of tokens processed.").nullable() }).describe("Usage statistics for the embedding request.");
|
|
21
|
+
}).passthrough().describe("Sparse embedding representation.");
|
|
22
|
+
const PineconeEmbed_UsageStatsSchema = z.object({ total_tokens: z.number().int().describe("Total number of tokens processed.").nullable() }).passthrough().describe("Usage statistics for the embedding request.");
|
|
23
23
|
const pineconeEmbed = action("PINECONE_EMBED", {
|
|
24
24
|
slug: "pinecone-embed",
|
|
25
25
|
name: "Generate Embeddings",
|
|
@@ -29,7 +29,7 @@ const pineconeEmbed = action("PINECONE_EMBED", {
|
|
|
29
29
|
data: z.array(z.union([PineconeEmbed_DenseEmbeddingSchema, PineconeEmbed_SparseEmbeddingSchema])).describe("Array of embedding objects (dense or sparse)."),
|
|
30
30
|
model: z.string().describe("The model used to generate embeddings.").nullable(),
|
|
31
31
|
usage: PineconeEmbed_UsageStatsSchema.nullable()
|
|
32
|
-
}).describe("Response schema for embedding generation.")
|
|
32
|
+
}).passthrough().describe("Response schema for embedding generation.")
|
|
33
33
|
});
|
|
34
34
|
//#endregion
|
|
35
35
|
export { pineconeEmbed };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"embed.mjs","names":[],"sources":["../../src/actions/embed.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeEmbedInput = z.object({\n model: z.string().describe(\"The embedding model to use (e.g., 'multilingual-e5-large').\"),\n inputs: z.array(z.object({\n text: z.string().describe(\"The text input to generate embeddings for.\"),\n}).describe(\"Single input item for embedding generation.\")).describe(\"List of input objects to generate embeddings for. Each item contains a text field.\"),\n parameters: z.object({\n truncate: z.enum([\"NONE\", \"END\"]).describe(\"How to truncate input text if it exceeds the model's maximum token length. 'NONE' returns error, 'END' truncates from the end.\").optional(),\n input_type: z.enum([\"query\", \"passage\"]).describe(\"Type of input text. Use 'query' for search queries and 'passage' for documents to be searched.\").optional(),\n}).describe(\"Optional parameters for the embedding model.\").optional(),\n}).describe(\"Request parameters for generating embeddings.\");\nconst PineconeEmbed_DenseEmbeddingSchema = z.object({\n values: z.array(z.number()).describe(\"The dense embedding values.\"),\n vector_type: z.string().describe(\"Type of vector, always 'dense' for dense embeddings.\").nullable(),\n}).describe(\"Dense embedding representation.\");\nconst PineconeEmbed_SparseEmbeddingSchema = z.object({\n vector_type: z.string().describe(\"Type of vector, always 'sparse' for sparse embeddings.\").nullable(),\n sparse_tokens: z.array(z.string()).describe(\"Normalized tokens corresponding to sparse values. Only returned when return_tokens parameter is true.\").nullable().optional(),\n sparse_values: z.array(z.number()).describe(\"Sparse embedding values.\"),\n sparse_indices: z.array(z.number().int()).describe(\"Indices for sparse values (0 to 4,294,967,295).\"),\n}).describe(\"Sparse embedding representation.\");\nconst PineconeEmbed_UsageStatsSchema = z.object({\n total_tokens: z.number().int().describe(\"Total number of tokens processed.\").nullable(),\n}).describe(\"Usage statistics for the embedding request.\");\nexport const PineconeEmbedOutput = z.object({\n data: z.array(z.union([PineconeEmbed_DenseEmbeddingSchema, PineconeEmbed_SparseEmbeddingSchema])).describe(\"Array of embedding objects (dense or sparse).\"),\n model: z.string().describe(\"The model used to generate embeddings.\").nullable(),\n usage: PineconeEmbed_UsageStatsSchema.nullable(),\n}).describe(\"Response schema for embedding generation.\");\n\nexport const pineconeEmbed = action(\"PINECONE_EMBED\", {\n slug: \"pinecone-embed\",\n name: \"Generate Embeddings\",\n description: \"Tool to generate vector embeddings for input text using Pinecone's hosted embedding models. Use when you need to convert text into vector representations for semantic search or similarity matching.\",\n input: PineconeEmbedInput,\n output: PineconeEmbedOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qBAAqB,EAAE,OAAO;CACzC,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;CACxF,QAAQ,EAAE,MAAM,EAAE,OAAO,EACzB,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,EACxE,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,CAAC,SAAS,oFAAoF;
|
|
1
|
+
{"version":3,"file":"embed.mjs","names":[],"sources":["../../src/actions/embed.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeEmbedInput = z.object({\n model: z.string().describe(\"The embedding model to use (e.g., 'multilingual-e5-large').\"),\n inputs: z.array(z.object({\n text: z.string().describe(\"The text input to generate embeddings for.\"),\n}).passthrough().describe(\"Single input item for embedding generation.\")).describe(\"List of input objects to generate embeddings for. Each item contains a text field.\"),\n parameters: z.object({\n truncate: z.enum([\"NONE\", \"END\"]).describe(\"How to truncate input text if it exceeds the model's maximum token length. 'NONE' returns error, 'END' truncates from the end.\").optional(),\n input_type: z.enum([\"query\", \"passage\"]).describe(\"Type of input text. Use 'query' for search queries and 'passage' for documents to be searched.\").optional(),\n}).describe(\"Optional parameters for the embedding model.\").optional(),\n}).describe(\"Request parameters for generating embeddings.\");\nconst PineconeEmbed_DenseEmbeddingSchema = z.object({\n values: z.array(z.number()).describe(\"The dense embedding values.\"),\n vector_type: z.string().describe(\"Type of vector, always 'dense' for dense embeddings.\").nullable(),\n}).passthrough().describe(\"Dense embedding representation.\");\nconst PineconeEmbed_SparseEmbeddingSchema = z.object({\n vector_type: z.string().describe(\"Type of vector, always 'sparse' for sparse embeddings.\").nullable(),\n sparse_tokens: z.array(z.string()).describe(\"Normalized tokens corresponding to sparse values. Only returned when return_tokens parameter is true.\").nullable().optional(),\n sparse_values: z.array(z.number()).describe(\"Sparse embedding values.\"),\n sparse_indices: z.array(z.number().int()).describe(\"Indices for sparse values (0 to 4,294,967,295).\"),\n}).passthrough().describe(\"Sparse embedding representation.\");\nconst PineconeEmbed_UsageStatsSchema = z.object({\n total_tokens: z.number().int().describe(\"Total number of tokens processed.\").nullable(),\n}).passthrough().describe(\"Usage statistics for the embedding request.\");\nexport const PineconeEmbedOutput = z.object({\n data: z.array(z.union([PineconeEmbed_DenseEmbeddingSchema, PineconeEmbed_SparseEmbeddingSchema])).describe(\"Array of embedding objects (dense or sparse).\"),\n model: z.string().describe(\"The model used to generate embeddings.\").nullable(),\n usage: PineconeEmbed_UsageStatsSchema.nullable(),\n}).passthrough().describe(\"Response schema for embedding generation.\");\n\nexport const pineconeEmbed = action(\"PINECONE_EMBED\", {\n slug: \"pinecone-embed\",\n name: \"Generate Embeddings\",\n description: \"Tool to generate vector embeddings for input text using Pinecone's hosted embedding models. Use when you need to convert text into vector representations for semantic search or similarity matching.\",\n input: PineconeEmbedInput,\n output: PineconeEmbedOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qBAAqB,EAAE,OAAO;CACzC,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;CACxF,QAAQ,EAAE,MAAM,EAAE,OAAO,EACzB,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,EACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,CAAC,SAAS,oFAAoF;CACrK,YAAY,EAAE,OAAO;EACrB,UAAU,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,SAAS,gIAAgI,CAAC,CAAC,SAAS;EACtL,YAAY,EAAE,KAAK,CAAC,SAAS,SAAS,CAAC,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;CAC/J,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;AACrE,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,qCAAqC,EAAE,OAAO;CAClD,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6BAA6B;CAClE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iCAAiC;AAC3D,MAAM,sCAAsC,EAAE,OAAO;CACnD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACpG,eAAe,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzK,eAAe,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0BAA0B;CACtE,gBAAgB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,iDAAiD;AACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAAkC;AAC5D,MAAM,iCAAiC,EAAE,OAAO,EAC9C,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,EACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAOvE,MAAa,gBAAgB,OAAO,kBAAkB;CACpD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXiC,EAAE,OAAO;EAC1C,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,oCAAoC,mCAAmC,CAAC,CAAC,CAAC,CAAC,SAAS,+CAA+C;EAC1J,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EAC9E,OAAO,+BAA+B,SAAS;CACjD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAOhB;AACV,CAAC"}
|
|
@@ -6,12 +6,12 @@ const PineconeFetchVectorsInput = zod.z.object({
|
|
|
6
6
|
namespace: zod.z.string().describe("The namespace to fetch vectors from. If not provided, the default namespace is used.").optional(),
|
|
7
7
|
index_host: zod.z.string().describe("The host URL of the Pinecone index to fetch vectors from. Get this from the list indexes operation.")
|
|
8
8
|
}).describe("Request model for fetching vectors by ID from Pinecone.");
|
|
9
|
-
const PineconeFetchVectors_UsageSchema = zod.z.object({ readUnits: zod.z.number().int().describe("The number of read units consumed by this operation.").nullable().optional() }).describe("Usage information for the fetch operation.");
|
|
9
|
+
const PineconeFetchVectors_UsageSchema = zod.z.object({ readUnits: zod.z.number().int().describe("The number of read units consumed by this operation.").nullable().optional() }).passthrough().describe("Usage information for the fetch operation.");
|
|
10
10
|
const PineconeFetchVectorsOutput = zod.z.object({
|
|
11
11
|
usage: PineconeFetchVectors_UsageSchema.nullable().optional(),
|
|
12
|
-
vectors: zod.z.
|
|
12
|
+
vectors: zod.z.record(zod.z.string(), zod.z.unknown()).describe("The fetched vectors, in the form of a map between the fetched IDs and the fetched vectors.").nullable().optional(),
|
|
13
13
|
namespace: zod.z.string().describe("The namespace of the vectors.").nullable().optional()
|
|
14
|
-
}).describe("Response model for fetch vectors operation.");
|
|
14
|
+
}).passthrough().describe("Response model for fetch vectors operation.");
|
|
15
15
|
const pineconeFetchVectors = require_action.action("PINECONE_FETCH_VECTORS", {
|
|
16
16
|
slug: "pinecone-fetch-vectors",
|
|
17
17
|
name: "Fetch Vectors",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetch-vectors.cjs","names":["z","action"],"sources":["../../src/actions/fetch-vectors.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeFetchVectorsInput = z.object({\n ids: z.array(z.string()).describe(\"The vector IDs to fetch. Does not accept values containing spaces.\"),\n namespace: z.string().describe(\"The namespace to fetch vectors from. If not provided, the default namespace is used.\").optional(),\n index_host: z.string().describe(\"The host URL of the Pinecone index to fetch vectors from. Get this from the list indexes operation.\"),\n}).describe(\"Request model for fetching vectors by ID from Pinecone.\");\nconst PineconeFetchVectors_UsageSchema = z.object({\n readUnits: z.number().int().describe(\"The number of read units consumed by this operation.\").nullable().optional(),\n}).describe(\"Usage information for the fetch operation.\");\nexport const PineconeFetchVectorsOutput = z.object({\n usage: PineconeFetchVectors_UsageSchema.nullable().optional(),\n vectors: z.
|
|
1
|
+
{"version":3,"file":"fetch-vectors.cjs","names":["z","action"],"sources":["../../src/actions/fetch-vectors.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeFetchVectorsInput = z.object({\n ids: z.array(z.string()).describe(\"The vector IDs to fetch. Does not accept values containing spaces.\"),\n namespace: z.string().describe(\"The namespace to fetch vectors from. If not provided, the default namespace is used.\").optional(),\n index_host: z.string().describe(\"The host URL of the Pinecone index to fetch vectors from. Get this from the list indexes operation.\"),\n}).describe(\"Request model for fetching vectors by ID from Pinecone.\");\nconst PineconeFetchVectors_UsageSchema = z.object({\n readUnits: z.number().int().describe(\"The number of read units consumed by this operation.\").nullable().optional(),\n}).passthrough().describe(\"Usage information for the fetch operation.\");\nexport const PineconeFetchVectorsOutput = z.object({\n usage: PineconeFetchVectors_UsageSchema.nullable().optional(),\n vectors: z.record(z.string(), z.unknown()).describe(\"The fetched vectors, in the form of a map between the fetched IDs and the fetched vectors.\").nullable().optional(),\n namespace: z.string().describe(\"The namespace of the vectors.\").nullable().optional(),\n}).passthrough().describe(\"Response model for fetch vectors operation.\");\n\nexport const pineconeFetchVectors = action(\"PINECONE_FETCH_VECTORS\", {\n slug: \"pinecone-fetch-vectors\",\n name: \"Fetch Vectors\",\n description: \"Tool to fetch vectors by ID from a Pinecone index. Use when you need to retrieve vector data and metadata for specific vector IDs from a single namespace.\",\n input: PineconeFetchVectorsInput,\n output: PineconeFetchVectorsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,KAAKA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oEAAoE;CACtG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CAChI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG;AACvI,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,mCAAmCA,IAAAA,EAAE,OAAO,EAChD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,OAAO,iCAAiC,SAAS,CAAC,CAAC,SAAS;CAC5D,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtK,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -9,10 +9,10 @@ declare const PineconeFetchVectorsInput: z.ZodObject<{
|
|
|
9
9
|
declare const PineconeFetchVectorsOutput: z.ZodObject<{
|
|
10
10
|
usage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
11
11
|
readUnits: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
12
|
-
}, z.core.$
|
|
13
|
-
vectors: z.ZodOptional<z.ZodNullable<z.
|
|
12
|
+
}, z.core.$loose>>>;
|
|
13
|
+
vectors: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
14
14
|
namespace: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>;
|
|
16
16
|
declare const pineconeFetchVectors: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
17
|
ids: string[];
|
|
18
18
|
index_host: string;
|
|
@@ -9,10 +9,10 @@ declare const PineconeFetchVectorsInput: z.ZodObject<{
|
|
|
9
9
|
declare const PineconeFetchVectorsOutput: z.ZodObject<{
|
|
10
10
|
usage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
11
11
|
readUnits: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
12
|
-
}, z.core.$
|
|
13
|
-
vectors: z.ZodOptional<z.ZodNullable<z.
|
|
12
|
+
}, z.core.$loose>>>;
|
|
13
|
+
vectors: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
14
14
|
namespace: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>;
|
|
16
16
|
declare const pineconeFetchVectors: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
17
|
ids: string[];
|
|
18
18
|
index_host: string;
|
|
@@ -6,7 +6,7 @@ const PineconeFetchVectorsInput = z.object({
|
|
|
6
6
|
namespace: z.string().describe("The namespace to fetch vectors from. If not provided, the default namespace is used.").optional(),
|
|
7
7
|
index_host: z.string().describe("The host URL of the Pinecone index to fetch vectors from. Get this from the list indexes operation.")
|
|
8
8
|
}).describe("Request model for fetching vectors by ID from Pinecone.");
|
|
9
|
-
const PineconeFetchVectors_UsageSchema = z.object({ readUnits: z.number().int().describe("The number of read units consumed by this operation.").nullable().optional() }).describe("Usage information for the fetch operation.");
|
|
9
|
+
const PineconeFetchVectors_UsageSchema = z.object({ readUnits: z.number().int().describe("The number of read units consumed by this operation.").nullable().optional() }).passthrough().describe("Usage information for the fetch operation.");
|
|
10
10
|
const pineconeFetchVectors = action("PINECONE_FETCH_VECTORS", {
|
|
11
11
|
slug: "pinecone-fetch-vectors",
|
|
12
12
|
name: "Fetch Vectors",
|
|
@@ -14,9 +14,9 @@ const pineconeFetchVectors = action("PINECONE_FETCH_VECTORS", {
|
|
|
14
14
|
input: PineconeFetchVectorsInput,
|
|
15
15
|
output: z.object({
|
|
16
16
|
usage: PineconeFetchVectors_UsageSchema.nullable().optional(),
|
|
17
|
-
vectors: z.
|
|
17
|
+
vectors: z.record(z.string(), z.unknown()).describe("The fetched vectors, in the form of a map between the fetched IDs and the fetched vectors.").nullable().optional(),
|
|
18
18
|
namespace: z.string().describe("The namespace of the vectors.").nullable().optional()
|
|
19
|
-
}).describe("Response model for fetch vectors operation.")
|
|
19
|
+
}).passthrough().describe("Response model for fetch vectors operation.")
|
|
20
20
|
});
|
|
21
21
|
//#endregion
|
|
22
22
|
export { pineconeFetchVectors };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetch-vectors.mjs","names":[],"sources":["../../src/actions/fetch-vectors.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeFetchVectorsInput = z.object({\n ids: z.array(z.string()).describe(\"The vector IDs to fetch. Does not accept values containing spaces.\"),\n namespace: z.string().describe(\"The namespace to fetch vectors from. If not provided, the default namespace is used.\").optional(),\n index_host: z.string().describe(\"The host URL of the Pinecone index to fetch vectors from. Get this from the list indexes operation.\"),\n}).describe(\"Request model for fetching vectors by ID from Pinecone.\");\nconst PineconeFetchVectors_UsageSchema = z.object({\n readUnits: z.number().int().describe(\"The number of read units consumed by this operation.\").nullable().optional(),\n}).describe(\"Usage information for the fetch operation.\");\nexport const PineconeFetchVectorsOutput = z.object({\n usage: PineconeFetchVectors_UsageSchema.nullable().optional(),\n vectors: z.
|
|
1
|
+
{"version":3,"file":"fetch-vectors.mjs","names":[],"sources":["../../src/actions/fetch-vectors.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeFetchVectorsInput = z.object({\n ids: z.array(z.string()).describe(\"The vector IDs to fetch. Does not accept values containing spaces.\"),\n namespace: z.string().describe(\"The namespace to fetch vectors from. If not provided, the default namespace is used.\").optional(),\n index_host: z.string().describe(\"The host URL of the Pinecone index to fetch vectors from. Get this from the list indexes operation.\"),\n}).describe(\"Request model for fetching vectors by ID from Pinecone.\");\nconst PineconeFetchVectors_UsageSchema = z.object({\n readUnits: z.number().int().describe(\"The number of read units consumed by this operation.\").nullable().optional(),\n}).passthrough().describe(\"Usage information for the fetch operation.\");\nexport const PineconeFetchVectorsOutput = z.object({\n usage: PineconeFetchVectors_UsageSchema.nullable().optional(),\n vectors: z.record(z.string(), z.unknown()).describe(\"The fetched vectors, in the form of a map between the fetched IDs and the fetched vectors.\").nullable().optional(),\n namespace: z.string().describe(\"The namespace of the vectors.\").nullable().optional(),\n}).passthrough().describe(\"Response model for fetch vectors operation.\");\n\nexport const pineconeFetchVectors = action(\"PINECONE_FETCH_VECTORS\", {\n slug: \"pinecone-fetch-vectors\",\n name: \"Fetch Vectors\",\n description: \"Tool to fetch vectors by ID from a Pinecone index. Use when you need to retrieve vector data and metadata for specific vector IDs from a single namespace.\",\n input: PineconeFetchVectorsInput,\n output: PineconeFetchVectorsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO;CAChD,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oEAAoE;CACtG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CAChI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG;AACvI,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,mCAAmC,EAAE,OAAO,EAChD,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAOtE,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXwC,EAAE,OAAO;EACjD,OAAO,iCAAiC,SAAS,CAAC,CAAC,SAAS;EAC5D,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtK,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAOhB;AACV,CAAC"}
|
|
@@ -9,11 +9,11 @@ const PineconeGetAssistantOutput = zod.z.object({
|
|
|
9
9
|
host: zod.z.string().describe("The host where the assistant is deployed.").nullable().optional(),
|
|
10
10
|
name: zod.z.string().describe("The name of the assistant. Resource name must be 1-63 characters long, start and end with an alphanumeric character, and consist only of lower case alphanumeric characters or '-'.").nullable(),
|
|
11
11
|
status: zod.z.string().describe("Current status of the assistant.").nullable(),
|
|
12
|
-
metadata: zod.z.
|
|
12
|
+
metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Optional metadata associated with the assistant. Metadata is a JSON object that can store custom organizational data, tags, and attributes.").nullable().optional(),
|
|
13
13
|
created_at: zod.z.string().describe("Timestamp when the assistant was created (ISO 8601 format).").nullable().optional(),
|
|
14
14
|
updated_at: zod.z.string().describe("Timestamp when the assistant was last updated (ISO 8601 format).").nullable().optional(),
|
|
15
15
|
instructions: zod.z.string().describe("Description or directive for the assistant to apply to all responses.").nullable().optional()
|
|
16
|
-
}).describe("Response containing the configuration and status of a Pinecone Assistant.");
|
|
16
|
+
}).passthrough().describe("Response containing the configuration and status of a Pinecone Assistant.");
|
|
17
17
|
const pineconeGetAssistant = require_action.action("PINECONE_GET_ASSISTANT", {
|
|
18
18
|
slug: "pinecone-get-assistant",
|
|
19
19
|
name: "Get Assistant Status",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-assistant.cjs","names":["z","action"],"sources":["../../src/actions/get-assistant.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeGetAssistantInput = z.object({\n api_version: z.string().default(\"2025-10\").describe(\"Required date-based version header for the Pinecone API.\").optional(),\n assistant_name: z.string().describe(\"The name of the assistant to get a status on. Resource name must be 1-63 characters long, start and end with an alphanumeric character, and consist only of lower case alphanumeric characters or '-'.\"),\n}).describe(\"Request parameters for retrieving an assistant's status and details.\");\nexport const PineconeGetAssistantOutput = z.object({\n host: z.string().describe(\"The host where the assistant is deployed.\").nullable().optional(),\n name: z.string().describe(\"The name of the assistant. Resource name must be 1-63 characters long, start and end with an alphanumeric character, and consist only of lower case alphanumeric characters or '-'.\").nullable(),\n status: z.string().describe(\"Current status of the assistant.\").nullable(),\n metadata: z.
|
|
1
|
+
{"version":3,"file":"get-assistant.cjs","names":["z","action"],"sources":["../../src/actions/get-assistant.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeGetAssistantInput = z.object({\n api_version: z.string().default(\"2025-10\").describe(\"Required date-based version header for the Pinecone API.\").optional(),\n assistant_name: z.string().describe(\"The name of the assistant to get a status on. Resource name must be 1-63 characters long, start and end with an alphanumeric character, and consist only of lower case alphanumeric characters or '-'.\"),\n}).describe(\"Request parameters for retrieving an assistant's status and details.\");\nexport const PineconeGetAssistantOutput = z.object({\n host: z.string().describe(\"The host where the assistant is deployed.\").nullable().optional(),\n name: z.string().describe(\"The name of the assistant. Resource name must be 1-63 characters long, start and end with an alphanumeric character, and consist only of lower case alphanumeric characters or '-'.\").nullable(),\n status: z.string().describe(\"Current status of the assistant.\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Optional metadata associated with the assistant. Metadata is a JSON object that can store custom organizational data, tags, and attributes.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the assistant was created (ISO 8601 format).\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the assistant was last updated (ISO 8601 format).\").nullable().optional(),\n instructions: z.string().describe(\"Description or directive for the assistant to apply to all responses.\").nullable().optional(),\n}).passthrough().describe(\"Response containing the configuration and status of a Pinecone Assistant.\");\n\nexport const pineconeGetAssistant = action(\"PINECONE_GET_ASSISTANT\", {\n slug: \"pinecone-get-assistant\",\n name: \"Get Assistant Status\",\n description: \"Tool to retrieve the status and details of a Pinecone assistant. Use when you need to check assistant configuration, deployment status, or metadata.\",\n input: PineconeGetAssistantInput,\n output: PineconeGetAssistantOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OA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ullable<z.ZodString>;
|
|
11
11
|
status: z.ZodNullable<z.ZodString>;
|
|
12
|
-
metadata: z.ZodOptional<z.ZodNullable<z.
|
|
12
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
13
13
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
15
|
instructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>;
|
|
17
17
|
declare const pineconeGetAssistant: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
18
|
assistant_name: string;
|
|
19
19
|
api_version?: string | undefined;
|
|
@@ -9,11 +9,11 @@ declare const PineconeGetAssistantOutput: z.ZodObject<{
|
|
|
9
9
|
host: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
10
|
name: z.ZodNullable<z.ZodString>;
|
|
11
11
|
status: z.ZodNullable<z.ZodString>;
|
|
12
|
-
metadata: z.ZodOptional<z.ZodNullable<z.
|
|
12
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
13
13
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
15
|
instructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>;
|
|
17
17
|
declare const pineconeGetAssistant: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
18
|
assistant_name: string;
|
|
19
19
|
api_version?: string | undefined;
|
|
@@ -12,11 +12,11 @@ const pineconeGetAssistant = action("PINECONE_GET_ASSISTANT", {
|
|
|
12
12
|
host: z.string().describe("The host where the assistant is deployed.").nullable().optional(),
|
|
13
13
|
name: z.string().describe("The name of the assistant. Resource name must be 1-63 characters long, start and end with an alphanumeric character, and consist only of lower case alphanumeric characters or '-'.").nullable(),
|
|
14
14
|
status: z.string().describe("Current status of the assistant.").nullable(),
|
|
15
|
-
metadata: z.
|
|
15
|
+
metadata: z.record(z.string(), z.unknown()).describe("Optional metadata associated with the assistant. Metadata is a JSON object that can store custom organizational data, tags, and attributes.").nullable().optional(),
|
|
16
16
|
created_at: z.string().describe("Timestamp when the assistant was created (ISO 8601 format).").nullable().optional(),
|
|
17
17
|
updated_at: z.string().describe("Timestamp when the assistant was last updated (ISO 8601 format).").nullable().optional(),
|
|
18
18
|
instructions: z.string().describe("Description or directive for the assistant to apply to all responses.").nullable().optional()
|
|
19
|
-
}).describe("Response containing the configuration and status of a Pinecone Assistant.")
|
|
19
|
+
}).passthrough().describe("Response containing the configuration and status of a Pinecone Assistant.")
|
|
20
20
|
});
|
|
21
21
|
//#endregion
|
|
22
22
|
export { pineconeGetAssistant };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-assistant.mjs","names":[],"sources":["../../src/actions/get-assistant.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeGetAssistantInput = z.object({\n api_version: z.string().default(\"2025-10\").describe(\"Required date-based version header for the Pinecone API.\").optional(),\n assistant_name: z.string().describe(\"The name of the assistant to get a status on. Resource name must be 1-63 characters long, start and end with an alphanumeric character, and consist only of lower case alphanumeric characters or '-'.\"),\n}).describe(\"Request parameters for retrieving an assistant's status and details.\");\nexport const PineconeGetAssistantOutput = z.object({\n host: z.string().describe(\"The host where the assistant is deployed.\").nullable().optional(),\n name: z.string().describe(\"The name of the assistant. Resource name must be 1-63 characters long, start and end with an alphanumeric character, and consist only of lower case alphanumeric characters or '-'.\").nullable(),\n status: z.string().describe(\"Current status of the assistant.\").nullable(),\n metadata: z.
|
|
1
|
+
{"version":3,"file":"get-assistant.mjs","names":[],"sources":["../../src/actions/get-assistant.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeGetAssistantInput = z.object({\n api_version: z.string().default(\"2025-10\").describe(\"Required date-based version header for the Pinecone API.\").optional(),\n assistant_name: z.string().describe(\"The name of the assistant to get a status on. Resource name must be 1-63 characters long, start and end with an alphanumeric character, and consist only of lower case alphanumeric characters or '-'.\"),\n}).describe(\"Request parameters for retrieving an assistant's status and details.\");\nexport const PineconeGetAssistantOutput = z.object({\n host: z.string().describe(\"The host where the assistant is deployed.\").nullable().optional(),\n name: z.string().describe(\"The name of the assistant. Resource name must be 1-63 characters long, start and end with an alphanumeric character, and consist only of lower case alphanumeric characters or '-'.\").nullable(),\n status: z.string().describe(\"Current status of the assistant.\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Optional metadata associated with the assistant. Metadata is a JSON object that can store custom organizational data, tags, and attributes.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the assistant was created (ISO 8601 format).\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the assistant was last updated (ISO 8601 format).\").nullable().optional(),\n instructions: z.string().describe(\"Description or directive for the assistant to apply to all responses.\").nullable().optional(),\n}).passthrough().describe(\"Response containing the configuration and status of a Pinecone Assistant.\");\n\nexport const pineconeGetAssistant = action(\"PINECONE_GET_ASSISTANT\", {\n slug: \"pinecone-get-assistant\",\n name: \"Get Assistant Status\",\n description: \"Tool to retrieve the status and details of a Pinecone assistant. Use when you need to check assistant configuration, deployment status, or metadata.\",\n input: PineconeGetAssistantInput,\n output: PineconeGetAssistantOutput,\n});\n"],"mappings":";;AAkBA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBuC,EAAE,OAAO;EAChD,aAAa,EAAE,OAAO,CAAC,CAAC,QAAQ,SAAS,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;EACzH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;CAC9O,CAAC,CAAC,CAAC,SAAS,sEAeH;CACP,QAfwC,EAAE,OAAO;EACjD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qLAAqL,CAAC,CAAC,SAAS;EAC1N,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EACzE,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6IAA6I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxN,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2EAOhB;AACV,CAAC"}
|
|
@@ -24,7 +24,7 @@ const PineconeGetModel_SupportedParameterSchema = zod.z.object({
|
|
|
24
24
|
zod.z.number(),
|
|
25
25
|
zod.z.boolean()
|
|
26
26
|
])).describe("List of allowed values for the parameter").nullable().optional()
|
|
27
|
-
}).describe("Model parameter with its constraints, types, and defaults.");
|
|
27
|
+
}).passthrough().describe("Model parameter with its constraints, types, and defaults.");
|
|
28
28
|
const PineconeGetModelOutput = zod.z.object({
|
|
29
29
|
type: zod.z.string().describe("Model type: 'embed' or 'rerank'").nullable(),
|
|
30
30
|
model: zod.z.string().describe("Model name").nullable(),
|
|
@@ -38,7 +38,7 @@ const PineconeGetModelOutput = zod.z.object({
|
|
|
38
38
|
max_sequence_length: zod.z.number().int().describe("Maximum tokens per sequence").nullable(),
|
|
39
39
|
supported_dimensions: zod.z.array(zod.z.number().int()).describe("Available dimension options for the model").nullable().optional(),
|
|
40
40
|
supported_parameters: zod.z.array(PineconeGetModel_SupportedParameterSchema).describe("Parameters with constraints, types, and defaults")
|
|
41
|
-
}).describe("Response model containing detailed information about a model.");
|
|
41
|
+
}).passthrough().describe("Response model containing detailed information about a model.");
|
|
42
42
|
const pineconeGetModel = require_action.action("PINECONE_GET_MODEL", {
|
|
43
43
|
slug: "pinecone-get-model",
|
|
44
44
|
name: "Get Model Information",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-model.cjs","names":["z","action"],"sources":["../../src/actions/get-model.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeGetModelInput = z.object({\n model_name: z.string().describe(\"The name of the model to look up.\"),\n api_version: z.string().default(\"2025-10\").describe(\"Required date-based version header for the Pinecone API.\").optional(),\n}).describe(\"Request model for retrieving information about a specific model.\");\nconst PineconeGetModel_SupportedParameterSchema = z.object({\n max: z.number().describe(\"Maximum value constraint\").nullable().optional(),\n min: z.number().describe(\"Minimum value constraint\").nullable().optional(),\n type: z.string().describe(\"Parameter type (e.g., 'one_of', 'numeric_range', 'any')\").nullable().optional(),\n \"default\": z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable().optional(),\n required: z.boolean().describe(\"Whether the parameter is required\").nullable().optional(),\n parameter: z.string().describe(\"Parameter name\").nullable(),\n value_type: z.string().describe(\"Value type (e.g., 'string', 'integer', 'boolean')\").nullable().optional(),\n allowed_values: z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()])).describe(\"List of allowed values for the parameter\").nullable().optional(),\n}).describe(\"Model parameter with its constraints, types, and defaults.\");\nexport const PineconeGetModelOutput = z.object({\n type: z.string().describe(\"Model type: 'embed' or 'rerank'\").nullable(),\n model: z.string().describe(\"Model name\").nullable(),\n modality: z.string().describe(\"Input modality (e.g., 'text')\").nullable(),\n vector_type: z.string().describe(\"Vector type: 'dense' or 'sparse' for embedding models\").nullable().optional(),\n provider_name: z.string().describe(\"Model provider\").nullable(),\n max_batch_size: z.number().int().describe(\"Maximum number of sequences supported in a batch\").nullable(),\n default_dimension: z.number().int().describe(\"Default embedding dimension\").nullable().optional(),\n short_description: z.string().describe(\"Summary of the model\").nullable(),\n supported_metrics: z.array(z.string()).describe(\"Supported distance metrics: 'cosine', 'euclidean', 'dotproduct'\").nullable().optional(),\n max_sequence_length: z.number().int().describe(\"Maximum tokens per sequence\").nullable(),\n supported_dimensions: z.array(z.number().int()).describe(\"Available dimension options for the model\").nullable().optional(),\n supported_parameters: z.array(PineconeGetModel_SupportedParameterSchema).describe(\"Parameters with constraints, types, and defaults\"),\n}).describe(\"Response model containing detailed information about a model.\");\n\nexport const pineconeGetModel = action(\"PINECONE_GET_MODEL\", {\n slug: \"pinecone-get-model\",\n name: \"Get Model Information\",\n description: \"Tool to retrieve detailed information about a specific model hosted by Pinecone. Use when you need to understand model capabilities for embedding and reranking operations.\",\n input: PineconeGetModelInput,\n output: PineconeGetModelOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CACnE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,SAAS,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;AAC3H,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC9E,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,WAAWA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI;EAAGA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,QAAQ;CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CAC1D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI;EAAGA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,QAAQ;CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrK,CAAC,CAAC,CAAC,SAAS,4DAA4D;
|
|
1
|
+
{"version":3,"file":"get-model.cjs","names":["z","action"],"sources":["../../src/actions/get-model.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeGetModelInput = z.object({\n model_name: z.string().describe(\"The name of the model to look up.\"),\n api_version: z.string().default(\"2025-10\").describe(\"Required date-based version header for the Pinecone API.\").optional(),\n}).describe(\"Request model for retrieving information about a specific model.\");\nconst PineconeGetModel_SupportedParameterSchema = z.object({\n max: z.number().describe(\"Maximum value constraint\").nullable().optional(),\n min: z.number().describe(\"Minimum value constraint\").nullable().optional(),\n type: z.string().describe(\"Parameter type (e.g., 'one_of', 'numeric_range', 'any')\").nullable().optional(),\n \"default\": z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable().optional(),\n required: z.boolean().describe(\"Whether the parameter is required\").nullable().optional(),\n parameter: z.string().describe(\"Parameter name\").nullable(),\n value_type: z.string().describe(\"Value type (e.g., 'string', 'integer', 'boolean')\").nullable().optional(),\n allowed_values: z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()])).describe(\"List of allowed values for the parameter\").nullable().optional(),\n}).passthrough().describe(\"Model parameter with its constraints, types, and defaults.\");\nexport const PineconeGetModelOutput = z.object({\n type: z.string().describe(\"Model type: 'embed' or 'rerank'\").nullable(),\n model: z.string().describe(\"Model name\").nullable(),\n modality: z.string().describe(\"Input modality (e.g., 'text')\").nullable(),\n vector_type: z.string().describe(\"Vector type: 'dense' or 'sparse' for embedding models\").nullable().optional(),\n provider_name: z.string().describe(\"Model provider\").nullable(),\n max_batch_size: z.number().int().describe(\"Maximum number of sequences supported in a batch\").nullable(),\n default_dimension: z.number().int().describe(\"Default embedding dimension\").nullable().optional(),\n short_description: z.string().describe(\"Summary of the model\").nullable(),\n supported_metrics: z.array(z.string()).describe(\"Supported distance metrics: 'cosine', 'euclidean', 'dotproduct'\").nullable().optional(),\n max_sequence_length: z.number().int().describe(\"Maximum tokens per sequence\").nullable(),\n supported_dimensions: z.array(z.number().int()).describe(\"Available dimension options for the model\").nullable().optional(),\n supported_parameters: z.array(PineconeGetModel_SupportedParameterSchema).describe(\"Parameters with constraints, types, and defaults\"),\n}).passthrough().describe(\"Response model containing detailed information about a model.\");\n\nexport const pineconeGetModel = action(\"PINECONE_GET_MODEL\", {\n slug: \"pinecone-get-model\",\n name: \"Get Model Information\",\n description: \"Tool to retrieve detailed information about a specific model hosted by Pinecone. Use when you need to understand model capabilities for embedding and reranking operations.\",\n input: PineconeGetModelInput,\n output: PineconeGetModelOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CACnE,aAAaA,IAAAA,EAAE,O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zF,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -26,8 +26,8 @@ declare const PineconeGetModelOutput: z.ZodObject<{
|
|
|
26
26
|
parameter: z.ZodNullable<z.ZodString>;
|
|
27
27
|
value_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
28
|
allowed_values: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean]>>>>;
|
|
29
|
-
}, z.core.$
|
|
30
|
-
}, z.core.$
|
|
29
|
+
}, z.core.$loose>>;
|
|
30
|
+
}, z.core.$loose>;
|
|
31
31
|
declare const pineconeGetModel: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
32
32
|
model_name: string;
|
|
33
33
|
api_version?: string | undefined;
|
|
@@ -26,8 +26,8 @@ declare const PineconeGetModelOutput: z.ZodObject<{
|
|
|
26
26
|
parameter: z.ZodNullable<z.ZodString>;
|
|
27
27
|
value_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
28
|
allowed_values: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean]>>>>;
|
|
29
|
-
}, z.core.$
|
|
30
|
-
}, z.core.$
|
|
29
|
+
}, z.core.$loose>>;
|
|
30
|
+
}, z.core.$loose>;
|
|
31
31
|
declare const pineconeGetModel: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
32
32
|
model_name: string;
|
|
33
33
|
api_version?: string | undefined;
|
|
@@ -24,7 +24,7 @@ const PineconeGetModel_SupportedParameterSchema = z.object({
|
|
|
24
24
|
z.number(),
|
|
25
25
|
z.boolean()
|
|
26
26
|
])).describe("List of allowed values for the parameter").nullable().optional()
|
|
27
|
-
}).describe("Model parameter with its constraints, types, and defaults.");
|
|
27
|
+
}).passthrough().describe("Model parameter with its constraints, types, and defaults.");
|
|
28
28
|
const pineconeGetModel = action("PINECONE_GET_MODEL", {
|
|
29
29
|
slug: "pinecone-get-model",
|
|
30
30
|
name: "Get Model Information",
|
|
@@ -43,7 +43,7 @@ const pineconeGetModel = action("PINECONE_GET_MODEL", {
|
|
|
43
43
|
max_sequence_length: z.number().int().describe("Maximum tokens per sequence").nullable(),
|
|
44
44
|
supported_dimensions: z.array(z.number().int()).describe("Available dimension options for the model").nullable().optional(),
|
|
45
45
|
supported_parameters: z.array(PineconeGetModel_SupportedParameterSchema).describe("Parameters with constraints, types, and defaults")
|
|
46
|
-
}).describe("Response model containing detailed information about a model.")
|
|
46
|
+
}).passthrough().describe("Response model containing detailed information about a model.")
|
|
47
47
|
});
|
|
48
48
|
//#endregion
|
|
49
49
|
export { pineconeGetModel };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-model.mjs","names":[],"sources":["../../src/actions/get-model.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeGetModelInput = z.object({\n model_name: z.string().describe(\"The name of the model to look up.\"),\n api_version: z.string().default(\"2025-10\").describe(\"Required date-based version header for the Pinecone API.\").optional(),\n}).describe(\"Request model for retrieving information about a specific model.\");\nconst PineconeGetModel_SupportedParameterSchema = z.object({\n max: z.number().describe(\"Maximum value constraint\").nullable().optional(),\n min: z.number().describe(\"Minimum value constraint\").nullable().optional(),\n type: z.string().describe(\"Parameter type (e.g., 'one_of', 'numeric_range', 'any')\").nullable().optional(),\n \"default\": z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable().optional(),\n required: z.boolean().describe(\"Whether the parameter is required\").nullable().optional(),\n parameter: z.string().describe(\"Parameter name\").nullable(),\n value_type: z.string().describe(\"Value type (e.g., 'string', 'integer', 'boolean')\").nullable().optional(),\n allowed_values: z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()])).describe(\"List of allowed values for the parameter\").nullable().optional(),\n}).describe(\"Model parameter with its constraints, types, and defaults.\");\nexport const PineconeGetModelOutput = z.object({\n type: z.string().describe(\"Model type: 'embed' or 'rerank'\").nullable(),\n model: z.string().describe(\"Model name\").nullable(),\n modality: z.string().describe(\"Input modality (e.g., 'text')\").nullable(),\n vector_type: z.string().describe(\"Vector type: 'dense' or 'sparse' for embedding models\").nullable().optional(),\n provider_name: z.string().describe(\"Model provider\").nullable(),\n max_batch_size: z.number().int().describe(\"Maximum number of sequences supported in a batch\").nullable(),\n default_dimension: z.number().int().describe(\"Default embedding dimension\").nullable().optional(),\n short_description: z.string().describe(\"Summary of the model\").nullable(),\n supported_metrics: z.array(z.string()).describe(\"Supported distance metrics: 'cosine', 'euclidean', 'dotproduct'\").nullable().optional(),\n max_sequence_length: z.number().int().describe(\"Maximum tokens per sequence\").nullable(),\n supported_dimensions: z.array(z.number().int()).describe(\"Available dimension options for the model\").nullable().optional(),\n supported_parameters: z.array(PineconeGetModel_SupportedParameterSchema).describe(\"Parameters with constraints, types, and defaults\"),\n}).describe(\"Response model containing detailed information about a model.\");\n\nexport const pineconeGetModel = action(\"PINECONE_GET_MODEL\", {\n slug: \"pinecone-get-model\",\n name: \"Get Model Information\",\n description: \"Tool to retrieve detailed information about a specific model hosted by Pinecone. Use when you need to understand model capabilities for embedding and reranking operations.\",\n input: PineconeGetModelInput,\n output: PineconeGetModelOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwB,EAAE,OAAO;CAC5C,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CACnE,aAAa,EAAE,OAAO,CAAC,CAAC,QAAQ,SAAS,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;AAC3H,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC9E,MAAM,4CAA4C,EAAE,OAAO;CACzD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,WAAW,EAAE,MAAM;EAAC,EAAE,OAAO;EAAG,EAAE,OAAO,CAAC,CAAC,IAAI;EAAG,EAAE,OAAO;EAAG,EAAE,QAAQ;CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CAC1D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,gBAAgB,EAAE,MAAM,EAAE,MAAM;EAAC,EAAE,OAAO;EAAG,EAAE,OAAO,CAAC,CAAC,IAAI;EAAG,EAAE,OAAO;EAAG,EAAE,QAAQ;CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrK,CAAC,CAAC,CAAC,SAAS,4DAA4D;
|
|
1
|
+
{"version":3,"file":"get-model.mjs","names":[],"sources":["../../src/actions/get-model.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeGetModelInput = z.object({\n model_name: z.string().describe(\"The name of the model to look up.\"),\n api_version: z.string().default(\"2025-10\").describe(\"Required date-based version header for the Pinecone API.\").optional(),\n}).describe(\"Request model for retrieving information about a specific model.\");\nconst PineconeGetModel_SupportedParameterSchema = z.object({\n max: z.number().describe(\"Maximum value constraint\").nullable().optional(),\n min: z.number().describe(\"Minimum value constraint\").nullable().optional(),\n type: z.string().describe(\"Parameter type (e.g., 'one_of', 'numeric_range', 'any')\").nullable().optional(),\n \"default\": z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable().optional(),\n required: z.boolean().describe(\"Whether the parameter is required\").nullable().optional(),\n parameter: z.string().describe(\"Parameter name\").nullable(),\n value_type: z.string().describe(\"Value type (e.g., 'string', 'integer', 'boolean')\").nullable().optional(),\n allowed_values: z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()])).describe(\"List of allowed values for the parameter\").nullable().optional(),\n}).passthrough().describe(\"Model parameter with its constraints, types, and defaults.\");\nexport const PineconeGetModelOutput = z.object({\n type: z.string().describe(\"Model type: 'embed' or 'rerank'\").nullable(),\n model: z.string().describe(\"Model name\").nullable(),\n modality: z.string().describe(\"Input modality (e.g., 'text')\").nullable(),\n vector_type: z.string().describe(\"Vector type: 'dense' or 'sparse' for embedding models\").nullable().optional(),\n provider_name: z.string().describe(\"Model provider\").nullable(),\n max_batch_size: z.number().int().describe(\"Maximum number of sequences supported in a batch\").nullable(),\n default_dimension: z.number().int().describe(\"Default embedding dimension\").nullable().optional(),\n short_description: z.string().describe(\"Summary of the model\").nullable(),\n supported_metrics: z.array(z.string()).describe(\"Supported distance metrics: 'cosine', 'euclidean', 'dotproduct'\").nullable().optional(),\n max_sequence_length: z.number().int().describe(\"Maximum tokens per sequence\").nullable(),\n supported_dimensions: z.array(z.number().int()).describe(\"Available dimension options for the model\").nullable().optional(),\n supported_parameters: z.array(PineconeGetModel_SupportedParameterSchema).describe(\"Parameters with constraints, types, and defaults\"),\n}).passthrough().describe(\"Response model containing detailed information about a model.\");\n\nexport const pineconeGetModel = action(\"PINECONE_GET_MODEL\", {\n slug: \"pinecone-get-model\",\n name: \"Get Model Information\",\n description: \"Tool to retrieve detailed information about a specific model hosted by Pinecone. Use when you need to understand model capabilities for embedding and reranking operations.\",\n input: PineconeGetModelInput,\n output: PineconeGetModelOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwB,EAAE,OAAO;CAC5C,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;C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,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACtE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS;EAClD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACxE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;EAC9D,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EACvG,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;EACxE,mBAAmB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvI,qBAAqB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EACvF,sBAAsB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1H,sBAAsB,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,kDAAkD;CACtI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAOhB;AACV,CAAC"}
|
|
@@ -9,16 +9,16 @@ const PineconeListAssistants_AssistantInfoSchema = zod.z.object({
|
|
|
9
9
|
host: zod.z.string().describe("Host URL for the assistant.").nullable().optional(),
|
|
10
10
|
name: zod.z.string().describe("The name of the assistant.").nullable(),
|
|
11
11
|
status: zod.z.string().describe("Current status of the assistant.").nullable(),
|
|
12
|
-
metadata: zod.z.
|
|
12
|
+
metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom metadata associated with the assistant.").nullable().optional(),
|
|
13
13
|
created_at: zod.z.string().describe("Timestamp when the assistant was created.").nullable().optional(),
|
|
14
14
|
updated_at: zod.z.string().describe("Timestamp when the assistant was last updated.").nullable().optional(),
|
|
15
15
|
instructions: zod.z.string().describe("Instructions configured for the assistant.").nullable().optional()
|
|
16
|
-
}).describe("Information about a single assistant.");
|
|
17
|
-
const PineconeListAssistants_PaginationInfoSchema = zod.z.object({ next: zod.z.string().describe("Token for retrieving the next page of results.").nullable().optional() }).describe("Pagination information for list responses.");
|
|
16
|
+
}).passthrough().describe("Information about a single assistant.");
|
|
17
|
+
const PineconeListAssistants_PaginationInfoSchema = zod.z.object({ next: zod.z.string().describe("Token for retrieving the next page of results.").nullable().optional() }).passthrough().describe("Pagination information for list responses.");
|
|
18
18
|
const PineconeListAssistantsOutput = zod.z.object({
|
|
19
19
|
assistants: zod.z.array(PineconeListAssistants_AssistantInfoSchema).describe("List of assistants in the project.").nullable().optional(),
|
|
20
20
|
pagination: PineconeListAssistants_PaginationInfoSchema.nullable().optional()
|
|
21
|
-
}).describe("Response model for listing assistants.");
|
|
21
|
+
}).passthrough().describe("Response model for listing assistants.");
|
|
22
22
|
const pineconeListAssistants = require_action.action("PINECONE_LIST_ASSISTANTS", {
|
|
23
23
|
slug: "pinecone-list-assistants",
|
|
24
24
|
name: "List Assistants",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-assistants.cjs","names":["z","action"],"sources":["../../src/actions/list-assistants.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeListAssistantsInput = z.object({\n limit: z.number().int().describe(\"The number of assistants to return per page. Must be between 1 and 100.\").optional(),\n pagination_token: z.string().describe(\"Token for retrieving the next page of results from a previous list operation.\").optional(),\n}).describe(\"Request model for listing assistants with optional pagination.\");\nconst PineconeListAssistants_AssistantInfoSchema = z.object({\n host: z.string().describe(\"Host URL for the assistant.\").nullable().optional(),\n name: z.string().describe(\"The name of the assistant.\").nullable(),\n status: z.string().describe(\"Current status of the assistant.\").nullable(),\n metadata: z.
|
|
1
|
+
{"version":3,"file":"list-assistants.cjs","names":["z","action"],"sources":["../../src/actions/list-assistants.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeListAssistantsInput = z.object({\n limit: z.number().int().describe(\"The number of assistants to return per page. Must be between 1 and 100.\").optional(),\n pagination_token: z.string().describe(\"Token for retrieving the next page of results from a previous list operation.\").optional(),\n}).describe(\"Request model for listing assistants with optional pagination.\");\nconst PineconeListAssistants_AssistantInfoSchema = z.object({\n host: z.string().describe(\"Host URL for the assistant.\").nullable().optional(),\n name: z.string().describe(\"The name of the assistant.\").nullable(),\n status: z.string().describe(\"Current status of the assistant.\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata associated with the assistant.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the assistant was created.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the assistant was last updated.\").nullable().optional(),\n instructions: z.string().describe(\"Instructions configured for the assistant.\").nullable().optional(),\n}).passthrough().describe(\"Information about a single assistant.\");\nconst PineconeListAssistants_PaginationInfoSchema = z.object({\n next: z.string().describe(\"Token for retrieving the next page of results.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for list responses.\");\nexport const PineconeListAssistantsOutput = z.object({\n assistants: z.array(PineconeListAssistants_AssistantInfoSchema).describe(\"List of assistants in the project.\").nullable().optional(),\n pagination: PineconeListAssistants_PaginationInfoSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for listing assistants.\");\n\nexport const pineconeListAssistants = action(\"PINECONE_LIST_ASSISTANTS\", {\n slug: \"pinecone-list-assistants\",\n name: \"List Assistants\",\n description: \"Tool to list all assistants in a Pinecone project. Use when you need to retrieve all assistants with their configurations and status information.\",\n input: PineconeListAssistantsInput,\n output: PineconeListAssistantsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACrH,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;AAClI,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACjE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACzE,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AACjE,MAAM,8CAA8CA,IAAAA,EAAE,OAAO,EAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,YAAYA,IAAAA,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,YAAY,4CAA4C,SAAS,CAAC,CAAC,SAAS;AAC9E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAElE,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -10,15 +10,15 @@ declare const PineconeListAssistantsOutput: z.ZodObject<{
|
|
|
10
10
|
host: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
11
|
name: z.ZodNullable<z.ZodString>;
|
|
12
12
|
status: z.ZodNullable<z.ZodString>;
|
|
13
|
-
metadata: z.ZodOptional<z.ZodNullable<z.
|
|
13
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
14
14
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
15
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
16
|
instructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>>>>;
|
|
18
18
|
pagination: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
19
19
|
next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
-
}, z.core.$
|
|
21
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$loose>>>;
|
|
21
|
+
}, z.core.$loose>;
|
|
22
22
|
declare const pineconeListAssistants: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
23
23
|
limit?: number | undefined;
|
|
24
24
|
pagination_token?: string | undefined;
|
|
@@ -10,15 +10,15 @@ declare const PineconeListAssistantsOutput: z.ZodObject<{
|
|
|
10
10
|
host: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
11
|
name: z.ZodNullable<z.ZodString>;
|
|
12
12
|
status: z.ZodNullable<z.ZodString>;
|
|
13
|
-
metadata: z.ZodOptional<z.ZodNullable<z.
|
|
13
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
14
14
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
15
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
16
|
instructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>>>>;
|
|
18
18
|
pagination: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
19
19
|
next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
-
}, z.core.$
|
|
21
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$loose>>>;
|
|
21
|
+
}, z.core.$loose>;
|
|
22
22
|
declare const pineconeListAssistants: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
23
23
|
limit?: number | undefined;
|
|
24
24
|
pagination_token?: string | undefined;
|
|
@@ -9,12 +9,12 @@ const PineconeListAssistants_AssistantInfoSchema = z.object({
|
|
|
9
9
|
host: z.string().describe("Host URL for the assistant.").nullable().optional(),
|
|
10
10
|
name: z.string().describe("The name of the assistant.").nullable(),
|
|
11
11
|
status: z.string().describe("Current status of the assistant.").nullable(),
|
|
12
|
-
metadata: z.
|
|
12
|
+
metadata: z.record(z.string(), z.unknown()).describe("Custom metadata associated with the assistant.").nullable().optional(),
|
|
13
13
|
created_at: z.string().describe("Timestamp when the assistant was created.").nullable().optional(),
|
|
14
14
|
updated_at: z.string().describe("Timestamp when the assistant was last updated.").nullable().optional(),
|
|
15
15
|
instructions: z.string().describe("Instructions configured for the assistant.").nullable().optional()
|
|
16
|
-
}).describe("Information about a single assistant.");
|
|
17
|
-
const PineconeListAssistants_PaginationInfoSchema = z.object({ next: z.string().describe("Token for retrieving the next page of results.").nullable().optional() }).describe("Pagination information for list responses.");
|
|
16
|
+
}).passthrough().describe("Information about a single assistant.");
|
|
17
|
+
const PineconeListAssistants_PaginationInfoSchema = z.object({ next: z.string().describe("Token for retrieving the next page of results.").nullable().optional() }).passthrough().describe("Pagination information for list responses.");
|
|
18
18
|
const pineconeListAssistants = action("PINECONE_LIST_ASSISTANTS", {
|
|
19
19
|
slug: "pinecone-list-assistants",
|
|
20
20
|
name: "List Assistants",
|
|
@@ -23,7 +23,7 @@ const pineconeListAssistants = action("PINECONE_LIST_ASSISTANTS", {
|
|
|
23
23
|
output: z.object({
|
|
24
24
|
assistants: z.array(PineconeListAssistants_AssistantInfoSchema).describe("List of assistants in the project.").nullable().optional(),
|
|
25
25
|
pagination: PineconeListAssistants_PaginationInfoSchema.nullable().optional()
|
|
26
|
-
}).describe("Response model for listing assistants.")
|
|
26
|
+
}).passthrough().describe("Response model for listing assistants.")
|
|
27
27
|
});
|
|
28
28
|
//#endregion
|
|
29
29
|
export { pineconeListAssistants };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-assistants.mjs","names":[],"sources":["../../src/actions/list-assistants.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeListAssistantsInput = z.object({\n limit: z.number().int().describe(\"The number of assistants to return per page. Must be between 1 and 100.\").optional(),\n pagination_token: z.string().describe(\"Token for retrieving the next page of results from a previous list operation.\").optional(),\n}).describe(\"Request model for listing assistants with optional pagination.\");\nconst PineconeListAssistants_AssistantInfoSchema = z.object({\n host: z.string().describe(\"Host URL for the assistant.\").nullable().optional(),\n name: z.string().describe(\"The name of the assistant.\").nullable(),\n status: z.string().describe(\"Current status of the assistant.\").nullable(),\n metadata: z.
|
|
1
|
+
{"version":3,"file":"list-assistants.mjs","names":[],"sources":["../../src/actions/list-assistants.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeListAssistantsInput = z.object({\n limit: z.number().int().describe(\"The number of assistants to return per page. Must be between 1 and 100.\").optional(),\n pagination_token: z.string().describe(\"Token for retrieving the next page of results from a previous list operation.\").optional(),\n}).describe(\"Request model for listing assistants with optional pagination.\");\nconst PineconeListAssistants_AssistantInfoSchema = z.object({\n host: z.string().describe(\"Host URL for the assistant.\").nullable().optional(),\n name: z.string().describe(\"The name of the assistant.\").nullable(),\n status: z.string().describe(\"Current status of the assistant.\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata associated with the assistant.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the assistant was created.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the assistant was last updated.\").nullable().optional(),\n instructions: z.string().describe(\"Instructions configured for the assistant.\").nullable().optional(),\n}).passthrough().describe(\"Information about a single assistant.\");\nconst PineconeListAssistants_PaginationInfoSchema = z.object({\n next: z.string().describe(\"Token for retrieving the next page of results.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for list responses.\");\nexport const PineconeListAssistantsOutput = z.object({\n assistants: z.array(PineconeListAssistants_AssistantInfoSchema).describe(\"List of assistants in the project.\").nullable().optional(),\n pagination: PineconeListAssistants_PaginationInfoSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for listing assistants.\");\n\nexport const pineconeListAssistants = action(\"PINECONE_LIST_ASSISTANTS\", {\n slug: \"pinecone-list-assistants\",\n name: \"List Assistants\",\n description: \"Tool to list all assistants in a Pinecone project. Use when you need to retrieve all assistants with their configurations and status information.\",\n input: PineconeListAssistantsInput,\n output: PineconeListAssistantsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE,CAAC,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,CAAC,SAAS;CAC9E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAOhB;AACV,CAAC"}
|
|
@@ -15,12 +15,12 @@ const PineconeListBulkImports_ImportOperationSchema = zod.z.object({
|
|
|
15
15
|
finishedAt: zod.z.string().describe("Operation end timestamp").nullable().optional(),
|
|
16
16
|
percentComplete: zod.z.number().describe("The progress made by the operation, as a percentage (0-100)").nullable().optional(),
|
|
17
17
|
recordsImported: zod.z.number().int().describe("The number of records successfully imported").nullable().optional()
|
|
18
|
-
}).describe("Schema for a single import operation.");
|
|
19
|
-
const PineconeListBulkImports_PaginationInfoSchema = zod.z.object({ next: zod.z.string().describe("Token for retrieving additional results").nullable().optional() }).describe("Schema for pagination information.");
|
|
18
|
+
}).passthrough().describe("Schema for a single import operation.");
|
|
19
|
+
const PineconeListBulkImports_PaginationInfoSchema = zod.z.object({ next: zod.z.string().describe("Token for retrieving additional results").nullable().optional() }).passthrough().describe("Schema for pagination information.");
|
|
20
20
|
const PineconeListBulkImportsOutput = zod.z.object({
|
|
21
21
|
data: zod.z.array(PineconeListBulkImports_ImportOperationSchema).describe("Collection of import operation objects"),
|
|
22
22
|
pagination: PineconeListBulkImports_PaginationInfoSchema.nullable().optional()
|
|
23
|
-
}).describe("Response model for listing bulk import operations.");
|
|
23
|
+
}).passthrough().describe("Response model for listing bulk import operations.");
|
|
24
24
|
const pineconeListBulkImports = require_action.action("PINECONE_LIST_BULK_IMPORTS", {
|
|
25
25
|
slug: "pinecone-list-bulk-imports",
|
|
26
26
|
name: "List Bulk Imports",
|