@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
|
@@ -8,11 +8,11 @@ declare const PineconeListProjectBackupsInput: z.ZodObject<{
|
|
|
8
8
|
declare const PineconeListProjectBackupsOutput: z.ZodObject<{
|
|
9
9
|
data: z.ZodArray<z.ZodObject<{
|
|
10
10
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
-
tags: z.ZodOptional<z.ZodNullable<z.
|
|
11
|
+
tags: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
12
12
|
cloud: z.ZodNullable<z.ZodString>;
|
|
13
13
|
metric: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
region: z.ZodNullable<z.ZodString>;
|
|
15
|
-
schema: z.ZodOptional<z.ZodNullable<z.
|
|
15
|
+
schema: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
16
16
|
status: z.ZodNullable<z.ZodString>;
|
|
17
17
|
backup_id: z.ZodNullable<z.ZodString>;
|
|
18
18
|
dimension: z.ZodNullable<z.ZodNumber>;
|
|
@@ -23,11 +23,11 @@ declare const PineconeListProjectBackupsOutput: z.ZodObject<{
|
|
|
23
23
|
namespace_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
24
24
|
source_index_id: z.ZodNullable<z.ZodString>;
|
|
25
25
|
source_index_name: z.ZodNullable<z.ZodString>;
|
|
26
|
-
}, z.core.$
|
|
26
|
+
}, z.core.$loose>>;
|
|
27
27
|
pagination: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
28
28
|
next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
-
}, z.core.$
|
|
30
|
-
}, z.core.$
|
|
29
|
+
}, z.core.$loose>>>;
|
|
30
|
+
}, z.core.$loose>;
|
|
31
31
|
declare const pineconeListProjectBackups: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
32
32
|
limit?: number | undefined;
|
|
33
33
|
paginationToken?: string | undefined;
|
|
@@ -7,11 +7,11 @@ const PineconeListProjectBackupsInput = z.object({
|
|
|
7
7
|
}).describe("Request model for listing backups across all indexes in a project.");
|
|
8
8
|
const PineconeListProjectBackups_BackupModelSchema = z.object({
|
|
9
9
|
name: z.string().describe("User-defined backup name.").nullable().optional(),
|
|
10
|
-
tags: z.
|
|
10
|
+
tags: z.record(z.string(), z.unknown()).describe("Custom metadata tags.").nullable().optional(),
|
|
11
11
|
cloud: z.string().describe("Storage cloud provider (aws, gcp, azure).").nullable(),
|
|
12
12
|
metric: z.string().describe("Distance metric (cosine, euclidean, dotproduct).").nullable().optional(),
|
|
13
13
|
region: z.string().describe("Cloud region location.").nullable(),
|
|
14
|
-
schema: z.
|
|
14
|
+
schema: z.record(z.string(), z.unknown()).describe("Filterable metadata fields.").nullable().optional(),
|
|
15
15
|
status: z.string().describe("Backup status (e.g., 'Ready', 'Initializing', 'Failed').").nullable(),
|
|
16
16
|
backup_id: z.string().describe("Unique identifier for the backup.").nullable(),
|
|
17
17
|
dimension: z.number().int().describe("Vector dimensions (1-20000).").nullable(),
|
|
@@ -22,8 +22,8 @@ const PineconeListProjectBackups_BackupModelSchema = z.object({
|
|
|
22
22
|
namespace_count: z.number().int().describe("Number of namespaces in backup.").nullable().optional(),
|
|
23
23
|
source_index_id: z.string().describe("ID of the originating index.").nullable(),
|
|
24
24
|
source_index_name: z.string().describe("Name of the originating index.").nullable()
|
|
25
|
-
}).describe("Model representing a single backup.");
|
|
26
|
-
const PineconeListProjectBackups_PaginationResponseSchema = z.object({ next: z.string().describe("Token for next page if available.").nullable().optional() }).describe("Pagination information for the response.");
|
|
25
|
+
}).passthrough().describe("Model representing a single backup.");
|
|
26
|
+
const PineconeListProjectBackups_PaginationResponseSchema = z.object({ next: z.string().describe("Token for next page if available.").nullable().optional() }).passthrough().describe("Pagination information for the response.");
|
|
27
27
|
const pineconeListProjectBackups = action("PINECONE_LIST_PROJECT_BACKUPS", {
|
|
28
28
|
slug: "pinecone-list-project-backups",
|
|
29
29
|
name: "List Project Backups",
|
|
@@ -32,7 +32,7 @@ const pineconeListProjectBackups = action("PINECONE_LIST_PROJECT_BACKUPS", {
|
|
|
32
32
|
output: z.object({
|
|
33
33
|
data: z.array(PineconeListProjectBackups_BackupModelSchema).describe("List of backup objects."),
|
|
34
34
|
pagination: PineconeListProjectBackups_PaginationResponseSchema.nullable().optional()
|
|
35
|
-
}).describe("Response model for listing project backups.")
|
|
35
|
+
}).passthrough().describe("Response model for listing project backups.")
|
|
36
36
|
});
|
|
37
37
|
//#endregion
|
|
38
38
|
export { pineconeListProjectBackups };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-project-backups.mjs","names":[],"sources":["../../src/actions/list-project-backups.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeListProjectBackupsInput = z.object({\n limit: z.number().int().describe(\"Number of results per page. Must be between 1 and 100. Default: 10.\").optional(),\n paginationToken: z.string().describe(\"Token for retrieving subsequent result pages. Obtained from the previous response.\").optional(),\n}).describe(\"Request model for listing backups across all indexes in a project.\");\nconst PineconeListProjectBackups_BackupModelSchema = z.object({\n name: z.string().describe(\"User-defined backup name.\").nullable().optional(),\n tags: z.
|
|
1
|
+
{"version":3,"file":"list-project-backups.mjs","names":[],"sources":["../../src/actions/list-project-backups.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeListProjectBackupsInput = z.object({\n limit: z.number().int().describe(\"Number of results per page. Must be between 1 and 100. Default: 10.\").optional(),\n paginationToken: z.string().describe(\"Token for retrieving subsequent result pages. Obtained from the previous response.\").optional(),\n}).describe(\"Request model for listing backups across all indexes in a project.\");\nconst PineconeListProjectBackups_BackupModelSchema = z.object({\n name: z.string().describe(\"User-defined backup name.\").nullable().optional(),\n tags: z.record(z.string(), z.unknown()).describe(\"Custom metadata tags.\").nullable().optional(),\n cloud: z.string().describe(\"Storage cloud provider (aws, gcp, azure).\").nullable(),\n metric: z.string().describe(\"Distance metric (cosine, euclidean, dotproduct).\").nullable().optional(),\n region: z.string().describe(\"Cloud region location.\").nullable(),\n schema: z.record(z.string(), z.unknown()).describe(\"Filterable metadata fields.\").nullable().optional(),\n status: z.string().describe(\"Backup status (e.g., 'Ready', 'Initializing', 'Failed').\").nullable(),\n backup_id: z.string().describe(\"Unique identifier for the backup.\").nullable(),\n dimension: z.number().int().describe(\"Vector dimensions (1-20000).\").nullable(),\n created_at: z.string().describe(\"ISO timestamp of backup creation.\").nullable(),\n size_bytes: z.number().int().describe(\"Backup size in bytes.\").nullable().optional(),\n description: z.string().describe(\"Context description for the backup.\").nullable().optional(),\n record_count: z.number().int().describe(\"Total records in backup.\").nullable().optional(),\n namespace_count: z.number().int().describe(\"Number of namespaces in backup.\").nullable().optional(),\n source_index_id: z.string().describe(\"ID of the originating index.\").nullable(),\n source_index_name: z.string().describe(\"Name of the originating index.\").nullable(),\n}).passthrough().describe(\"Model representing a single backup.\");\nconst PineconeListProjectBackups_PaginationResponseSchema = z.object({\n next: z.string().describe(\"Token for next page if available.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for the response.\");\nexport const PineconeListProjectBackupsOutput = z.object({\n data: z.array(PineconeListProjectBackups_BackupModelSchema).describe(\"List of backup objects.\"),\n pagination: PineconeListProjectBackups_PaginationResponseSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for listing project backups.\");\n\nexport const pineconeListProjectBackups = action(\"PINECONE_LIST_PROJECT_BACKUPS\", {\n slug: \"pinecone-list-project-backups\",\n name: \"List Project Backups\",\n description: \"Tool to list all backups for indexes in a Pinecone project. Use when you need to retrieve backup information across all project indexes. Supports pagination with limit and paginationToken parameters.\",\n input: PineconeListProjectBackupsInput,\n output: PineconeListProjectBackupsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO;CACtD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CACjH,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;AACtI,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,+CAA+C,EAAE,OAAO;CAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACjF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC/D,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACjG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC7E,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAC9E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC9E,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAC9E,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAC/D,MAAM,sDAAsD,EAAE,OAAO,EACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAMpE,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV8C,EAAE,OAAO;EACvD,MAAM,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,yBAAyB;EAC9F,YAAY,oDAAoD,SAAS,CAAC,CAAC,SAAS;CACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAOhB;AACV,CAAC"}
|
|
@@ -14,12 +14,12 @@ const PineconeListRestoreJobs_RestoreJobModelSchema = zod.z.object({
|
|
|
14
14
|
target_index_id: zod.z.string().describe("Unique identifier of the target index.").nullable(),
|
|
15
15
|
percent_complete: zod.z.number().int().describe("Progress percentage (0-100) of the restore operation.").nullable(),
|
|
16
16
|
target_index_name: zod.z.string().describe("Name of the target index being restored to.").nullable()
|
|
17
|
-
}).describe("Schema for a single restore job.");
|
|
18
|
-
const PineconeListRestoreJobs_PaginationResponseSchema = zod.z.object({ next: zod.z.string().describe("Token for retrieving the next page of results.").nullable().optional() }).describe("Pagination information for the result set.");
|
|
17
|
+
}).passthrough().describe("Schema for a single restore job.");
|
|
18
|
+
const PineconeListRestoreJobs_PaginationResponseSchema = zod.z.object({ next: zod.z.string().describe("Token for retrieving the next page of results.").nullable().optional() }).passthrough().describe("Pagination information for the result set.");
|
|
19
19
|
const PineconeListRestoreJobsOutput = zod.z.object({
|
|
20
20
|
data: zod.z.array(PineconeListRestoreJobs_RestoreJobModelSchema).describe("Array of RestoreJobModel objects."),
|
|
21
21
|
pagination: PineconeListRestoreJobs_PaginationResponseSchema.nullable().optional()
|
|
22
|
-
}).describe("Response schema for listing restore jobs.");
|
|
22
|
+
}).passthrough().describe("Response schema for listing restore jobs.");
|
|
23
23
|
const pineconeListRestoreJobs = require_action.action("PINECONE_LIST_RESTORE_JOBS", {
|
|
24
24
|
slug: "pinecone-list-restore-jobs",
|
|
25
25
|
name: "List Restore Jobs",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-restore-jobs.cjs","names":["z","action"],"sources":["../../src/actions/list-restore-jobs.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeListRestoreJobsInput = z.object({\n limit: z.number().int().describe(\"Number of results to return per page. Range: 1-100, Default: 10.\").optional(),\n paginationToken: z.string().describe(\"Token for retrieving the next page of results.\").optional(),\n}).describe(\"Request model for listing restore jobs. Supports pagination.\");\nconst PineconeListRestoreJobs_RestoreJobModelSchema = z.object({\n status: z.string().describe(\"Current status of the restore job (e.g., 'Completed').\").nullable(),\n backup_id: z.string().describe(\"ID of the backup being restored from.\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the restore job was created.\").nullable(),\n completed_at: z.string().describe(\"ISO 8601 timestamp when the restore job completed.\").nullable().optional(),\n restore_job_id: z.string().describe(\"Unique identifier for the restore job.\").nullable(),\n target_index_id: z.string().describe(\"Unique identifier of the target index.\").nullable(),\n percent_complete: z.number().int().describe(\"Progress percentage (0-100) of the restore operation.\").nullable(),\n target_index_name: z.string().describe(\"Name of the target index being restored to.\").nullable(),\n}).describe(\"Schema for a single restore job.\");\nconst PineconeListRestoreJobs_PaginationResponseSchema = z.object({\n next: z.string().describe(\"Token for retrieving the next page of results.\").nullable().optional(),\n}).describe(\"Pagination information for the result set.\");\nexport const PineconeListRestoreJobsOutput = z.object({\n data: z.array(PineconeListRestoreJobs_RestoreJobModelSchema).describe(\"Array of RestoreJobModel objects.\"),\n pagination: PineconeListRestoreJobs_PaginationResponseSchema.nullable().optional(),\n}).describe(\"Response schema for listing restore jobs.\");\n\nexport const pineconeListRestoreJobs = action(\"PINECONE_LIST_RESTORE_JOBS\", {\n slug: \"pinecone-list-restore-jobs\",\n name: \"List Restore Jobs\",\n description: \"Tool to list all restore jobs for a project with pagination support. Use when you need to view the status of restore operations or track restore progress.\",\n input: PineconeListRestoreJobsInput,\n output: PineconeListRestoreJobsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC9G,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAC/F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACjF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACjG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACvF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACxF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC9G,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,SAAS,kCAAkC;
|
|
1
|
+
{"version":3,"file":"list-restore-jobs.cjs","names":["z","action"],"sources":["../../src/actions/list-restore-jobs.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeListRestoreJobsInput = z.object({\n limit: z.number().int().describe(\"Number of results to return per page. Range: 1-100, Default: 10.\").optional(),\n paginationToken: z.string().describe(\"Token for retrieving the next page of results.\").optional(),\n}).describe(\"Request model for listing restore jobs. Supports pagination.\");\nconst PineconeListRestoreJobs_RestoreJobModelSchema = z.object({\n status: z.string().describe(\"Current status of the restore job (e.g., 'Completed').\").nullable(),\n backup_id: z.string().describe(\"ID of the backup being restored from.\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the restore job was created.\").nullable(),\n completed_at: z.string().describe(\"ISO 8601 timestamp when the restore job completed.\").nullable().optional(),\n restore_job_id: z.string().describe(\"Unique identifier for the restore job.\").nullable(),\n target_index_id: z.string().describe(\"Unique identifier of the target index.\").nullable(),\n percent_complete: z.number().int().describe(\"Progress percentage (0-100) of the restore operation.\").nullable(),\n target_index_name: z.string().describe(\"Name of the target index being restored to.\").nullable(),\n}).passthrough().describe(\"Schema for a single restore job.\");\nconst PineconeListRestoreJobs_PaginationResponseSchema = z.object({\n next: z.string().describe(\"Token for retrieving the next page of results.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for the result set.\");\nexport const PineconeListRestoreJobsOutput = z.object({\n data: z.array(PineconeListRestoreJobs_RestoreJobModelSchema).describe(\"Array of RestoreJobModel objects.\"),\n pagination: PineconeListRestoreJobs_PaginationResponseSchema.nullable().optional(),\n}).passthrough().describe(\"Response schema for listing restore jobs.\");\n\nexport const pineconeListRestoreJobs = action(\"PINECONE_LIST_RESTORE_JOBS\", {\n slug: \"pinecone-list-restore-jobs\",\n name: \"List Restore Jobs\",\n description: \"Tool to list all restore jobs for a project with pagination support. Use when you need to view the status of restore operations or track restore progress.\",\n input: PineconeListRestoreJobsInput,\n output: PineconeListRestoreJobsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC9G,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAC/F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACjF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACjG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACvF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACxF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC9G,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAAkC;AAC5D,MAAM,mDAAmDA,IAAAA,EAAE,OAAO,EAChE,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,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,mCAAmC;CACzG,YAAY,iDAAiD,SAAS,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAErE,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -15,11 +15,11 @@ declare const PineconeListRestoreJobsOutput: z.ZodObject<{
|
|
|
15
15
|
target_index_id: z.ZodNullable<z.ZodString>;
|
|
16
16
|
percent_complete: z.ZodNullable<z.ZodNumber>;
|
|
17
17
|
target_index_name: z.ZodNullable<z.ZodString>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>>;
|
|
19
19
|
pagination: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
20
20
|
next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
-
}, z.core.$
|
|
22
|
-
}, z.core.$
|
|
21
|
+
}, z.core.$loose>>>;
|
|
22
|
+
}, z.core.$loose>;
|
|
23
23
|
declare const pineconeListRestoreJobs: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
24
24
|
limit?: number | undefined;
|
|
25
25
|
paginationToken?: string | undefined;
|
|
@@ -15,11 +15,11 @@ declare const PineconeListRestoreJobsOutput: z.ZodObject<{
|
|
|
15
15
|
target_index_id: z.ZodNullable<z.ZodString>;
|
|
16
16
|
percent_complete: z.ZodNullable<z.ZodNumber>;
|
|
17
17
|
target_index_name: z.ZodNullable<z.ZodString>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>>;
|
|
19
19
|
pagination: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
20
20
|
next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
-
}, z.core.$
|
|
22
|
-
}, z.core.$
|
|
21
|
+
}, z.core.$loose>>>;
|
|
22
|
+
}, z.core.$loose>;
|
|
23
23
|
declare const pineconeListRestoreJobs: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
24
24
|
limit?: number | undefined;
|
|
25
25
|
paginationToken?: string | undefined;
|
|
@@ -14,8 +14,8 @@ const PineconeListRestoreJobs_RestoreJobModelSchema = z.object({
|
|
|
14
14
|
target_index_id: z.string().describe("Unique identifier of the target index.").nullable(),
|
|
15
15
|
percent_complete: z.number().int().describe("Progress percentage (0-100) of the restore operation.").nullable(),
|
|
16
16
|
target_index_name: z.string().describe("Name of the target index being restored to.").nullable()
|
|
17
|
-
}).describe("Schema for a single restore job.");
|
|
18
|
-
const PineconeListRestoreJobs_PaginationResponseSchema = z.object({ next: z.string().describe("Token for retrieving the next page of results.").nullable().optional() }).describe("Pagination information for the result set.");
|
|
17
|
+
}).passthrough().describe("Schema for a single restore job.");
|
|
18
|
+
const PineconeListRestoreJobs_PaginationResponseSchema = z.object({ next: z.string().describe("Token for retrieving the next page of results.").nullable().optional() }).passthrough().describe("Pagination information for the result set.");
|
|
19
19
|
const pineconeListRestoreJobs = action("PINECONE_LIST_RESTORE_JOBS", {
|
|
20
20
|
slug: "pinecone-list-restore-jobs",
|
|
21
21
|
name: "List Restore Jobs",
|
|
@@ -24,7 +24,7 @@ const pineconeListRestoreJobs = action("PINECONE_LIST_RESTORE_JOBS", {
|
|
|
24
24
|
output: z.object({
|
|
25
25
|
data: z.array(PineconeListRestoreJobs_RestoreJobModelSchema).describe("Array of RestoreJobModel objects."),
|
|
26
26
|
pagination: PineconeListRestoreJobs_PaginationResponseSchema.nullable().optional()
|
|
27
|
-
}).describe("Response schema for listing restore jobs.")
|
|
27
|
+
}).passthrough().describe("Response schema for listing restore jobs.")
|
|
28
28
|
});
|
|
29
29
|
//#endregion
|
|
30
30
|
export { pineconeListRestoreJobs };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-restore-jobs.mjs","names":[],"sources":["../../src/actions/list-restore-jobs.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeListRestoreJobsInput = z.object({\n limit: z.number().int().describe(\"Number of results to return per page. Range: 1-100, Default: 10.\").optional(),\n paginationToken: z.string().describe(\"Token for retrieving the next page of results.\").optional(),\n}).describe(\"Request model for listing restore jobs. Supports pagination.\");\nconst PineconeListRestoreJobs_RestoreJobModelSchema = z.object({\n status: z.string().describe(\"Current status of the restore job (e.g., 'Completed').\").nullable(),\n backup_id: z.string().describe(\"ID of the backup being restored from.\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the restore job was created.\").nullable(),\n completed_at: z.string().describe(\"ISO 8601 timestamp when the restore job completed.\").nullable().optional(),\n restore_job_id: z.string().describe(\"Unique identifier for the restore job.\").nullable(),\n target_index_id: z.string().describe(\"Unique identifier of the target index.\").nullable(),\n percent_complete: z.number().int().describe(\"Progress percentage (0-100) of the restore operation.\").nullable(),\n target_index_name: z.string().describe(\"Name of the target index being restored to.\").nullable(),\n}).describe(\"Schema for a single restore job.\");\nconst PineconeListRestoreJobs_PaginationResponseSchema = z.object({\n next: z.string().describe(\"Token for retrieving the next page of results.\").nullable().optional(),\n}).describe(\"Pagination information for the result set.\");\nexport const PineconeListRestoreJobsOutput = z.object({\n data: z.array(PineconeListRestoreJobs_RestoreJobModelSchema).describe(\"Array of RestoreJobModel objects.\"),\n pagination: PineconeListRestoreJobs_PaginationResponseSchema.nullable().optional(),\n}).describe(\"Response schema for listing restore jobs.\");\n\nexport const pineconeListRestoreJobs = action(\"PINECONE_LIST_RESTORE_JOBS\", {\n slug: \"pinecone-list-restore-jobs\",\n name: \"List Restore Jobs\",\n description: \"Tool to list all restore jobs for a project with pagination support. Use when you need to view the status of restore operations or track restore progress.\",\n input: PineconeListRestoreJobsInput,\n output: PineconeListRestoreJobsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC9G,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,gDAAgD,EAAE,OAAO;CAC7D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAC/F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACjF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACjG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACvF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACxF,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC9G,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,SAAS,kCAAkC;
|
|
1
|
+
{"version":3,"file":"list-restore-jobs.mjs","names":[],"sources":["../../src/actions/list-restore-jobs.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeListRestoreJobsInput = z.object({\n limit: z.number().int().describe(\"Number of results to return per page. Range: 1-100, Default: 10.\").optional(),\n paginationToken: z.string().describe(\"Token for retrieving the next page of results.\").optional(),\n}).describe(\"Request model for listing restore jobs. Supports pagination.\");\nconst PineconeListRestoreJobs_RestoreJobModelSchema = z.object({\n status: z.string().describe(\"Current status of the restore job (e.g., 'Completed').\").nullable(),\n backup_id: z.string().describe(\"ID of the backup being restored from.\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the restore job was created.\").nullable(),\n completed_at: z.string().describe(\"ISO 8601 timestamp when the restore job completed.\").nullable().optional(),\n restore_job_id: z.string().describe(\"Unique identifier for the restore job.\").nullable(),\n target_index_id: z.string().describe(\"Unique identifier of the target index.\").nullable(),\n percent_complete: z.number().int().describe(\"Progress percentage (0-100) of the restore operation.\").nullable(),\n target_index_name: z.string().describe(\"Name of the target index being restored to.\").nullable(),\n}).passthrough().describe(\"Schema for a single restore job.\");\nconst PineconeListRestoreJobs_PaginationResponseSchema = z.object({\n next: z.string().describe(\"Token for retrieving the next page of results.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for the result set.\");\nexport const PineconeListRestoreJobsOutput = z.object({\n data: z.array(PineconeListRestoreJobs_RestoreJobModelSchema).describe(\"Array of RestoreJobModel objects.\"),\n pagination: PineconeListRestoreJobs_PaginationResponseSchema.nullable().optional(),\n}).passthrough().describe(\"Response schema for listing restore jobs.\");\n\nexport const pineconeListRestoreJobs = action(\"PINECONE_LIST_RESTORE_JOBS\", {\n slug: \"pinecone-list-restore-jobs\",\n name: \"List Restore Jobs\",\n description: \"Tool to list all restore jobs for a project with pagination support. Use when you need to view the status of restore operations or track restore progress.\",\n input: PineconeListRestoreJobsInput,\n output: PineconeListRestoreJobsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC9G,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,gDAAgD,EAAE,OAAO;CAC7D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAC/F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACjF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACjG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACvF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACxF,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC9G,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAAkC;AAC5D,MAAM,mDAAmD,EAAE,OAAO,EAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAMtE,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV2C,EAAE,OAAO;EACpD,MAAM,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,mCAAmC;EACzG,YAAY,iDAAiD,SAAS,CAAC,CAAC,SAAS;CACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAOhB;AACV,CAAC"}
|
|
@@ -8,15 +8,15 @@ const PineconeListVectorsInput = zod.z.object({
|
|
|
8
8
|
index_host: zod.z.string().describe("The host URL of the Pinecone index to list vectors from. Get this from ListIndexes action."),
|
|
9
9
|
paginationToken: zod.z.string().describe("Pagination token to continue a previous listing operation.").optional()
|
|
10
10
|
}).describe("Request model for listing vector IDs. Supports pagination and filtering.");
|
|
11
|
-
const PineconeListVectors_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 list operation.");
|
|
12
|
-
const PineconeListVectors_ListItemSchema = zod.z.object({ id: zod.z.string().describe("Vector identifier.").nullable() }).describe("Represents a vector item in the list response.");
|
|
13
|
-
const PineconeListVectors_PaginationSchema = zod.z.object({ next: zod.z.string().describe("Pagination token for the next batch of results.").nullable().optional() }).describe("Pagination information for the list response.");
|
|
11
|
+
const PineconeListVectors_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 list operation.");
|
|
12
|
+
const PineconeListVectors_ListItemSchema = zod.z.object({ id: zod.z.string().describe("Vector identifier.").nullable() }).passthrough().describe("Represents a vector item in the list response.");
|
|
13
|
+
const PineconeListVectors_PaginationSchema = zod.z.object({ next: zod.z.string().describe("Pagination token for the next batch of results.").nullable().optional() }).passthrough().describe("Pagination information for the list response.");
|
|
14
14
|
const PineconeListVectorsOutput = zod.z.object({
|
|
15
15
|
usage: PineconeListVectors_UsageSchema.nullable().optional(),
|
|
16
16
|
vectors: zod.z.array(PineconeListVectors_ListItemSchema).describe("A list of vector IDs.").nullable().optional(),
|
|
17
17
|
namespace: zod.z.string().describe("The namespace of the vectors.").nullable().optional(),
|
|
18
18
|
pagination: PineconeListVectors_PaginationSchema.nullable().optional()
|
|
19
|
-
}).describe("Response model for listing vector IDs.");
|
|
19
|
+
}).passthrough().describe("Response model for listing vector IDs.");
|
|
20
20
|
const pineconeListVectors = require_action.action("PINECONE_LIST_VECTORS", {
|
|
21
21
|
slug: "pinecone-list-vectors",
|
|
22
22
|
name: "List Vectors",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-vectors.cjs","names":["z","action"],"sources":["../../src/actions/list-vectors.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeListVectorsInput = z.object({\n limit: z.number().int().describe(\"Maximum number of vector IDs to return per page. Default is 100.\").optional(),\n prefix: z.string().describe(\"Filter vector IDs by prefix. Does not accept values containing spaces.\").optional(),\n namespace: z.string().describe(\"The namespace to list 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 list vectors from. Get this from ListIndexes action.\"),\n paginationToken: z.string().describe(\"Pagination token to continue a previous listing operation.\").optional(),\n}).describe(\"Request model for listing vector IDs. Supports pagination and filtering.\");\nconst PineconeListVectors_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 list operation.\");\nconst PineconeListVectors_ListItemSchema = z.object({\n id: z.string().describe(\"Vector identifier.\").nullable(),\n}).describe(\"Represents a vector item in the list response.\");\nconst PineconeListVectors_PaginationSchema = z.object({\n next: z.string().describe(\"Pagination token for the next batch of results.\").nullable().optional(),\n}).describe(\"Pagination information for the list response.\");\nexport const PineconeListVectorsOutput = z.object({\n usage: PineconeListVectors_UsageSchema.nullable().optional(),\n vectors: z.array(PineconeListVectors_ListItemSchema).describe(\"A list of vector IDs.\").nullable().optional(),\n namespace: z.string().describe(\"The namespace of the vectors.\").nullable().optional(),\n pagination: PineconeListVectors_PaginationSchema.nullable().optional(),\n}).describe(\"Response model for listing vector IDs.\");\n\nexport const pineconeListVectors = action(\"PINECONE_LIST_VECTORS\", {\n slug: \"pinecone-list-vectors\",\n name: \"List Vectors\",\n description: \"Tool to list vector IDs in a Pinecone serverless index. Use when you need to browse or retrieve vector identifiers from a namespace. Supports filtering by prefix and pagination for large result sets.\",\n input: PineconeListVectorsInput,\n output: PineconeListVectorsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC9G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAC/G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CAC/H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F;CAC5H,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAM,kCAAkCA,IAAAA,EAAE,OAAO,EAC/C,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACnH,CAAC,CAAC,CAAC,SAAS,2CAA2C;
|
|
1
|
+
{"version":3,"file":"list-vectors.cjs","names":["z","action"],"sources":["../../src/actions/list-vectors.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeListVectorsInput = z.object({\n limit: z.number().int().describe(\"Maximum number of vector IDs to return per page. Default is 100.\").optional(),\n prefix: z.string().describe(\"Filter vector IDs by prefix. Does not accept values containing spaces.\").optional(),\n namespace: z.string().describe(\"The namespace to list 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 list vectors from. Get this from ListIndexes action.\"),\n paginationToken: z.string().describe(\"Pagination token to continue a previous listing operation.\").optional(),\n}).describe(\"Request model for listing vector IDs. Supports pagination and filtering.\");\nconst PineconeListVectors_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 list operation.\");\nconst PineconeListVectors_ListItemSchema = z.object({\n id: z.string().describe(\"Vector identifier.\").nullable(),\n}).passthrough().describe(\"Represents a vector item in the list response.\");\nconst PineconeListVectors_PaginationSchema = z.object({\n next: z.string().describe(\"Pagination token for the next batch of results.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for the list response.\");\nexport const PineconeListVectorsOutput = z.object({\n usage: PineconeListVectors_UsageSchema.nullable().optional(),\n vectors: z.array(PineconeListVectors_ListItemSchema).describe(\"A list of vector IDs.\").nullable().optional(),\n namespace: z.string().describe(\"The namespace of the vectors.\").nullable().optional(),\n pagination: PineconeListVectors_PaginationSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for listing vector IDs.\");\n\nexport const pineconeListVectors = action(\"PINECONE_LIST_VECTORS\", {\n slug: \"pinecone-list-vectors\",\n name: \"List Vectors\",\n description: \"Tool to list vector IDs in a Pinecone serverless index. Use when you need to browse or retrieve vector identifiers from a namespace. Supports filtering by prefix and pagination for large result sets.\",\n input: PineconeListVectorsInput,\n output: PineconeListVectorsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC9G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAC/G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CAC/H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F;CAC5H,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAM,kCAAkCA,IAAAA,EAAE,OAAO,EAC/C,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,2CAA2C;AACrE,MAAM,qCAAqCA,IAAAA,EAAE,OAAO,EAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,EACzD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAC1E,MAAM,uCAAuCA,IAAAA,EAAE,OAAO,EACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AACzE,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,OAAO,gCAAgC,SAAS,CAAC,CAAC,SAAS;CAC3D,SAASA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,YAAY,qCAAqC,SAAS,CAAC,CAAC,SAAS;AACvE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAElE,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -11,15 +11,15 @@ declare const PineconeListVectorsInput: z.ZodObject<{
|
|
|
11
11
|
declare const PineconeListVectorsOutput: z.ZodObject<{
|
|
12
12
|
usage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
13
13
|
readUnits: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>>>;
|
|
15
15
|
vectors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
16
16
|
id: z.ZodNullable<z.ZodString>;
|
|
17
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>>>>;
|
|
18
18
|
namespace: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
19
|
pagination: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
20
20
|
next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
-
}, z.core.$
|
|
22
|
-
}, z.core.$
|
|
21
|
+
}, z.core.$loose>>>;
|
|
22
|
+
}, z.core.$loose>;
|
|
23
23
|
declare const pineconeListVectors: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
24
24
|
index_host: string;
|
|
25
25
|
limit?: number | undefined;
|
|
@@ -11,15 +11,15 @@ declare const PineconeListVectorsInput: z.ZodObject<{
|
|
|
11
11
|
declare const PineconeListVectorsOutput: z.ZodObject<{
|
|
12
12
|
usage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
13
13
|
readUnits: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>>>;
|
|
15
15
|
vectors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
16
16
|
id: z.ZodNullable<z.ZodString>;
|
|
17
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>>>>;
|
|
18
18
|
namespace: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
19
|
pagination: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
20
20
|
next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
-
}, z.core.$
|
|
22
|
-
}, z.core.$
|
|
21
|
+
}, z.core.$loose>>>;
|
|
22
|
+
}, z.core.$loose>;
|
|
23
23
|
declare const pineconeListVectors: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
24
24
|
index_host: string;
|
|
25
25
|
limit?: number | undefined;
|
|
@@ -8,9 +8,9 @@ const PineconeListVectorsInput = z.object({
|
|
|
8
8
|
index_host: z.string().describe("The host URL of the Pinecone index to list vectors from. Get this from ListIndexes action."),
|
|
9
9
|
paginationToken: z.string().describe("Pagination token to continue a previous listing operation.").optional()
|
|
10
10
|
}).describe("Request model for listing vector IDs. Supports pagination and filtering.");
|
|
11
|
-
const PineconeListVectors_UsageSchema = z.object({ readUnits: z.number().int().describe("The number of read units consumed by this operation.").nullable().optional() }).describe("Usage information for the list operation.");
|
|
12
|
-
const PineconeListVectors_ListItemSchema = z.object({ id: z.string().describe("Vector identifier.").nullable() }).describe("Represents a vector item in the list response.");
|
|
13
|
-
const PineconeListVectors_PaginationSchema = z.object({ next: z.string().describe("Pagination token for the next batch of results.").nullable().optional() }).describe("Pagination information for the list response.");
|
|
11
|
+
const PineconeListVectors_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 list operation.");
|
|
12
|
+
const PineconeListVectors_ListItemSchema = z.object({ id: z.string().describe("Vector identifier.").nullable() }).passthrough().describe("Represents a vector item in the list response.");
|
|
13
|
+
const PineconeListVectors_PaginationSchema = z.object({ next: z.string().describe("Pagination token for the next batch of results.").nullable().optional() }).passthrough().describe("Pagination information for the list response.");
|
|
14
14
|
const pineconeListVectors = action("PINECONE_LIST_VECTORS", {
|
|
15
15
|
slug: "pinecone-list-vectors",
|
|
16
16
|
name: "List Vectors",
|
|
@@ -21,7 +21,7 @@ const pineconeListVectors = action("PINECONE_LIST_VECTORS", {
|
|
|
21
21
|
vectors: z.array(PineconeListVectors_ListItemSchema).describe("A list of vector IDs.").nullable().optional(),
|
|
22
22
|
namespace: z.string().describe("The namespace of the vectors.").nullable().optional(),
|
|
23
23
|
pagination: PineconeListVectors_PaginationSchema.nullable().optional()
|
|
24
|
-
}).describe("Response model for listing vector IDs.")
|
|
24
|
+
}).passthrough().describe("Response model for listing vector IDs.")
|
|
25
25
|
});
|
|
26
26
|
//#endregion
|
|
27
27
|
export { pineconeListVectors };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-vectors.mjs","names":[],"sources":["../../src/actions/list-vectors.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeListVectorsInput = z.object({\n limit: z.number().int().describe(\"Maximum number of vector IDs to return per page. Default is 100.\").optional(),\n prefix: z.string().describe(\"Filter vector IDs by prefix. Does not accept values containing spaces.\").optional(),\n namespace: z.string().describe(\"The namespace to list 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 list vectors from. Get this from ListIndexes action.\"),\n paginationToken: z.string().describe(\"Pagination token to continue a previous listing operation.\").optional(),\n}).describe(\"Request model for listing vector IDs. Supports pagination and filtering.\");\nconst PineconeListVectors_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 list operation.\");\nconst PineconeListVectors_ListItemSchema = z.object({\n id: z.string().describe(\"Vector identifier.\").nullable(),\n}).describe(\"Represents a vector item in the list response.\");\nconst PineconeListVectors_PaginationSchema = z.object({\n next: z.string().describe(\"Pagination token for the next batch of results.\").nullable().optional(),\n}).describe(\"Pagination information for the list response.\");\nexport const PineconeListVectorsOutput = z.object({\n usage: PineconeListVectors_UsageSchema.nullable().optional(),\n vectors: z.array(PineconeListVectors_ListItemSchema).describe(\"A list of vector IDs.\").nullable().optional(),\n namespace: z.string().describe(\"The namespace of the vectors.\").nullable().optional(),\n pagination: PineconeListVectors_PaginationSchema.nullable().optional(),\n}).describe(\"Response model for listing vector IDs.\");\n\nexport const pineconeListVectors = action(\"PINECONE_LIST_VECTORS\", {\n slug: \"pinecone-list-vectors\",\n name: \"List Vectors\",\n description: \"Tool to list vector IDs in a Pinecone serverless index. Use when you need to browse or retrieve vector identifiers from a namespace. Supports filtering by prefix and pagination for large result sets.\",\n input: PineconeListVectorsInput,\n output: PineconeListVectorsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC9G,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAC/G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CAC/H,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F;CAC5H,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAM,kCAAkC,EAAE,OAAO,EAC/C,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACnH,CAAC,CAAC,CAAC,SAAS,2CAA2C;
|
|
1
|
+
{"version":3,"file":"list-vectors.mjs","names":[],"sources":["../../src/actions/list-vectors.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeListVectorsInput = z.object({\n limit: z.number().int().describe(\"Maximum number of vector IDs to return per page. Default is 100.\").optional(),\n prefix: z.string().describe(\"Filter vector IDs by prefix. Does not accept values containing spaces.\").optional(),\n namespace: z.string().describe(\"The namespace to list 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 list vectors from. Get this from ListIndexes action.\"),\n paginationToken: z.string().describe(\"Pagination token to continue a previous listing operation.\").optional(),\n}).describe(\"Request model for listing vector IDs. Supports pagination and filtering.\");\nconst PineconeListVectors_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 list operation.\");\nconst PineconeListVectors_ListItemSchema = z.object({\n id: z.string().describe(\"Vector identifier.\").nullable(),\n}).passthrough().describe(\"Represents a vector item in the list response.\");\nconst PineconeListVectors_PaginationSchema = z.object({\n next: z.string().describe(\"Pagination token for the next batch of results.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for the list response.\");\nexport const PineconeListVectorsOutput = z.object({\n usage: PineconeListVectors_UsageSchema.nullable().optional(),\n vectors: z.array(PineconeListVectors_ListItemSchema).describe(\"A list of vector IDs.\").nullable().optional(),\n namespace: z.string().describe(\"The namespace of the vectors.\").nullable().optional(),\n pagination: PineconeListVectors_PaginationSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for listing vector IDs.\");\n\nexport const pineconeListVectors = action(\"PINECONE_LIST_VECTORS\", {\n slug: \"pinecone-list-vectors\",\n name: \"List Vectors\",\n description: \"Tool to list vector IDs in a Pinecone serverless index. Use when you need to browse or retrieve vector identifiers from a namespace. Supports filtering by prefix and pagination for large result sets.\",\n input: PineconeListVectorsInput,\n output: PineconeListVectorsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC9G,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAC/G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CAC/H,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F;CAC5H,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAM,kCAAkC,EAAE,OAAO,EAC/C,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AACrE,MAAM,qCAAqC,EAAE,OAAO,EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,EACzD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAC1E,MAAM,uCAAuC,EAAE,OAAO,EACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAQzE,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZuC,EAAE,OAAO;EAChD,OAAO,gCAAgC,SAAS,CAAC,CAAC,SAAS;EAC3D,SAAS,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,YAAY,qCAAqC,SAAS,CAAC,CAAC,SAAS;CACvE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAOhB;AACV,CAAC"}
|
|
@@ -4,7 +4,7 @@ let zod = require("zod");
|
|
|
4
4
|
const PineconeQueryVectorsInput = zod.z.object({
|
|
5
5
|
id: zod.z.string().describe("Vector ID to use as query. Maximum length is 512 characters. Required if vector is not provided.").optional(),
|
|
6
6
|
topK: zod.z.number().int().describe("Number of results to return per query. Must be between 1 and 10,000."),
|
|
7
|
-
filter: zod.z.
|
|
7
|
+
filter: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Metadata filtering criteria to constrain results. Example: {\"genre\": {\"$in\": [\"comedy\", \"documentary\"]}, \"year\": {\"$eq\": 2019}}").optional(),
|
|
8
8
|
vector: zod.z.array(zod.z.number()).describe("Query vector values matching index dimensionality. Length must be between 1 and 20,000. Required if id is not provided.").optional(),
|
|
9
9
|
indexHost: zod.z.string().describe("The host URL of the Pinecone index to query. Get this from the list indexes operation."),
|
|
10
10
|
namespace: zod.z.string().describe("The namespace to search. If omitted, searches the default namespace.").optional(),
|
|
@@ -15,23 +15,23 @@ const PineconeQueryVectorsInput = zod.z.object({
|
|
|
15
15
|
includeValues: zod.z.boolean().default(false).describe("Whether to include vector data in the response. Default is false.").optional(),
|
|
16
16
|
includeMetadata: zod.z.boolean().default(false).describe("Whether to include metadata in the response. Default is false.").optional()
|
|
17
17
|
}).describe("Request model for querying vectors in Pinecone index.");
|
|
18
|
-
const PineconeQueryVectors_UsageSchema = zod.z.object({ readUnits: zod.z.number().int().describe("Consumed read capacity units.").nullable().optional() }).describe("Usage information for the query.");
|
|
18
|
+
const PineconeQueryVectors_UsageSchema = zod.z.object({ readUnits: zod.z.number().int().describe("Consumed read capacity units.").nullable().optional() }).passthrough().describe("Usage information for the query.");
|
|
19
19
|
const PineconeQueryVectors_SparseValuesSchema = zod.z.object({
|
|
20
20
|
values: zod.z.array(zod.z.number()).describe("Values of sparse vector."),
|
|
21
21
|
indices: zod.z.array(zod.z.number().int()).describe("Indices of sparse vector.")
|
|
22
|
-
}).describe("Sparse values in response.");
|
|
22
|
+
}).passthrough().describe("Sparse values in response.");
|
|
23
23
|
const PineconeQueryVectors_ScoredVectorSchema = zod.z.object({
|
|
24
24
|
id: zod.z.string().describe("Unique vector identifier.").nullable(),
|
|
25
25
|
score: zod.z.number().describe("Similarity score. Higher values indicate greater resemblance.").nullable().optional(),
|
|
26
26
|
values: zod.z.array(zod.z.number()).describe("Vector data, included if includeValues was set to true in the request.").nullable().optional(),
|
|
27
|
-
metadata: zod.z.
|
|
27
|
+
metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Associated metadata, included if includeMetadata was set to true in the request.").nullable().optional(),
|
|
28
28
|
sparseValues: PineconeQueryVectors_SparseValuesSchema.nullable().optional()
|
|
29
|
-
}).describe("A scored vector match from the query.");
|
|
29
|
+
}).passthrough().describe("A scored vector match from the query.");
|
|
30
30
|
const PineconeQueryVectorsOutput = zod.z.object({
|
|
31
31
|
usage: PineconeQueryVectors_UsageSchema.nullable().optional(),
|
|
32
32
|
matches: zod.z.array(PineconeQueryVectors_ScoredVectorSchema).describe("Matching vectors ordered by similarity score, from most to least similar.").nullable().optional(),
|
|
33
33
|
namespace: zod.z.string().describe("The namespace that was searched.").nullable().optional()
|
|
34
|
-
}).describe("Response model for vector query results.");
|
|
34
|
+
}).passthrough().describe("Response model for vector query results.");
|
|
35
35
|
const pineconeQueryVectors = require_action.action("PINECONE_QUERY_VECTORS", {
|
|
36
36
|
slug: "pinecone-query-vectors",
|
|
37
37
|
name: "Query Vectors",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"query-vectors.cjs","names":["z","action"],"sources":["../../src/actions/query-vectors.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeQueryVectorsInput = z.object({\n id: z.string().describe(\"Vector ID to use as query. Maximum length is 512 characters. Required if vector is not provided.\").optional(),\n topK: z.number().int().describe(\"Number of results to return per query. Must be between 1 and 10,000.\"),\n filter: z.
|
|
1
|
+
{"version":3,"file":"query-vectors.cjs","names":["z","action"],"sources":["../../src/actions/query-vectors.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeQueryVectorsInput = z.object({\n id: z.string().describe(\"Vector ID to use as query. Maximum length is 512 characters. Required if vector is not provided.\").optional(),\n topK: z.number().int().describe(\"Number of results to return per query. Must be between 1 and 10,000.\"),\n filter: z.record(z.string(), z.unknown()).describe(\"Metadata filtering criteria to constrain results. Example: {\\\"genre\\\": {\\\"$in\\\": [\\\"comedy\\\", \\\"documentary\\\"]}, \\\"year\\\": {\\\"$eq\\\": 2019}}\").optional(),\n vector: z.array(z.number()).describe(\"Query vector values matching index dimensionality. Length must be between 1 and 20,000. Required if id is not provided.\").optional(),\n indexHost: z.string().describe(\"The host URL of the Pinecone index to query. Get this from the list indexes operation.\"),\n namespace: z.string().describe(\"The namespace to search. If omitted, searches the default namespace.\").optional(),\n sparseVector: z.object({\n values: z.array(z.number()).describe(\"Array of values for sparse vector. Must match length of indices array.\"),\n indices: z.array(z.number().int()).describe(\"Array of indices for sparse vector. Must have 1-1000 items.\"),\n}).describe(\"Sparse vector representation.\").optional(),\n includeValues: z.boolean().default(false).describe(\"Whether to include vector data in the response. Default is false.\").optional(),\n includeMetadata: z.boolean().default(false).describe(\"Whether to include metadata in the response. Default is false.\").optional(),\n}).describe(\"Request model for querying vectors in Pinecone index.\");\nconst PineconeQueryVectors_UsageSchema = z.object({\n readUnits: z.number().int().describe(\"Consumed read capacity units.\").nullable().optional(),\n}).passthrough().describe(\"Usage information for the query.\");\nconst PineconeQueryVectors_SparseValuesSchema = z.object({\n values: z.array(z.number()).describe(\"Values of sparse vector.\"),\n indices: z.array(z.number().int()).describe(\"Indices of sparse vector.\"),\n}).passthrough().describe(\"Sparse values in response.\");\nconst PineconeQueryVectors_ScoredVectorSchema = z.object({\n id: z.string().describe(\"Unique vector identifier.\").nullable(),\n score: z.number().describe(\"Similarity score. Higher values indicate greater resemblance.\").nullable().optional(),\n values: z.array(z.number()).describe(\"Vector data, included if includeValues was set to true in the request.\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Associated metadata, included if includeMetadata was set to true in the request.\").nullable().optional(),\n sparseValues: PineconeQueryVectors_SparseValuesSchema.nullable().optional(),\n}).passthrough().describe(\"A scored vector match from the query.\");\nexport const PineconeQueryVectorsOutput = z.object({\n usage: PineconeQueryVectors_UsageSchema.nullable().optional(),\n matches: z.array(PineconeQueryVectors_ScoredVectorSchema).describe(\"Matching vectors ordered by similarity score, from most to least similar.\").nullable().optional(),\n namespace: z.string().describe(\"The namespace that was searched.\").nullable().optional(),\n}).passthrough().describe(\"Response model for vector query results.\");\n\nexport const pineconeQueryVectors = action(\"PINECONE_QUERY_VECTORS\", {\n slug: \"pinecone-query-vectors\",\n name: \"Query Vectors\",\n description: \"Tool to perform semantic search within a Pinecone index using a query vector. Retrieves IDs and similarity scores of the most similar items, ordered from most to least similar. Either vector or id parameter must be provided.\",\n input: PineconeQueryVectorsInput,\n output: PineconeQueryVectorsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;CACrI,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sEAAsE;CACtG,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6IAA6I,CAAC,CAAC,SAAS;CAC3M,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yHAAyH,CAAC,CAAC,SAAS;CACzK,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF;CACvH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAChH,cAAcA,IAAAA,EAAE,OAAO;EACvB,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wEAAwE;EAC7G,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,6DAA6D;CAC3G,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACpD,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CACjI,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;AAClI,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,mCAAmCA,IAAAA,EAAE,OAAO,EAChD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAAkC;AAC5D,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0BAA0B;CAC/D,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,2BAA2B;AACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4BAA4B;AACtD,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAC9D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7J,cAAc,wCAAwC,SAAS,CAAC,CAAC,SAAS;AAC5E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AACjE,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,OAAO,iCAAiC,SAAS,CAAC,CAAC,SAAS;CAC5D,SAASA,IAAAA,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpK,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAEpE,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -4,7 +4,7 @@ import { z } from "zod";
|
|
|
4
4
|
declare const PineconeQueryVectorsInput: z.ZodObject<{
|
|
5
5
|
id: z.ZodOptional<z.ZodString>;
|
|
6
6
|
topK: z.ZodNumber;
|
|
7
|
-
filter: z.ZodOptional<z.
|
|
7
|
+
filter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
8
8
|
vector: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
9
9
|
indexHost: z.ZodString;
|
|
10
10
|
namespace: z.ZodOptional<z.ZodString>;
|
|
@@ -18,24 +18,24 @@ declare const PineconeQueryVectorsInput: z.ZodObject<{
|
|
|
18
18
|
declare const PineconeQueryVectorsOutput: z.ZodObject<{
|
|
19
19
|
usage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
20
20
|
readUnits: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
|
-
}, z.core.$
|
|
21
|
+
}, z.core.$loose>>>;
|
|
22
22
|
matches: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
23
23
|
id: z.ZodNullable<z.ZodString>;
|
|
24
24
|
score: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
25
25
|
values: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
|
|
26
|
-
metadata: z.ZodOptional<z.ZodNullable<z.
|
|
26
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
27
27
|
sparseValues: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
28
28
|
values: z.ZodArray<z.ZodNumber>;
|
|
29
29
|
indices: z.ZodArray<z.ZodNumber>;
|
|
30
|
-
}, z.core.$
|
|
31
|
-
}, z.core.$
|
|
30
|
+
}, z.core.$loose>>>;
|
|
31
|
+
}, z.core.$loose>>>>;
|
|
32
32
|
namespace: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
-
}, z.core.$
|
|
33
|
+
}, z.core.$loose>;
|
|
34
34
|
declare const pineconeQueryVectors: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
35
35
|
topK: number;
|
|
36
36
|
indexHost: string;
|
|
37
37
|
id?: string | undefined;
|
|
38
|
-
filter?: Record<string,
|
|
38
|
+
filter?: Record<string, unknown> | undefined;
|
|
39
39
|
vector?: number[] | undefined;
|
|
40
40
|
namespace?: string | undefined;
|
|
41
41
|
sparseVector?: {
|
|
@@ -4,7 +4,7 @@ import { z } from "zod";
|
|
|
4
4
|
declare const PineconeQueryVectorsInput: z.ZodObject<{
|
|
5
5
|
id: z.ZodOptional<z.ZodString>;
|
|
6
6
|
topK: z.ZodNumber;
|
|
7
|
-
filter: z.ZodOptional<z.
|
|
7
|
+
filter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
8
8
|
vector: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
9
9
|
indexHost: z.ZodString;
|
|
10
10
|
namespace: z.ZodOptional<z.ZodString>;
|
|
@@ -18,24 +18,24 @@ declare const PineconeQueryVectorsInput: z.ZodObject<{
|
|
|
18
18
|
declare const PineconeQueryVectorsOutput: z.ZodObject<{
|
|
19
19
|
usage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
20
20
|
readUnits: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
|
-
}, z.core.$
|
|
21
|
+
}, z.core.$loose>>>;
|
|
22
22
|
matches: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
23
23
|
id: z.ZodNullable<z.ZodString>;
|
|
24
24
|
score: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
25
25
|
values: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
|
|
26
|
-
metadata: z.ZodOptional<z.ZodNullable<z.
|
|
26
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
27
27
|
sparseValues: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
28
28
|
values: z.ZodArray<z.ZodNumber>;
|
|
29
29
|
indices: z.ZodArray<z.ZodNumber>;
|
|
30
|
-
}, z.core.$
|
|
31
|
-
}, z.core.$
|
|
30
|
+
}, z.core.$loose>>>;
|
|
31
|
+
}, z.core.$loose>>>>;
|
|
32
32
|
namespace: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
-
}, z.core.$
|
|
33
|
+
}, z.core.$loose>;
|
|
34
34
|
declare const pineconeQueryVectors: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
35
35
|
topK: number;
|
|
36
36
|
indexHost: string;
|
|
37
37
|
id?: string | undefined;
|
|
38
|
-
filter?: Record<string,
|
|
38
|
+
filter?: Record<string, unknown> | undefined;
|
|
39
39
|
vector?: number[] | undefined;
|
|
40
40
|
namespace?: string | undefined;
|
|
41
41
|
sparseVector?: {
|
|
@@ -4,7 +4,7 @@ import { z } from "zod";
|
|
|
4
4
|
const PineconeQueryVectorsInput = z.object({
|
|
5
5
|
id: z.string().describe("Vector ID to use as query. Maximum length is 512 characters. Required if vector is not provided.").optional(),
|
|
6
6
|
topK: z.number().int().describe("Number of results to return per query. Must be between 1 and 10,000."),
|
|
7
|
-
filter: z.
|
|
7
|
+
filter: z.record(z.string(), z.unknown()).describe("Metadata filtering criteria to constrain results. Example: {\"genre\": {\"$in\": [\"comedy\", \"documentary\"]}, \"year\": {\"$eq\": 2019}}").optional(),
|
|
8
8
|
vector: z.array(z.number()).describe("Query vector values matching index dimensionality. Length must be between 1 and 20,000. Required if id is not provided.").optional(),
|
|
9
9
|
indexHost: z.string().describe("The host URL of the Pinecone index to query. Get this from the list indexes operation."),
|
|
10
10
|
namespace: z.string().describe("The namespace to search. If omitted, searches the default namespace.").optional(),
|
|
@@ -15,18 +15,18 @@ const PineconeQueryVectorsInput = z.object({
|
|
|
15
15
|
includeValues: z.boolean().default(false).describe("Whether to include vector data in the response. Default is false.").optional(),
|
|
16
16
|
includeMetadata: z.boolean().default(false).describe("Whether to include metadata in the response. Default is false.").optional()
|
|
17
17
|
}).describe("Request model for querying vectors in Pinecone index.");
|
|
18
|
-
const PineconeQueryVectors_UsageSchema = z.object({ readUnits: z.number().int().describe("Consumed read capacity units.").nullable().optional() }).describe("Usage information for the query.");
|
|
18
|
+
const PineconeQueryVectors_UsageSchema = z.object({ readUnits: z.number().int().describe("Consumed read capacity units.").nullable().optional() }).passthrough().describe("Usage information for the query.");
|
|
19
19
|
const PineconeQueryVectors_SparseValuesSchema = z.object({
|
|
20
20
|
values: z.array(z.number()).describe("Values of sparse vector."),
|
|
21
21
|
indices: z.array(z.number().int()).describe("Indices of sparse vector.")
|
|
22
|
-
}).describe("Sparse values in response.");
|
|
22
|
+
}).passthrough().describe("Sparse values in response.");
|
|
23
23
|
const PineconeQueryVectors_ScoredVectorSchema = z.object({
|
|
24
24
|
id: z.string().describe("Unique vector identifier.").nullable(),
|
|
25
25
|
score: z.number().describe("Similarity score. Higher values indicate greater resemblance.").nullable().optional(),
|
|
26
26
|
values: z.array(z.number()).describe("Vector data, included if includeValues was set to true in the request.").nullable().optional(),
|
|
27
|
-
metadata: z.
|
|
27
|
+
metadata: z.record(z.string(), z.unknown()).describe("Associated metadata, included if includeMetadata was set to true in the request.").nullable().optional(),
|
|
28
28
|
sparseValues: PineconeQueryVectors_SparseValuesSchema.nullable().optional()
|
|
29
|
-
}).describe("A scored vector match from the query.");
|
|
29
|
+
}).passthrough().describe("A scored vector match from the query.");
|
|
30
30
|
const pineconeQueryVectors = action("PINECONE_QUERY_VECTORS", {
|
|
31
31
|
slug: "pinecone-query-vectors",
|
|
32
32
|
name: "Query Vectors",
|
|
@@ -36,7 +36,7 @@ const pineconeQueryVectors = action("PINECONE_QUERY_VECTORS", {
|
|
|
36
36
|
usage: PineconeQueryVectors_UsageSchema.nullable().optional(),
|
|
37
37
|
matches: z.array(PineconeQueryVectors_ScoredVectorSchema).describe("Matching vectors ordered by similarity score, from most to least similar.").nullable().optional(),
|
|
38
38
|
namespace: z.string().describe("The namespace that was searched.").nullable().optional()
|
|
39
|
-
}).describe("Response model for vector query results.")
|
|
39
|
+
}).passthrough().describe("Response model for vector query results.")
|
|
40
40
|
});
|
|
41
41
|
//#endregion
|
|
42
42
|
export { pineconeQueryVectors };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"query-vectors.mjs","names":[],"sources":["../../src/actions/query-vectors.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeQueryVectorsInput = z.object({\n id: z.string().describe(\"Vector ID to use as query. Maximum length is 512 characters. Required if vector is not provided.\").optional(),\n topK: z.number().int().describe(\"Number of results to return per query. Must be between 1 and 10,000.\"),\n filter: z.
|
|
1
|
+
{"version":3,"file":"query-vectors.mjs","names":[],"sources":["../../src/actions/query-vectors.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeQueryVectorsInput = z.object({\n id: z.string().describe(\"Vector ID to use as query. Maximum length is 512 characters. Required if vector is not provided.\").optional(),\n topK: z.number().int().describe(\"Number of results to return per query. Must be between 1 and 10,000.\"),\n filter: z.record(z.string(), z.unknown()).describe(\"Metadata filtering criteria to constrain results. Example: {\\\"genre\\\": {\\\"$in\\\": [\\\"comedy\\\", \\\"documentary\\\"]}, \\\"year\\\": {\\\"$eq\\\": 2019}}\").optional(),\n vector: z.array(z.number()).describe(\"Query vector values matching index dimensionality. Length must be between 1 and 20,000. Required if id is not provided.\").optional(),\n indexHost: z.string().describe(\"The host URL of the Pinecone index to query. Get this from the list indexes operation.\"),\n namespace: z.string().describe(\"The namespace to search. If omitted, searches the default namespace.\").optional(),\n sparseVector: z.object({\n values: z.array(z.number()).describe(\"Array of values for sparse vector. Must match length of indices array.\"),\n indices: z.array(z.number().int()).describe(\"Array of indices for sparse vector. Must have 1-1000 items.\"),\n}).describe(\"Sparse vector representation.\").optional(),\n includeValues: z.boolean().default(false).describe(\"Whether to include vector data in the response. Default is false.\").optional(),\n includeMetadata: z.boolean().default(false).describe(\"Whether to include metadata in the response. Default is false.\").optional(),\n}).describe(\"Request model for querying vectors in Pinecone index.\");\nconst PineconeQueryVectors_UsageSchema = z.object({\n readUnits: z.number().int().describe(\"Consumed read capacity units.\").nullable().optional(),\n}).passthrough().describe(\"Usage information for the query.\");\nconst PineconeQueryVectors_SparseValuesSchema = z.object({\n values: z.array(z.number()).describe(\"Values of sparse vector.\"),\n indices: z.array(z.number().int()).describe(\"Indices of sparse vector.\"),\n}).passthrough().describe(\"Sparse values in response.\");\nconst PineconeQueryVectors_ScoredVectorSchema = z.object({\n id: z.string().describe(\"Unique vector identifier.\").nullable(),\n score: z.number().describe(\"Similarity score. Higher values indicate greater resemblance.\").nullable().optional(),\n values: z.array(z.number()).describe(\"Vector data, included if includeValues was set to true in the request.\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Associated metadata, included if includeMetadata was set to true in the request.\").nullable().optional(),\n sparseValues: PineconeQueryVectors_SparseValuesSchema.nullable().optional(),\n}).passthrough().describe(\"A scored vector match from the query.\");\nexport const PineconeQueryVectorsOutput = z.object({\n usage: PineconeQueryVectors_UsageSchema.nullable().optional(),\n matches: z.array(PineconeQueryVectors_ScoredVectorSchema).describe(\"Matching vectors ordered by similarity score, from most to least similar.\").nullable().optional(),\n namespace: z.string().describe(\"The namespace that was searched.\").nullable().optional(),\n}).passthrough().describe(\"Response model for vector query results.\");\n\nexport const pineconeQueryVectors = action(\"PINECONE_QUERY_VECTORS\", {\n slug: \"pinecone-query-vectors\",\n name: \"Query Vectors\",\n description: \"Tool to perform semantic search within a Pinecone index using a query vector. Retrieves IDs and similarity scores of the most similar items, ordered from most to least similar. Either vector or id parameter must be provided.\",\n input: PineconeQueryVectorsInput,\n output: PineconeQueryVectorsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO;CAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;CACrI,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sEAAsE;CACtG,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6IAA6I,CAAC,CAAC,SAAS;CAC3M,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yHAAyH,CAAC,CAAC,SAAS;CACzK,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF;CACvH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAChH,cAAc,EAAE,OAAO;EACvB,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wEAAwE;EAC7G,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,6DAA6D;CAC3G,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACpD,eAAe,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CACjI,iBAAiB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;AAClI,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,mCAAmC,EAAE,OAAO,EAChD,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAAkC;AAC5D,MAAM,0CAA0C,EAAE,OAAO;CACvD,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0BAA0B;CAC/D,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,2BAA2B;AACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4BAA4B;AACtD,MAAM,0CAA0C,EAAE,OAAO;CACvD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAC9D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7J,cAAc,wCAAwC,SAAS,CAAC,CAAC,SAAS;AAC5E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAOjE,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,MAAM,uCAAuC,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpK,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAOhB;AACV,CAAC"}
|