@keystrokehq/pinecone 0.1.0 → 0.1.2
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/README.md +1 -1
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/cancel-bulk-import.cjs.map +1 -1
- package/dist/actions/cancel-bulk-import.d.cts +9 -3
- package/dist/actions/cancel-bulk-import.d.cts.map +1 -1
- package/dist/actions/cancel-bulk-import.d.mts +9 -3
- package/dist/actions/cancel-bulk-import.d.mts.map +1 -1
- package/dist/actions/cancel-bulk-import.mjs.map +1 -1
- package/dist/actions/chat-assistant.cjs.map +1 -1
- package/dist/actions/chat-assistant.d.cts +71 -3
- package/dist/actions/chat-assistant.d.cts.map +1 -1
- package/dist/actions/chat-assistant.d.mts +71 -3
- package/dist/actions/chat-assistant.d.mts.map +1 -1
- package/dist/actions/chat-assistant.mjs.map +1 -1
- package/dist/actions/chat-completion-assistant.cjs +3 -3
- package/dist/actions/chat-completion-assistant.cjs.map +1 -1
- package/dist/actions/chat-completion-assistant.d.cts +41 -3
- package/dist/actions/chat-completion-assistant.d.cts.map +1 -1
- package/dist/actions/chat-completion-assistant.d.mts +41 -3
- package/dist/actions/chat-completion-assistant.d.mts.map +1 -1
- package/dist/actions/chat-completion-assistant.mjs +3 -3
- package/dist/actions/chat-completion-assistant.mjs.map +1 -1
- package/dist/actions/configure-index.cjs +7 -7
- package/dist/actions/configure-index.cjs.map +1 -1
- package/dist/actions/configure-index.d.cts +58 -3
- package/dist/actions/configure-index.d.cts.map +1 -1
- package/dist/actions/configure-index.d.mts +58 -3
- package/dist/actions/configure-index.d.mts.map +1 -1
- package/dist/actions/configure-index.mjs +7 -7
- package/dist/actions/configure-index.mjs.map +1 -1
- package/dist/actions/create-assistant.cjs +4 -4
- package/dist/actions/create-assistant.cjs.map +1 -1
- package/dist/actions/create-assistant.d.cts +27 -3
- package/dist/actions/create-assistant.d.cts.map +1 -1
- package/dist/actions/create-assistant.d.mts +27 -3
- package/dist/actions/create-assistant.d.mts.map +1 -1
- package/dist/actions/create-assistant.mjs +4 -4
- package/dist/actions/create-assistant.mjs.map +1 -1
- package/dist/actions/create-backup.cjs.map +1 -1
- package/dist/actions/create-backup.d.cts +23 -3
- package/dist/actions/create-backup.d.cts.map +1 -1
- package/dist/actions/create-backup.d.mts +23 -3
- package/dist/actions/create-backup.d.mts.map +1 -1
- package/dist/actions/create-backup.mjs.map +1 -1
- package/dist/actions/create-index-for-model.cjs +2 -2
- package/dist/actions/create-index-for-model.cjs.map +1 -1
- package/dist/actions/create-index-for-model.d.cts +64 -3
- package/dist/actions/create-index-for-model.d.cts.map +1 -1
- package/dist/actions/create-index-for-model.d.mts +64 -3
- package/dist/actions/create-index-for-model.d.mts.map +1 -1
- package/dist/actions/create-index-for-model.mjs +2 -2
- package/dist/actions/create-index-for-model.mjs.map +1 -1
- package/dist/actions/create-index-from-backup.cjs.map +1 -1
- package/dist/actions/create-index-from-backup.d.cts +16 -3
- package/dist/actions/create-index-from-backup.d.cts.map +1 -1
- package/dist/actions/create-index-from-backup.d.mts +16 -3
- package/dist/actions/create-index-from-backup.d.mts.map +1 -1
- package/dist/actions/create-index-from-backup.mjs.map +1 -1
- package/dist/actions/create-index.cjs.map +1 -1
- package/dist/actions/create-index.d.cts +69 -3
- package/dist/actions/create-index.d.cts.map +1 -1
- package/dist/actions/create-index.d.mts +69 -3
- package/dist/actions/create-index.d.mts.map +1 -1
- package/dist/actions/create-index.mjs.map +1 -1
- package/dist/actions/create-namespace.cjs +1 -1
- package/dist/actions/create-namespace.cjs.map +1 -1
- package/dist/actions/create-namespace.d.cts +22 -3
- package/dist/actions/create-namespace.d.cts.map +1 -1
- package/dist/actions/create-namespace.d.mts +22 -3
- package/dist/actions/create-namespace.d.mts.map +1 -1
- package/dist/actions/create-namespace.mjs +1 -1
- package/dist/actions/create-namespace.mjs.map +1 -1
- package/dist/actions/delete-assistant.cjs.map +1 -1
- package/dist/actions/delete-assistant.d.cts +10 -3
- package/dist/actions/delete-assistant.d.cts.map +1 -1
- package/dist/actions/delete-assistant.d.mts +10 -3
- package/dist/actions/delete-assistant.d.mts.map +1 -1
- package/dist/actions/delete-assistant.mjs.map +1 -1
- package/dist/actions/delete-backup.cjs.map +1 -1
- package/dist/actions/delete-backup.d.cts +10 -3
- package/dist/actions/delete-backup.d.cts.map +1 -1
- package/dist/actions/delete-backup.d.mts +10 -3
- package/dist/actions/delete-backup.d.mts.map +1 -1
- package/dist/actions/delete-backup.mjs.map +1 -1
- package/dist/actions/delete-file.cjs.map +1 -1
- package/dist/actions/delete-file.d.cts +14 -3
- package/dist/actions/delete-file.d.cts.map +1 -1
- package/dist/actions/delete-file.d.mts +14 -3
- package/dist/actions/delete-file.d.mts.map +1 -1
- package/dist/actions/delete-file.mjs.map +1 -1
- package/dist/actions/delete-index.cjs.map +1 -1
- package/dist/actions/delete-index.d.cts +10 -3
- package/dist/actions/delete-index.d.cts.map +1 -1
- package/dist/actions/delete-index.d.mts +10 -3
- package/dist/actions/delete-index.d.mts.map +1 -1
- package/dist/actions/delete-index.mjs.map +1 -1
- package/dist/actions/delete-namespace.cjs.map +1 -1
- package/dist/actions/delete-namespace.d.cts +9 -3
- package/dist/actions/delete-namespace.d.cts.map +1 -1
- package/dist/actions/delete-namespace.d.mts +9 -3
- package/dist/actions/delete-namespace.d.mts.map +1 -1
- package/dist/actions/delete-namespace.mjs.map +1 -1
- package/dist/actions/delete-vectors.cjs.map +1 -1
- package/dist/actions/delete-vectors.d.cts +15 -3
- package/dist/actions/delete-vectors.d.cts.map +1 -1
- package/dist/actions/delete-vectors.d.mts +15 -3
- package/dist/actions/delete-vectors.d.mts.map +1 -1
- package/dist/actions/delete-vectors.mjs.map +1 -1
- package/dist/actions/describe-backup.cjs.map +1 -1
- package/dist/actions/describe-backup.d.cts +24 -3
- package/dist/actions/describe-backup.d.cts.map +1 -1
- package/dist/actions/describe-backup.d.mts +24 -3
- package/dist/actions/describe-backup.d.mts.map +1 -1
- package/dist/actions/describe-backup.mjs.map +1 -1
- package/dist/actions/describe-bulk-import.cjs.map +1 -1
- package/dist/actions/describe-bulk-import.d.cts +18 -3
- package/dist/actions/describe-bulk-import.d.cts.map +1 -1
- package/dist/actions/describe-bulk-import.d.mts +18 -3
- package/dist/actions/describe-bulk-import.d.mts.map +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 +26 -3
- package/dist/actions/describe-file.d.cts.map +1 -1
- package/dist/actions/describe-file.d.mts +26 -3
- package/dist/actions/describe-file.d.mts.map +1 -1
- package/dist/actions/describe-file.mjs +2 -2
- package/dist/actions/describe-file.mjs.map +1 -1
- package/dist/actions/describe-index-stats.cjs.map +1 -1
- package/dist/actions/describe-index-stats.d.cts +18 -3
- package/dist/actions/describe-index-stats.d.cts.map +1 -1
- package/dist/actions/describe-index-stats.d.mts +18 -3
- package/dist/actions/describe-index-stats.d.mts.map +1 -1
- package/dist/actions/describe-index-stats.mjs.map +1 -1
- package/dist/actions/describe-index.cjs +14 -14
- package/dist/actions/describe-index.cjs.map +1 -1
- package/dist/actions/describe-index.d.cts +46 -3
- package/dist/actions/describe-index.d.cts.map +1 -1
- package/dist/actions/describe-index.d.mts +46 -3
- package/dist/actions/describe-index.d.mts.map +1 -1
- package/dist/actions/describe-index.mjs +14 -14
- package/dist/actions/describe-index.mjs.map +1 -1
- package/dist/actions/describe-namespace.cjs.map +1 -1
- package/dist/actions/describe-namespace.d.cts +18 -3
- package/dist/actions/describe-namespace.d.cts.map +1 -1
- package/dist/actions/describe-namespace.d.mts +18 -3
- package/dist/actions/describe-namespace.d.mts.map +1 -1
- package/dist/actions/describe-namespace.mjs.map +1 -1
- package/dist/actions/describe-restore-job.cjs +6 -6
- package/dist/actions/describe-restore-job.cjs.map +1 -1
- package/dist/actions/describe-restore-job.d.cts +16 -3
- package/dist/actions/describe-restore-job.d.cts.map +1 -1
- package/dist/actions/describe-restore-job.d.mts +16 -3
- package/dist/actions/describe-restore-job.d.mts.map +1 -1
- package/dist/actions/describe-restore-job.mjs +6 -6
- package/dist/actions/describe-restore-job.mjs.map +1 -1
- package/dist/actions/embed.cjs +4 -4
- package/dist/actions/embed.cjs.map +1 -1
- package/dist/actions/embed.d.cts +41 -3
- package/dist/actions/embed.d.cts.map +1 -1
- package/dist/actions/embed.d.mts +41 -3
- package/dist/actions/embed.d.mts.map +1 -1
- package/dist/actions/embed.mjs +4 -4
- package/dist/actions/embed.mjs.map +1 -1
- package/dist/actions/fetch-vectors.cjs.map +1 -1
- package/dist/actions/fetch-vectors.d.cts +17 -3
- package/dist/actions/fetch-vectors.d.cts.map +1 -1
- package/dist/actions/fetch-vectors.d.mts +17 -3
- package/dist/actions/fetch-vectors.d.mts.map +1 -1
- 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 +17 -3
- package/dist/actions/get-assistant.d.cts.map +1 -1
- package/dist/actions/get-assistant.d.mts +17 -3
- package/dist/actions/get-assistant.d.mts.map +1 -1
- package/dist/actions/get-assistant.mjs +2 -2
- package/dist/actions/get-assistant.mjs.map +1 -1
- package/dist/actions/get-model.cjs +8 -8
- package/dist/actions/get-model.cjs.map +1 -1
- package/dist/actions/get-model.d.cts +31 -3
- package/dist/actions/get-model.d.cts.map +1 -1
- package/dist/actions/get-model.d.mts +31 -3
- package/dist/actions/get-model.d.mts.map +1 -1
- package/dist/actions/get-model.mjs +8 -8
- package/dist/actions/get-model.mjs.map +1 -1
- package/dist/actions/list-assistants.cjs +2 -2
- package/dist/actions/list-assistants.cjs.map +1 -1
- package/dist/actions/list-assistants.d.cts +22 -3
- package/dist/actions/list-assistants.d.cts.map +1 -1
- package/dist/actions/list-assistants.d.mts +22 -3
- package/dist/actions/list-assistants.d.mts.map +1 -1
- package/dist/actions/list-assistants.mjs +2 -2
- package/dist/actions/list-assistants.mjs.map +1 -1
- package/dist/actions/list-bulk-imports.cjs.map +1 -1
- package/dist/actions/list-bulk-imports.d.cts +25 -3
- package/dist/actions/list-bulk-imports.d.cts.map +1 -1
- package/dist/actions/list-bulk-imports.d.mts +25 -3
- package/dist/actions/list-bulk-imports.d.mts.map +1 -1
- package/dist/actions/list-bulk-imports.mjs.map +1 -1
- package/dist/actions/list-collections.cjs +1 -1
- package/dist/actions/list-collections.cjs.map +1 -1
- package/dist/actions/list-collections.d.cts +12 -3
- package/dist/actions/list-collections.d.cts.map +1 -1
- package/dist/actions/list-collections.d.mts +12 -3
- package/dist/actions/list-collections.d.mts.map +1 -1
- package/dist/actions/list-collections.mjs +1 -1
- package/dist/actions/list-collections.mjs.map +1 -1
- package/dist/actions/list-files.cjs +2 -2
- package/dist/actions/list-files.cjs.map +1 -1
- package/dist/actions/list-files.d.cts +33 -3
- package/dist/actions/list-files.d.cts.map +1 -1
- package/dist/actions/list-files.d.mts +33 -3
- package/dist/actions/list-files.d.mts.map +1 -1
- package/dist/actions/list-files.mjs +2 -2
- package/dist/actions/list-files.mjs.map +1 -1
- package/dist/actions/list-index-backups.cjs +8 -8
- package/dist/actions/list-index-backups.cjs.map +1 -1
- package/dist/actions/list-index-backups.d.cts +35 -3
- package/dist/actions/list-index-backups.d.cts.map +1 -1
- package/dist/actions/list-index-backups.d.mts +35 -3
- package/dist/actions/list-index-backups.d.mts.map +1 -1
- package/dist/actions/list-index-backups.mjs +8 -8
- package/dist/actions/list-index-backups.mjs.map +1 -1
- package/dist/actions/list-indexes.cjs +13 -13
- package/dist/actions/list-indexes.cjs.map +1 -1
- package/dist/actions/list-indexes.d.cts +33 -3
- package/dist/actions/list-indexes.d.cts.map +1 -1
- package/dist/actions/list-indexes.d.mts +33 -3
- package/dist/actions/list-indexes.d.mts.map +1 -1
- package/dist/actions/list-indexes.mjs +13 -13
- package/dist/actions/list-indexes.mjs.map +1 -1
- package/dist/actions/list-models.cjs.map +1 -1
- package/dist/actions/list-models.d.cts +33 -3
- package/dist/actions/list-models.d.cts.map +1 -1
- package/dist/actions/list-models.d.mts +33 -3
- package/dist/actions/list-models.d.mts.map +1 -1
- package/dist/actions/list-models.mjs.map +1 -1
- package/dist/actions/list-namespaces-operation.cjs.map +1 -1
- package/dist/actions/list-namespaces-operation.d.cts +30 -3
- package/dist/actions/list-namespaces-operation.d.cts.map +1 -1
- package/dist/actions/list-namespaces-operation.d.mts +30 -3
- package/dist/actions/list-namespaces-operation.d.mts.map +1 -1
- package/dist/actions/list-namespaces-operation.mjs.map +1 -1
- package/dist/actions/list-project-backups.cjs +8 -8
- package/dist/actions/list-project-backups.cjs.map +1 -1
- package/dist/actions/list-project-backups.d.cts +31 -3
- package/dist/actions/list-project-backups.d.cts.map +1 -1
- package/dist/actions/list-project-backups.d.mts +31 -3
- package/dist/actions/list-project-backups.d.mts.map +1 -1
- package/dist/actions/list-project-backups.mjs +8 -8
- package/dist/actions/list-project-backups.mjs.map +1 -1
- package/dist/actions/list-restore-jobs.cjs +7 -7
- package/dist/actions/list-restore-jobs.cjs.map +1 -1
- package/dist/actions/list-restore-jobs.d.cts +23 -3
- package/dist/actions/list-restore-jobs.d.cts.map +1 -1
- package/dist/actions/list-restore-jobs.d.mts +23 -3
- package/dist/actions/list-restore-jobs.d.mts.map +1 -1
- package/dist/actions/list-restore-jobs.mjs +7 -7
- package/dist/actions/list-restore-jobs.mjs.map +1 -1
- package/dist/actions/list-vectors.cjs +1 -1
- package/dist/actions/list-vectors.cjs.map +1 -1
- package/dist/actions/list-vectors.d.cts +26 -3
- package/dist/actions/list-vectors.d.cts.map +1 -1
- package/dist/actions/list-vectors.d.mts +26 -3
- package/dist/actions/list-vectors.d.mts.map +1 -1
- package/dist/actions/list-vectors.mjs +1 -1
- package/dist/actions/list-vectors.mjs.map +1 -1
- package/dist/actions/query-vectors.cjs +1 -1
- package/dist/actions/query-vectors.cjs.map +1 -1
- package/dist/actions/query-vectors.d.cts +44 -3
- package/dist/actions/query-vectors.d.cts.map +1 -1
- package/dist/actions/query-vectors.d.mts +44 -3
- package/dist/actions/query-vectors.d.mts.map +1 -1
- package/dist/actions/query-vectors.mjs +1 -1
- 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 +35 -3
- package/dist/actions/rerank.d.cts.map +1 -1
- package/dist/actions/rerank.d.mts +35 -3
- 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 +5 -5
- package/dist/actions/retrieve-context-assistant.cjs.map +1 -1
- package/dist/actions/retrieve-context-assistant.d.cts +47 -3
- package/dist/actions/retrieve-context-assistant.d.cts.map +1 -1
- package/dist/actions/retrieve-context-assistant.d.mts +47 -3
- package/dist/actions/retrieve-context-assistant.d.mts.map +1 -1
- package/dist/actions/retrieve-context-assistant.mjs +5 -5
- package/dist/actions/retrieve-context-assistant.mjs.map +1 -1
- package/dist/actions/search-records-namespace.cjs.map +1 -1
- package/dist/actions/search-records-namespace.d.cts +76 -3
- package/dist/actions/search-records-namespace.d.cts.map +1 -1
- package/dist/actions/search-records-namespace.d.mts +76 -3
- package/dist/actions/search-records-namespace.d.mts.map +1 -1
- 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 +22 -3
- package/dist/actions/start-bulk-import.d.cts.map +1 -1
- package/dist/actions/start-bulk-import.d.mts +22 -3
- package/dist/actions/start-bulk-import.d.mts.map +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 +1 -1
- package/dist/actions/update-assistant.cjs.map +1 -1
- package/dist/actions/update-assistant.d.cts +17 -3
- package/dist/actions/update-assistant.d.cts.map +1 -1
- package/dist/actions/update-assistant.d.mts +17 -3
- package/dist/actions/update-assistant.d.mts.map +1 -1
- package/dist/actions/update-assistant.mjs +1 -1
- package/dist/actions/update-assistant.mjs.map +1 -1
- package/dist/actions/update-vector.cjs.map +1 -1
- package/dist/actions/update-vector.d.cts +29 -3
- package/dist/actions/update-vector.d.cts.map +1 -1
- package/dist/actions/update-vector.d.mts +29 -3
- package/dist/actions/update-vector.d.mts.map +1 -1
- package/dist/actions/update-vector.mjs.map +1 -1
- package/dist/actions/upload-file.cjs +2 -2
- package/dist/actions/upload-file.cjs.map +1 -1
- package/dist/actions/upload-file.d.cts +47 -3
- package/dist/actions/upload-file.d.cts.map +1 -1
- package/dist/actions/upload-file.d.mts +47 -3
- package/dist/actions/upload-file.d.mts.map +1 -1
- package/dist/actions/upload-file.mjs +2 -2
- 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 +16 -3
- package/dist/actions/upsert-records-namespace.d.cts.map +1 -1
- package/dist/actions/upsert-records-namespace.d.mts +16 -3
- package/dist/actions/upsert-records-namespace.d.mts.map +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.map +1 -1
- package/dist/actions/upsert-vectors.d.cts +29 -3
- package/dist/actions/upsert-vectors.d.cts.map +1 -1
- package/dist/actions/upsert-vectors.d.mts +29 -3
- package/dist/actions/upsert-vectors.d.mts.map +1 -1
- package/dist/actions/upsert-vectors.mjs.map +1 -1
- package/dist/catalog.cjs +7 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +8 -0
- package/dist/catalog.d.mts +8 -0
- package/dist/catalog.mjs +7 -1
- package/dist/catalog.mjs.map +1 -1
- package/dist/execute.cjs +1 -1
- package/dist/execute.cjs.map +1 -1
- package/dist/execute.mjs +1 -1
- package/dist/execute.mjs.map +1 -1
- package/package.json +2 -2
package/dist/actions/embed.d.cts
CHANGED
|
@@ -1,9 +1,47 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/embed.d.ts
|
|
4
|
-
declare const PineconeEmbedInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PineconeEmbedInput: z.ZodObject<{
|
|
5
|
+
model: z.ZodString;
|
|
6
|
+
inputs: z.ZodArray<z.ZodObject<{
|
|
7
|
+
text: z.ZodString;
|
|
8
|
+
}, z.core.$strip>>;
|
|
9
|
+
parameters: z.ZodOptional<z.ZodObject<{
|
|
10
|
+
truncate: z.ZodOptional<z.ZodEnum<{
|
|
11
|
+
NONE: "NONE";
|
|
12
|
+
END: "END";
|
|
13
|
+
}>>;
|
|
14
|
+
input_type: z.ZodOptional<z.ZodEnum<{
|
|
15
|
+
query: "query";
|
|
16
|
+
passage: "passage";
|
|
17
|
+
}>>;
|
|
18
|
+
}, z.core.$strip>>;
|
|
19
|
+
}, z.core.$strip>;
|
|
20
|
+
declare const PineconeEmbedOutput: z.ZodObject<{
|
|
21
|
+
data: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
22
|
+
values: z.ZodArray<z.ZodNumber>;
|
|
23
|
+
vector_type: z.ZodNullable<z.ZodString>;
|
|
24
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
+
vector_type: z.ZodNullable<z.ZodString>;
|
|
26
|
+
sparse_tokens: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
27
|
+
sparse_values: z.ZodArray<z.ZodNumber>;
|
|
28
|
+
sparse_indices: z.ZodArray<z.ZodNumber>;
|
|
29
|
+
}, z.core.$strip>]>>;
|
|
30
|
+
model: z.ZodNullable<z.ZodString>;
|
|
31
|
+
usage: z.ZodNullable<z.ZodObject<{
|
|
32
|
+
total_tokens: z.ZodNullable<z.ZodNumber>;
|
|
33
|
+
}, z.core.$strip>>;
|
|
34
|
+
}, z.core.$strip>;
|
|
35
|
+
declare const pineconeEmbed: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
36
|
+
model: string;
|
|
37
|
+
inputs: {
|
|
38
|
+
text: string;
|
|
39
|
+
}[];
|
|
40
|
+
parameters?: {
|
|
41
|
+
truncate?: "NONE" | "END" | undefined;
|
|
42
|
+
input_type?: "query" | "passage" | undefined;
|
|
43
|
+
} | undefined;
|
|
44
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
45
|
//#endregion
|
|
8
46
|
export { pineconeEmbed };
|
|
9
47
|
//# sourceMappingURL=embed.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"embed.d.cts","names":[],"sources":["../../src/actions/embed.ts"],"mappings":";;;cAIa,kBAAA,
|
|
1
|
+
{"version":3,"file":"embed.d.cts","names":[],"sources":["../../src/actions/embed.ts"],"mappings":";;;cAIa,kBAAA,EAAkB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAuBlB,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAMnB,aAAA,gCAAa,wBAAA"}
|
package/dist/actions/embed.d.mts
CHANGED
|
@@ -1,9 +1,47 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/embed.d.ts
|
|
4
|
-
declare const PineconeEmbedInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PineconeEmbedInput: z.ZodObject<{
|
|
5
|
+
model: z.ZodString;
|
|
6
|
+
inputs: z.ZodArray<z.ZodObject<{
|
|
7
|
+
text: z.ZodString;
|
|
8
|
+
}, z.core.$strip>>;
|
|
9
|
+
parameters: z.ZodOptional<z.ZodObject<{
|
|
10
|
+
truncate: z.ZodOptional<z.ZodEnum<{
|
|
11
|
+
NONE: "NONE";
|
|
12
|
+
END: "END";
|
|
13
|
+
}>>;
|
|
14
|
+
input_type: z.ZodOptional<z.ZodEnum<{
|
|
15
|
+
query: "query";
|
|
16
|
+
passage: "passage";
|
|
17
|
+
}>>;
|
|
18
|
+
}, z.core.$strip>>;
|
|
19
|
+
}, z.core.$strip>;
|
|
20
|
+
declare const PineconeEmbedOutput: z.ZodObject<{
|
|
21
|
+
data: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
22
|
+
values: z.ZodArray<z.ZodNumber>;
|
|
23
|
+
vector_type: z.ZodNullable<z.ZodString>;
|
|
24
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
+
vector_type: z.ZodNullable<z.ZodString>;
|
|
26
|
+
sparse_tokens: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
27
|
+
sparse_values: z.ZodArray<z.ZodNumber>;
|
|
28
|
+
sparse_indices: z.ZodArray<z.ZodNumber>;
|
|
29
|
+
}, z.core.$strip>]>>;
|
|
30
|
+
model: z.ZodNullable<z.ZodString>;
|
|
31
|
+
usage: z.ZodNullable<z.ZodObject<{
|
|
32
|
+
total_tokens: z.ZodNullable<z.ZodNumber>;
|
|
33
|
+
}, z.core.$strip>>;
|
|
34
|
+
}, z.core.$strip>;
|
|
35
|
+
declare const pineconeEmbed: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
36
|
+
model: string;
|
|
37
|
+
inputs: {
|
|
38
|
+
text: string;
|
|
39
|
+
}[];
|
|
40
|
+
parameters?: {
|
|
41
|
+
truncate?: "NONE" | "END" | undefined;
|
|
42
|
+
input_type?: "query" | "passage" | undefined;
|
|
43
|
+
} | undefined;
|
|
44
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
45
|
//#endregion
|
|
8
46
|
export { pineconeEmbed };
|
|
9
47
|
//# sourceMappingURL=embed.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"embed.d.mts","names":[],"sources":["../../src/actions/embed.ts"],"mappings":";;;cAIa,kBAAA,
|
|
1
|
+
{"version":3,"file":"embed.d.mts","names":[],"sources":["../../src/actions/embed.ts"],"mappings":";;;cAIa,kBAAA,EAAkB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAuBlB,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAMnB,aAAA,gCAAa,wBAAA"}
|
package/dist/actions/embed.mjs
CHANGED
|
@@ -11,15 +11,15 @@ const PineconeEmbedInput = z.object({
|
|
|
11
11
|
}).describe("Request parameters for generating embeddings.");
|
|
12
12
|
const PineconeEmbed_DenseEmbeddingSchema = z.object({
|
|
13
13
|
values: z.array(z.number()).describe("The dense embedding values."),
|
|
14
|
-
vector_type: z.string().describe("Type of vector, always 'dense' for dense embeddings.")
|
|
14
|
+
vector_type: z.string().describe("Type of vector, always 'dense' for dense embeddings.").nullable()
|
|
15
15
|
}).describe("Dense embedding representation.");
|
|
16
16
|
const PineconeEmbed_SparseEmbeddingSchema = z.object({
|
|
17
|
-
vector_type: z.string().describe("Type of vector, always 'sparse' for sparse embeddings."),
|
|
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
21
|
}).describe("Sparse embedding representation.");
|
|
22
|
-
const PineconeEmbed_UsageStatsSchema = z.object({ total_tokens: z.number().int().describe("Total number of tokens processed.") }).describe("Usage statistics for the embedding request.");
|
|
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.");
|
|
23
23
|
const pineconeEmbed = action("PINECONE_EMBED", {
|
|
24
24
|
slug: "pinecone-embed",
|
|
25
25
|
name: "Generate Embeddings",
|
|
@@ -27,7 +27,7 @@ const pineconeEmbed = action("PINECONE_EMBED", {
|
|
|
27
27
|
input: PineconeEmbedInput,
|
|
28
28
|
output: z.object({
|
|
29
29
|
data: z.array(z.union([PineconeEmbed_DenseEmbeddingSchema, PineconeEmbed_SparseEmbeddingSchema])).describe("Array of embedding objects (dense or sparse)."),
|
|
30
|
-
model: z.string().describe("The model used to generate embeddings."),
|
|
30
|
+
model: z.string().describe("The model used to generate embeddings.").nullable(),
|
|
31
31
|
usage: PineconeEmbed_UsageStatsSchema.nullable()
|
|
32
32
|
}).describe("Response schema for embedding generation.")
|
|
33
33
|
});
|
|
@@ -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
|
|
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;CACvJ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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,SAAS,2CAOF;AACV,CAAC"}
|
|
@@ -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
|
|
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.object({}).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}).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,SAAS,4CAA4C;AACxD,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,OAAO,iCAAiC,SAAS,CAAC,CAAC,SAAS;CAC5D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjJ,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,SAAS,6CAA6C;AAEzD,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,23 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/fetch-vectors.d.ts
|
|
4
|
-
declare const PineconeFetchVectorsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PineconeFetchVectorsInput: z.ZodObject<{
|
|
5
|
+
ids: z.ZodArray<z.ZodString>;
|
|
6
|
+
namespace: z.ZodOptional<z.ZodString>;
|
|
7
|
+
index_host: z.ZodString;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const PineconeFetchVectorsOutput: z.ZodObject<{
|
|
10
|
+
usage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
11
|
+
readUnits: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
12
|
+
}, z.core.$strip>>>;
|
|
13
|
+
vectors: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
|
|
14
|
+
namespace: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
}, z.core.$strip>;
|
|
16
|
+
declare const pineconeFetchVectors: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
|
+
ids: string[];
|
|
18
|
+
index_host: string;
|
|
19
|
+
namespace?: string | undefined;
|
|
20
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
21
|
//#endregion
|
|
8
22
|
export { pineconeFetchVectors };
|
|
9
23
|
//# sourceMappingURL=fetch-vectors.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetch-vectors.d.cts","names":[],"sources":["../../src/actions/fetch-vectors.ts"],"mappings":";;;cAIa,yBAAA,
|
|
1
|
+
{"version":3,"file":"fetch-vectors.d.cts","names":[],"sources":["../../src/actions/fetch-vectors.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;cAQzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;cAM1B,oBAAA,gCAAoB,wBAAA"}
|
|
@@ -1,9 +1,23 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/fetch-vectors.d.ts
|
|
4
|
-
declare const PineconeFetchVectorsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PineconeFetchVectorsInput: z.ZodObject<{
|
|
5
|
+
ids: z.ZodArray<z.ZodString>;
|
|
6
|
+
namespace: z.ZodOptional<z.ZodString>;
|
|
7
|
+
index_host: z.ZodString;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const PineconeFetchVectorsOutput: z.ZodObject<{
|
|
10
|
+
usage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
11
|
+
readUnits: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
12
|
+
}, z.core.$strip>>>;
|
|
13
|
+
vectors: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
|
|
14
|
+
namespace: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
}, z.core.$strip>;
|
|
16
|
+
declare const pineconeFetchVectors: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
|
+
ids: string[];
|
|
18
|
+
index_host: string;
|
|
19
|
+
namespace?: string | undefined;
|
|
20
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
21
|
//#endregion
|
|
8
22
|
export { pineconeFetchVectors };
|
|
9
23
|
//# sourceMappingURL=fetch-vectors.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetch-vectors.d.mts","names":[],"sources":["../../src/actions/fetch-vectors.ts"],"mappings":";;;cAIa,yBAAA,
|
|
1
|
+
{"version":3,"file":"fetch-vectors.d.mts","names":[],"sources":["../../src/actions/fetch-vectors.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;cAQzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;cAM1B,oBAAA,gCAAoB,wBAAA"}
|
|
@@ -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
|
|
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.object({}).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}).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,SAAS,4CAA4C;AAOxD,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,CAAC,CAAC,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjJ,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,CAAC,CAAC,CAAC,SAAS,6CAOF;AACV,CAAC"}
|
|
@@ -7,8 +7,8 @@ const PineconeGetAssistantInput = zod.z.object({
|
|
|
7
7
|
}).describe("Request parameters for retrieving an assistant's status and details.");
|
|
8
8
|
const PineconeGetAssistantOutput = zod.z.object({
|
|
9
9
|
host: zod.z.string().describe("The host where the assistant is deployed.").nullable().optional(),
|
|
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 '-'."),
|
|
11
|
-
status: zod.z.string().describe("Current status of the assistant."),
|
|
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
|
+
status: zod.z.string().describe("Current status of the assistant.").nullable(),
|
|
12
12
|
metadata: zod.z.object({}).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(),
|
|
@@ -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
|
|
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.object({}).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}).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,IA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coneGetAssistantInput: z.ZodObject<{
|
|
5
|
+
api_version: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
6
|
+
assistant_name: z.ZodString;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const PineconeGetAssistantOutput: z.ZodObject<{
|
|
9
|
+
host: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
name: z.ZodNullable<z.ZodString>;
|
|
11
|
+
status: z.ZodNullable<z.ZodString>;
|
|
12
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
|
|
13
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
instructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
}, z.core.$strip>;
|
|
17
|
+
declare const pineconeGetAssistant: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
|
+
assistant_name: string;
|
|
19
|
+
api_version?: string | undefined;
|
|
20
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
21
|
//#endregion
|
|
8
22
|
export { pineconeGetAssistant };
|
|
9
23
|
//# sourceMappingURL=get-assistant.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-assistant.d.cts","names":[],"sources":["../../src/actions/get-assistant.ts"],"mappings":";;;cAIa,yBAAA,
|
|
1
|
+
{"version":3,"file":"get-assistant.d.cts","names":[],"sources":["../../src/actions/get-assistant.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAIzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;cAU1B,oBAAA,gCAAoB,wBAAA"}
|
|
@@ -1,9 +1,23 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-assistant.d.ts
|
|
4
|
-
declare const PineconeGetAssistantInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PineconeGetAssistantInput: z.ZodObject<{
|
|
5
|
+
api_version: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
6
|
+
assistant_name: z.ZodString;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const PineconeGetAssistantOutput: z.ZodObject<{
|
|
9
|
+
host: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
name: z.ZodNullable<z.ZodString>;
|
|
11
|
+
status: z.ZodNullable<z.ZodString>;
|
|
12
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
|
|
13
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
instructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
}, z.core.$strip>;
|
|
17
|
+
declare const pineconeGetAssistant: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
|
+
assistant_name: string;
|
|
19
|
+
api_version?: string | undefined;
|
|
20
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
21
|
//#endregion
|
|
8
22
|
export { pineconeGetAssistant };
|
|
9
23
|
//# sourceMappingURL=get-assistant.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-assistant.d.mts","names":[],"sources":["../../src/actions/get-assistant.ts"],"mappings":";;;cAIa,yBAAA,
|
|
1
|
+
{"version":3,"file":"get-assistant.d.mts","names":[],"sources":["../../src/actions/get-assistant.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAIzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;cAU1B,oBAAA,gCAAoB,wBAAA"}
|
|
@@ -10,8 +10,8 @@ const pineconeGetAssistant = action("PINECONE_GET_ASSISTANT", {
|
|
|
10
10
|
}).describe("Request parameters for retrieving an assistant's status and details."),
|
|
11
11
|
output: z.object({
|
|
12
12
|
host: z.string().describe("The host where the assistant is deployed.").nullable().optional(),
|
|
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 '-'."),
|
|
14
|
-
status: z.string().describe("Current status of the assistant."),
|
|
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
|
+
status: z.string().describe("Current status of the assistant.").nullable(),
|
|
15
15
|
metadata: z.object({}).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(),
|
|
@@ -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
|
|
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.object({}).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}).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,CAAC,CAAC,CAAC,CAAC,SAAS,6IAA6I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnM,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,SAAS,2EAOF;AACV,CAAC"}
|
|
@@ -16,7 +16,7 @@ const PineconeGetModel_SupportedParameterSchema = zod.z.object({
|
|
|
16
16
|
zod.z.boolean()
|
|
17
17
|
]).nullable().optional(),
|
|
18
18
|
required: zod.z.boolean().describe("Whether the parameter is required").nullable().optional(),
|
|
19
|
-
parameter: zod.z.string().describe("Parameter name"),
|
|
19
|
+
parameter: zod.z.string().describe("Parameter name").nullable(),
|
|
20
20
|
value_type: zod.z.string().describe("Value type (e.g., 'string', 'integer', 'boolean')").nullable().optional(),
|
|
21
21
|
allowed_values: zod.z.array(zod.z.union([
|
|
22
22
|
zod.z.string(),
|
|
@@ -26,16 +26,16 @@ const PineconeGetModel_SupportedParameterSchema = zod.z.object({
|
|
|
26
26
|
])).describe("List of allowed values for the parameter").nullable().optional()
|
|
27
27
|
}).describe("Model parameter with its constraints, types, and defaults.");
|
|
28
28
|
const PineconeGetModelOutput = zod.z.object({
|
|
29
|
-
type: zod.z.string().describe("Model type: 'embed' or 'rerank'"),
|
|
30
|
-
model: zod.z.string().describe("Model name"),
|
|
31
|
-
modality: zod.z.string().describe("Input modality (e.g., 'text')"),
|
|
29
|
+
type: zod.z.string().describe("Model type: 'embed' or 'rerank'").nullable(),
|
|
30
|
+
model: zod.z.string().describe("Model name").nullable(),
|
|
31
|
+
modality: zod.z.string().describe("Input modality (e.g., 'text')").nullable(),
|
|
32
32
|
vector_type: zod.z.string().describe("Vector type: 'dense' or 'sparse' for embedding models").nullable().optional(),
|
|
33
|
-
provider_name: zod.z.string().describe("Model provider"),
|
|
34
|
-
max_batch_size: zod.z.number().int().describe("Maximum number of sequences supported in a batch"),
|
|
33
|
+
provider_name: zod.z.string().describe("Model provider").nullable(),
|
|
34
|
+
max_batch_size: zod.z.number().int().describe("Maximum number of sequences supported in a batch").nullable(),
|
|
35
35
|
default_dimension: zod.z.number().int().describe("Default embedding dimension").nullable().optional(),
|
|
36
|
-
short_description: zod.z.string().describe("Summary of the model"),
|
|
36
|
+
short_description: zod.z.string().describe("Summary of the model").nullable(),
|
|
37
37
|
supported_metrics: zod.z.array(zod.z.string()).describe("Supported distance metrics: 'cosine', 'euclidean', 'dotproduct'").nullable().optional(),
|
|
38
|
-
max_sequence_length: zod.z.number().int().describe("Maximum tokens per sequence"),
|
|
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
41
|
}).describe("Response model containing detailed information about a model.");
|
|
@@ -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
|
|
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});\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sBAAsBA,IAAAA,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,kDAAkD;AACtI,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAE3E,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,37 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-model.d.ts
|
|
4
|
-
declare const PineconeGetModelInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PineconeGetModelInput: z.ZodObject<{
|
|
5
|
+
model_name: z.ZodString;
|
|
6
|
+
api_version: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const PineconeGetModelOutput: z.ZodObject<{
|
|
9
|
+
type: z.ZodNullable<z.ZodString>;
|
|
10
|
+
model: z.ZodNullable<z.ZodString>;
|
|
11
|
+
modality: z.ZodNullable<z.ZodString>;
|
|
12
|
+
vector_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
provider_name: z.ZodNullable<z.ZodString>;
|
|
14
|
+
max_batch_size: z.ZodNullable<z.ZodNumber>;
|
|
15
|
+
default_dimension: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
|
+
short_description: z.ZodNullable<z.ZodString>;
|
|
17
|
+
supported_metrics: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
18
|
+
max_sequence_length: z.ZodNullable<z.ZodNumber>;
|
|
19
|
+
supported_dimensions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
|
|
20
|
+
supported_parameters: z.ZodArray<z.ZodObject<{
|
|
21
|
+
max: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22
|
+
min: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
23
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
default: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean]>>>;
|
|
25
|
+
required: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
26
|
+
parameter: z.ZodNullable<z.ZodString>;
|
|
27
|
+
value_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
+
allowed_values: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean]>>>>;
|
|
29
|
+
}, z.core.$strip>>;
|
|
30
|
+
}, z.core.$strip>;
|
|
31
|
+
declare const pineconeGetModel: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
32
|
+
model_name: string;
|
|
33
|
+
api_version?: string | undefined;
|
|
34
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
35
|
//#endregion
|
|
8
36
|
export { pineconeGetModel };
|
|
9
37
|
//# sourceMappingURL=get-model.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-model.d.cts","names":[],"sources":["../../src/actions/get-model.ts"],"mappings":";;;cAIa,qBAAA,
|
|
1
|
+
{"version":3,"file":"get-model.d.cts","names":[],"sources":["../../src/actions/get-model.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;cAcrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAetB,gBAAA,gCAAgB,wBAAA"}
|
|
@@ -1,9 +1,37 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-model.d.ts
|
|
4
|
-
declare const PineconeGetModelInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PineconeGetModelInput: z.ZodObject<{
|
|
5
|
+
model_name: z.ZodString;
|
|
6
|
+
api_version: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const PineconeGetModelOutput: z.ZodObject<{
|
|
9
|
+
type: z.ZodNullable<z.ZodString>;
|
|
10
|
+
model: z.ZodNullable<z.ZodString>;
|
|
11
|
+
modality: z.ZodNullable<z.ZodString>;
|
|
12
|
+
vector_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
provider_name: z.ZodNullable<z.ZodString>;
|
|
14
|
+
max_batch_size: z.ZodNullable<z.ZodNumber>;
|
|
15
|
+
default_dimension: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
|
+
short_description: z.ZodNullable<z.ZodString>;
|
|
17
|
+
supported_metrics: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
18
|
+
max_sequence_length: z.ZodNullable<z.ZodNumber>;
|
|
19
|
+
supported_dimensions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
|
|
20
|
+
supported_parameters: z.ZodArray<z.ZodObject<{
|
|
21
|
+
max: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22
|
+
min: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
23
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
default: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean]>>>;
|
|
25
|
+
required: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
26
|
+
parameter: z.ZodNullable<z.ZodString>;
|
|
27
|
+
value_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
+
allowed_values: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean]>>>>;
|
|
29
|
+
}, z.core.$strip>>;
|
|
30
|
+
}, z.core.$strip>;
|
|
31
|
+
declare const pineconeGetModel: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
32
|
+
model_name: string;
|
|
33
|
+
api_version?: string | undefined;
|
|
34
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
35
|
//#endregion
|
|
8
36
|
export { pineconeGetModel };
|
|
9
37
|
//# sourceMappingURL=get-model.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-model.d.mts","names":[],"sources":["../../src/actions/get-model.ts"],"mappings":";;;cAIa,qBAAA,
|
|
1
|
+
{"version":3,"file":"get-model.d.mts","names":[],"sources":["../../src/actions/get-model.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;cAcrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAetB,gBAAA,gCAAgB,wBAAA"}
|
|
@@ -16,7 +16,7 @@ const PineconeGetModel_SupportedParameterSchema = z.object({
|
|
|
16
16
|
z.boolean()
|
|
17
17
|
]).nullable().optional(),
|
|
18
18
|
required: z.boolean().describe("Whether the parameter is required").nullable().optional(),
|
|
19
|
-
parameter: z.string().describe("Parameter name"),
|
|
19
|
+
parameter: z.string().describe("Parameter name").nullable(),
|
|
20
20
|
value_type: z.string().describe("Value type (e.g., 'string', 'integer', 'boolean')").nullable().optional(),
|
|
21
21
|
allowed_values: z.array(z.union([
|
|
22
22
|
z.string(),
|
|
@@ -31,16 +31,16 @@ const pineconeGetModel = action("PINECONE_GET_MODEL", {
|
|
|
31
31
|
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.",
|
|
32
32
|
input: PineconeGetModelInput,
|
|
33
33
|
output: z.object({
|
|
34
|
-
type: z.string().describe("Model type: 'embed' or 'rerank'"),
|
|
35
|
-
model: z.string().describe("Model name"),
|
|
36
|
-
modality: z.string().describe("Input modality (e.g., 'text')"),
|
|
34
|
+
type: z.string().describe("Model type: 'embed' or 'rerank'").nullable(),
|
|
35
|
+
model: z.string().describe("Model name").nullable(),
|
|
36
|
+
modality: z.string().describe("Input modality (e.g., 'text')").nullable(),
|
|
37
37
|
vector_type: z.string().describe("Vector type: 'dense' or 'sparse' for embedding models").nullable().optional(),
|
|
38
|
-
provider_name: z.string().describe("Model provider"),
|
|
39
|
-
max_batch_size: z.number().int().describe("Maximum number of sequences supported in a batch"),
|
|
38
|
+
provider_name: z.string().describe("Model provider").nullable(),
|
|
39
|
+
max_batch_size: z.number().int().describe("Maximum number of sequences supported in a batch").nullable(),
|
|
40
40
|
default_dimension: z.number().int().describe("Default embedding dimension").nullable().optional(),
|
|
41
|
-
short_description: z.string().describe("Summary of the model"),
|
|
41
|
+
short_description: z.string().describe("Summary of the model").nullable(),
|
|
42
42
|
supported_metrics: z.array(z.string()).describe("Supported distance metrics: 'cosine', 'euclidean', 'dotproduct'").nullable().optional(),
|
|
43
|
-
max_sequence_length: z.number().int().describe("Maximum tokens per sequence"),
|
|
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
46
|
}).describe("Response model containing detailed information about a model.")
|