@keystrokehq/pinecone 0.1.0 → 0.1.3

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.
Files changed (398) hide show
  1. package/README.md +1 -1
  2. package/dist/action.cjs.map +1 -1
  3. package/dist/action.mjs.map +1 -1
  4. package/dist/actions/cancel-bulk-import.cjs +1 -1
  5. package/dist/actions/cancel-bulk-import.cjs.map +1 -1
  6. package/dist/actions/cancel-bulk-import.d.cts +9 -3
  7. package/dist/actions/cancel-bulk-import.d.cts.map +1 -1
  8. package/dist/actions/cancel-bulk-import.d.mts +9 -3
  9. package/dist/actions/cancel-bulk-import.d.mts.map +1 -1
  10. package/dist/actions/cancel-bulk-import.mjs +1 -1
  11. package/dist/actions/cancel-bulk-import.mjs.map +1 -1
  12. package/dist/actions/chat-assistant.cjs +9 -9
  13. package/dist/actions/chat-assistant.cjs.map +1 -1
  14. package/dist/actions/chat-assistant.d.cts +72 -3
  15. package/dist/actions/chat-assistant.d.cts.map +1 -1
  16. package/dist/actions/chat-assistant.d.mts +72 -3
  17. package/dist/actions/chat-assistant.d.mts.map +1 -1
  18. package/dist/actions/chat-assistant.mjs +9 -9
  19. package/dist/actions/chat-assistant.mjs.map +1 -1
  20. package/dist/actions/chat-completion-assistant.cjs +9 -9
  21. package/dist/actions/chat-completion-assistant.cjs.map +1 -1
  22. package/dist/actions/chat-completion-assistant.d.cts +42 -3
  23. package/dist/actions/chat-completion-assistant.d.cts.map +1 -1
  24. package/dist/actions/chat-completion-assistant.d.mts +42 -3
  25. package/dist/actions/chat-completion-assistant.d.mts.map +1 -1
  26. package/dist/actions/chat-completion-assistant.mjs +9 -9
  27. package/dist/actions/chat-completion-assistant.mjs.map +1 -1
  28. package/dist/actions/configure-index.cjs +12 -12
  29. package/dist/actions/configure-index.cjs.map +1 -1
  30. package/dist/actions/configure-index.d.cts +58 -3
  31. package/dist/actions/configure-index.d.cts.map +1 -1
  32. package/dist/actions/configure-index.d.mts +58 -3
  33. package/dist/actions/configure-index.d.mts.map +1 -1
  34. package/dist/actions/configure-index.mjs +12 -12
  35. package/dist/actions/configure-index.mjs.map +1 -1
  36. package/dist/actions/create-assistant.cjs +7 -7
  37. package/dist/actions/create-assistant.cjs.map +1 -1
  38. package/dist/actions/create-assistant.d.cts +27 -3
  39. package/dist/actions/create-assistant.d.cts.map +1 -1
  40. package/dist/actions/create-assistant.d.mts +27 -3
  41. package/dist/actions/create-assistant.d.mts.map +1 -1
  42. package/dist/actions/create-assistant.mjs +7 -7
  43. package/dist/actions/create-assistant.mjs.map +1 -1
  44. package/dist/actions/create-backup.cjs +1 -1
  45. package/dist/actions/create-backup.cjs.map +1 -1
  46. package/dist/actions/create-backup.d.cts +23 -3
  47. package/dist/actions/create-backup.d.cts.map +1 -1
  48. package/dist/actions/create-backup.d.mts +23 -3
  49. package/dist/actions/create-backup.d.mts.map +1 -1
  50. package/dist/actions/create-backup.mjs +1 -1
  51. package/dist/actions/create-backup.mjs.map +1 -1
  52. package/dist/actions/create-index-for-model.cjs +11 -11
  53. package/dist/actions/create-index-for-model.cjs.map +1 -1
  54. package/dist/actions/create-index-for-model.d.cts +64 -3
  55. package/dist/actions/create-index-for-model.d.cts.map +1 -1
  56. package/dist/actions/create-index-for-model.d.mts +64 -3
  57. package/dist/actions/create-index-for-model.d.mts.map +1 -1
  58. package/dist/actions/create-index-for-model.mjs +11 -11
  59. package/dist/actions/create-index-for-model.mjs.map +1 -1
  60. package/dist/actions/create-index-from-backup.cjs +2 -2
  61. package/dist/actions/create-index-from-backup.cjs.map +1 -1
  62. package/dist/actions/create-index-from-backup.d.cts +16 -3
  63. package/dist/actions/create-index-from-backup.d.cts.map +1 -1
  64. package/dist/actions/create-index-from-backup.d.mts +16 -3
  65. package/dist/actions/create-index-from-backup.d.mts.map +1 -1
  66. package/dist/actions/create-index-from-backup.mjs +2 -2
  67. package/dist/actions/create-index-from-backup.mjs.map +1 -1
  68. package/dist/actions/create-index.cjs +2 -2
  69. package/dist/actions/create-index.cjs.map +1 -1
  70. package/dist/actions/create-index.d.cts +69 -3
  71. package/dist/actions/create-index.d.cts.map +1 -1
  72. package/dist/actions/create-index.d.mts +69 -3
  73. package/dist/actions/create-index.d.mts.map +1 -1
  74. package/dist/actions/create-index.mjs +2 -2
  75. package/dist/actions/create-index.mjs.map +1 -1
  76. package/dist/actions/create-namespace.cjs +5 -5
  77. package/dist/actions/create-namespace.cjs.map +1 -1
  78. package/dist/actions/create-namespace.d.cts +22 -3
  79. package/dist/actions/create-namespace.d.cts.map +1 -1
  80. package/dist/actions/create-namespace.d.mts +22 -3
  81. package/dist/actions/create-namespace.d.mts.map +1 -1
  82. package/dist/actions/create-namespace.mjs +5 -5
  83. package/dist/actions/create-namespace.mjs.map +1 -1
  84. package/dist/actions/delete-assistant.cjs +1 -1
  85. package/dist/actions/delete-assistant.cjs.map +1 -1
  86. package/dist/actions/delete-assistant.d.cts +10 -3
  87. package/dist/actions/delete-assistant.d.cts.map +1 -1
  88. package/dist/actions/delete-assistant.d.mts +10 -3
  89. package/dist/actions/delete-assistant.d.mts.map +1 -1
  90. package/dist/actions/delete-assistant.mjs +1 -1
  91. package/dist/actions/delete-assistant.mjs.map +1 -1
  92. package/dist/actions/delete-backup.cjs +1 -1
  93. package/dist/actions/delete-backup.cjs.map +1 -1
  94. package/dist/actions/delete-backup.d.cts +10 -3
  95. package/dist/actions/delete-backup.d.cts.map +1 -1
  96. package/dist/actions/delete-backup.d.mts +10 -3
  97. package/dist/actions/delete-backup.d.mts.map +1 -1
  98. package/dist/actions/delete-backup.mjs +1 -1
  99. package/dist/actions/delete-backup.mjs.map +1 -1
  100. package/dist/actions/delete-file.cjs +1 -1
  101. package/dist/actions/delete-file.cjs.map +1 -1
  102. package/dist/actions/delete-file.d.cts +14 -3
  103. package/dist/actions/delete-file.d.cts.map +1 -1
  104. package/dist/actions/delete-file.d.mts +14 -3
  105. package/dist/actions/delete-file.d.mts.map +1 -1
  106. package/dist/actions/delete-file.mjs +1 -1
  107. package/dist/actions/delete-file.mjs.map +1 -1
  108. package/dist/actions/delete-index.cjs +1 -1
  109. package/dist/actions/delete-index.cjs.map +1 -1
  110. package/dist/actions/delete-index.d.cts +10 -3
  111. package/dist/actions/delete-index.d.cts.map +1 -1
  112. package/dist/actions/delete-index.d.mts +10 -3
  113. package/dist/actions/delete-index.d.mts.map +1 -1
  114. package/dist/actions/delete-index.mjs +1 -1
  115. package/dist/actions/delete-index.mjs.map +1 -1
  116. package/dist/actions/delete-namespace.cjs +1 -1
  117. package/dist/actions/delete-namespace.cjs.map +1 -1
  118. package/dist/actions/delete-namespace.d.cts +9 -3
  119. package/dist/actions/delete-namespace.d.cts.map +1 -1
  120. package/dist/actions/delete-namespace.d.mts +9 -3
  121. package/dist/actions/delete-namespace.d.mts.map +1 -1
  122. package/dist/actions/delete-namespace.mjs +1 -1
  123. package/dist/actions/delete-namespace.mjs.map +1 -1
  124. package/dist/actions/delete-vectors.cjs +2 -2
  125. package/dist/actions/delete-vectors.cjs.map +1 -1
  126. package/dist/actions/delete-vectors.d.cts +15 -3
  127. package/dist/actions/delete-vectors.d.cts.map +1 -1
  128. package/dist/actions/delete-vectors.d.mts +15 -3
  129. package/dist/actions/delete-vectors.d.mts.map +1 -1
  130. package/dist/actions/delete-vectors.mjs +2 -2
  131. package/dist/actions/delete-vectors.mjs.map +1 -1
  132. package/dist/actions/describe-backup.cjs +3 -3
  133. package/dist/actions/describe-backup.cjs.map +1 -1
  134. package/dist/actions/describe-backup.d.cts +24 -3
  135. package/dist/actions/describe-backup.d.cts.map +1 -1
  136. package/dist/actions/describe-backup.d.mts +24 -3
  137. package/dist/actions/describe-backup.d.mts.map +1 -1
  138. package/dist/actions/describe-backup.mjs +3 -3
  139. package/dist/actions/describe-backup.mjs.map +1 -1
  140. package/dist/actions/describe-bulk-import.cjs +1 -1
  141. package/dist/actions/describe-bulk-import.cjs.map +1 -1
  142. package/dist/actions/describe-bulk-import.d.cts +18 -3
  143. package/dist/actions/describe-bulk-import.d.cts.map +1 -1
  144. package/dist/actions/describe-bulk-import.d.mts +18 -3
  145. package/dist/actions/describe-bulk-import.d.mts.map +1 -1
  146. package/dist/actions/describe-bulk-import.mjs +1 -1
  147. package/dist/actions/describe-bulk-import.mjs.map +1 -1
  148. package/dist/actions/describe-file.cjs +4 -4
  149. package/dist/actions/describe-file.cjs.map +1 -1
  150. package/dist/actions/describe-file.d.cts +26 -3
  151. package/dist/actions/describe-file.d.cts.map +1 -1
  152. package/dist/actions/describe-file.d.mts +26 -3
  153. package/dist/actions/describe-file.d.mts.map +1 -1
  154. package/dist/actions/describe-file.mjs +4 -4
  155. package/dist/actions/describe-file.mjs.map +1 -1
  156. package/dist/actions/describe-index-stats.cjs +2 -2
  157. package/dist/actions/describe-index-stats.cjs.map +1 -1
  158. package/dist/actions/describe-index-stats.d.cts +18 -3
  159. package/dist/actions/describe-index-stats.d.cts.map +1 -1
  160. package/dist/actions/describe-index-stats.d.mts +18 -3
  161. package/dist/actions/describe-index-stats.d.mts.map +1 -1
  162. package/dist/actions/describe-index-stats.mjs +2 -2
  163. package/dist/actions/describe-index-stats.mjs.map +1 -1
  164. package/dist/actions/describe-index.cjs +23 -23
  165. package/dist/actions/describe-index.cjs.map +1 -1
  166. package/dist/actions/describe-index.d.cts +46 -3
  167. package/dist/actions/describe-index.d.cts.map +1 -1
  168. package/dist/actions/describe-index.d.mts +46 -3
  169. package/dist/actions/describe-index.d.mts.map +1 -1
  170. package/dist/actions/describe-index.mjs +23 -23
  171. package/dist/actions/describe-index.mjs.map +1 -1
  172. package/dist/actions/describe-namespace.cjs +3 -3
  173. package/dist/actions/describe-namespace.cjs.map +1 -1
  174. package/dist/actions/describe-namespace.d.cts +18 -3
  175. package/dist/actions/describe-namespace.d.cts.map +1 -1
  176. package/dist/actions/describe-namespace.d.mts +18 -3
  177. package/dist/actions/describe-namespace.d.mts.map +1 -1
  178. package/dist/actions/describe-namespace.mjs +3 -3
  179. package/dist/actions/describe-namespace.mjs.map +1 -1
  180. package/dist/actions/describe-restore-job.cjs +7 -7
  181. package/dist/actions/describe-restore-job.cjs.map +1 -1
  182. package/dist/actions/describe-restore-job.d.cts +16 -3
  183. package/dist/actions/describe-restore-job.d.cts.map +1 -1
  184. package/dist/actions/describe-restore-job.d.mts +16 -3
  185. package/dist/actions/describe-restore-job.d.mts.map +1 -1
  186. package/dist/actions/describe-restore-job.mjs +7 -7
  187. package/dist/actions/describe-restore-job.mjs.map +1 -1
  188. package/dist/actions/embed.cjs +8 -8
  189. package/dist/actions/embed.cjs.map +1 -1
  190. package/dist/actions/embed.d.cts +42 -3
  191. package/dist/actions/embed.d.cts.map +1 -1
  192. package/dist/actions/embed.d.mts +42 -3
  193. package/dist/actions/embed.d.mts.map +1 -1
  194. package/dist/actions/embed.mjs +8 -8
  195. package/dist/actions/embed.mjs.map +1 -1
  196. package/dist/actions/fetch-vectors.cjs +3 -3
  197. package/dist/actions/fetch-vectors.cjs.map +1 -1
  198. package/dist/actions/fetch-vectors.d.cts +17 -3
  199. package/dist/actions/fetch-vectors.d.cts.map +1 -1
  200. package/dist/actions/fetch-vectors.d.mts +17 -3
  201. package/dist/actions/fetch-vectors.d.mts.map +1 -1
  202. package/dist/actions/fetch-vectors.mjs +3 -3
  203. package/dist/actions/fetch-vectors.mjs.map +1 -1
  204. package/dist/actions/get-assistant.cjs +4 -4
  205. package/dist/actions/get-assistant.cjs.map +1 -1
  206. package/dist/actions/get-assistant.d.cts +17 -3
  207. package/dist/actions/get-assistant.d.cts.map +1 -1
  208. package/dist/actions/get-assistant.d.mts +17 -3
  209. package/dist/actions/get-assistant.d.mts.map +1 -1
  210. package/dist/actions/get-assistant.mjs +4 -4
  211. package/dist/actions/get-assistant.mjs.map +1 -1
  212. package/dist/actions/get-model.cjs +10 -10
  213. package/dist/actions/get-model.cjs.map +1 -1
  214. package/dist/actions/get-model.d.cts +31 -3
  215. package/dist/actions/get-model.d.cts.map +1 -1
  216. package/dist/actions/get-model.d.mts +31 -3
  217. package/dist/actions/get-model.d.mts.map +1 -1
  218. package/dist/actions/get-model.mjs +10 -10
  219. package/dist/actions/get-model.mjs.map +1 -1
  220. package/dist/actions/list-assistants.cjs +6 -6
  221. package/dist/actions/list-assistants.cjs.map +1 -1
  222. package/dist/actions/list-assistants.d.cts +22 -3
  223. package/dist/actions/list-assistants.d.cts.map +1 -1
  224. package/dist/actions/list-assistants.d.mts +22 -3
  225. package/dist/actions/list-assistants.d.mts.map +1 -1
  226. package/dist/actions/list-assistants.mjs +6 -6
  227. package/dist/actions/list-assistants.mjs.map +1 -1
  228. package/dist/actions/list-bulk-imports.cjs +3 -3
  229. package/dist/actions/list-bulk-imports.cjs.map +1 -1
  230. package/dist/actions/list-bulk-imports.d.cts +25 -3
  231. package/dist/actions/list-bulk-imports.d.cts.map +1 -1
  232. package/dist/actions/list-bulk-imports.d.mts +25 -3
  233. package/dist/actions/list-bulk-imports.d.mts.map +1 -1
  234. package/dist/actions/list-bulk-imports.mjs +3 -3
  235. package/dist/actions/list-bulk-imports.mjs.map +1 -1
  236. package/dist/actions/list-collections.cjs +3 -3
  237. package/dist/actions/list-collections.cjs.map +1 -1
  238. package/dist/actions/list-collections.d.cts +12 -3
  239. package/dist/actions/list-collections.d.cts.map +1 -1
  240. package/dist/actions/list-collections.d.mts +12 -3
  241. package/dist/actions/list-collections.d.mts.map +1 -1
  242. package/dist/actions/list-collections.mjs +3 -3
  243. package/dist/actions/list-collections.mjs.map +1 -1
  244. package/dist/actions/list-files.cjs +6 -6
  245. package/dist/actions/list-files.cjs.map +1 -1
  246. package/dist/actions/list-files.d.cts +33 -3
  247. package/dist/actions/list-files.d.cts.map +1 -1
  248. package/dist/actions/list-files.d.mts +33 -3
  249. package/dist/actions/list-files.d.mts.map +1 -1
  250. package/dist/actions/list-files.mjs +6 -6
  251. package/dist/actions/list-files.mjs.map +1 -1
  252. package/dist/actions/list-index-backups.cjs +13 -13
  253. package/dist/actions/list-index-backups.cjs.map +1 -1
  254. package/dist/actions/list-index-backups.d.cts +35 -3
  255. package/dist/actions/list-index-backups.d.cts.map +1 -1
  256. package/dist/actions/list-index-backups.d.mts +35 -3
  257. package/dist/actions/list-index-backups.d.mts.map +1 -1
  258. package/dist/actions/list-index-backups.mjs +13 -13
  259. package/dist/actions/list-index-backups.mjs.map +1 -1
  260. package/dist/actions/list-indexes.cjs +21 -21
  261. package/dist/actions/list-indexes.cjs.map +1 -1
  262. package/dist/actions/list-indexes.d.cts +33 -3
  263. package/dist/actions/list-indexes.d.cts.map +1 -1
  264. package/dist/actions/list-indexes.d.mts +33 -3
  265. package/dist/actions/list-indexes.d.mts.map +1 -1
  266. package/dist/actions/list-indexes.mjs +21 -21
  267. package/dist/actions/list-indexes.mjs.map +1 -1
  268. package/dist/actions/list-models.cjs +3 -3
  269. package/dist/actions/list-models.cjs.map +1 -1
  270. package/dist/actions/list-models.d.cts +33 -3
  271. package/dist/actions/list-models.d.cts.map +1 -1
  272. package/dist/actions/list-models.d.mts +33 -3
  273. package/dist/actions/list-models.d.mts.map +1 -1
  274. package/dist/actions/list-models.mjs +3 -3
  275. package/dist/actions/list-models.mjs.map +1 -1
  276. package/dist/actions/list-namespaces-operation.cjs +5 -5
  277. package/dist/actions/list-namespaces-operation.cjs.map +1 -1
  278. package/dist/actions/list-namespaces-operation.d.cts +30 -3
  279. package/dist/actions/list-namespaces-operation.d.cts.map +1 -1
  280. package/dist/actions/list-namespaces-operation.d.mts +30 -3
  281. package/dist/actions/list-namespaces-operation.d.mts.map +1 -1
  282. package/dist/actions/list-namespaces-operation.mjs +5 -5
  283. package/dist/actions/list-namespaces-operation.mjs.map +1 -1
  284. package/dist/actions/list-project-backups.cjs +13 -13
  285. package/dist/actions/list-project-backups.cjs.map +1 -1
  286. package/dist/actions/list-project-backups.d.cts +31 -3
  287. package/dist/actions/list-project-backups.d.cts.map +1 -1
  288. package/dist/actions/list-project-backups.d.mts +31 -3
  289. package/dist/actions/list-project-backups.d.mts.map +1 -1
  290. package/dist/actions/list-project-backups.mjs +13 -13
  291. package/dist/actions/list-project-backups.mjs.map +1 -1
  292. package/dist/actions/list-restore-jobs.cjs +10 -10
  293. package/dist/actions/list-restore-jobs.cjs.map +1 -1
  294. package/dist/actions/list-restore-jobs.d.cts +23 -3
  295. package/dist/actions/list-restore-jobs.d.cts.map +1 -1
  296. package/dist/actions/list-restore-jobs.d.mts +23 -3
  297. package/dist/actions/list-restore-jobs.d.mts.map +1 -1
  298. package/dist/actions/list-restore-jobs.mjs +10 -10
  299. package/dist/actions/list-restore-jobs.mjs.map +1 -1
  300. package/dist/actions/list-vectors.cjs +4 -4
  301. package/dist/actions/list-vectors.cjs.map +1 -1
  302. package/dist/actions/list-vectors.d.cts +26 -3
  303. package/dist/actions/list-vectors.d.cts.map +1 -1
  304. package/dist/actions/list-vectors.d.mts +26 -3
  305. package/dist/actions/list-vectors.d.mts.map +1 -1
  306. package/dist/actions/list-vectors.mjs +4 -4
  307. package/dist/actions/list-vectors.mjs.map +1 -1
  308. package/dist/actions/query-vectors.cjs +7 -7
  309. package/dist/actions/query-vectors.cjs.map +1 -1
  310. package/dist/actions/query-vectors.d.cts +44 -3
  311. package/dist/actions/query-vectors.d.cts.map +1 -1
  312. package/dist/actions/query-vectors.d.mts +44 -3
  313. package/dist/actions/query-vectors.d.mts.map +1 -1
  314. package/dist/actions/query-vectors.mjs +7 -7
  315. package/dist/actions/query-vectors.mjs.map +1 -1
  316. package/dist/actions/rerank.cjs +7 -7
  317. package/dist/actions/rerank.cjs.map +1 -1
  318. package/dist/actions/rerank.d.cts +36 -3
  319. package/dist/actions/rerank.d.cts.map +1 -1
  320. package/dist/actions/rerank.d.mts +36 -3
  321. package/dist/actions/rerank.d.mts.map +1 -1
  322. package/dist/actions/rerank.mjs +7 -7
  323. package/dist/actions/rerank.mjs.map +1 -1
  324. package/dist/actions/retrieve-context-assistant.cjs +14 -14
  325. package/dist/actions/retrieve-context-assistant.cjs.map +1 -1
  326. package/dist/actions/retrieve-context-assistant.d.cts +48 -3
  327. package/dist/actions/retrieve-context-assistant.d.cts.map +1 -1
  328. package/dist/actions/retrieve-context-assistant.d.mts +48 -3
  329. package/dist/actions/retrieve-context-assistant.d.mts.map +1 -1
  330. package/dist/actions/retrieve-context-assistant.mjs +14 -14
  331. package/dist/actions/retrieve-context-assistant.mjs.map +1 -1
  332. package/dist/actions/search-records-namespace.cjs +7 -7
  333. package/dist/actions/search-records-namespace.cjs.map +1 -1
  334. package/dist/actions/search-records-namespace.d.cts +76 -3
  335. package/dist/actions/search-records-namespace.d.cts.map +1 -1
  336. package/dist/actions/search-records-namespace.d.mts +76 -3
  337. package/dist/actions/search-records-namespace.d.mts.map +1 -1
  338. package/dist/actions/search-records-namespace.mjs +7 -7
  339. package/dist/actions/search-records-namespace.mjs.map +1 -1
  340. package/dist/actions/start-bulk-import.cjs +1 -1
  341. package/dist/actions/start-bulk-import.cjs.map +1 -1
  342. package/dist/actions/start-bulk-import.d.cts +22 -3
  343. package/dist/actions/start-bulk-import.d.cts.map +1 -1
  344. package/dist/actions/start-bulk-import.d.mts +22 -3
  345. package/dist/actions/start-bulk-import.d.mts.map +1 -1
  346. package/dist/actions/start-bulk-import.mjs +1 -1
  347. package/dist/actions/start-bulk-import.mjs.map +1 -1
  348. package/dist/actions/update-assistant.cjs +4 -4
  349. package/dist/actions/update-assistant.cjs.map +1 -1
  350. package/dist/actions/update-assistant.d.cts +17 -3
  351. package/dist/actions/update-assistant.d.cts.map +1 -1
  352. package/dist/actions/update-assistant.d.mts +17 -3
  353. package/dist/actions/update-assistant.d.mts.map +1 -1
  354. package/dist/actions/update-assistant.mjs +4 -4
  355. package/dist/actions/update-assistant.mjs.map +1 -1
  356. package/dist/actions/update-vector.cjs +3 -3
  357. package/dist/actions/update-vector.cjs.map +1 -1
  358. package/dist/actions/update-vector.d.cts +29 -3
  359. package/dist/actions/update-vector.d.cts.map +1 -1
  360. package/dist/actions/update-vector.d.mts +29 -3
  361. package/dist/actions/update-vector.d.mts.map +1 -1
  362. package/dist/actions/update-vector.mjs +3 -3
  363. package/dist/actions/update-vector.mjs.map +1 -1
  364. package/dist/actions/upload-file.cjs +3 -3
  365. package/dist/actions/upload-file.cjs.map +1 -1
  366. package/dist/actions/upload-file.d.cts +47 -3
  367. package/dist/actions/upload-file.d.cts.map +1 -1
  368. package/dist/actions/upload-file.d.mts +47 -3
  369. package/dist/actions/upload-file.d.mts.map +1 -1
  370. package/dist/actions/upload-file.mjs +3 -3
  371. package/dist/actions/upload-file.mjs.map +1 -1
  372. package/dist/actions/upsert-records-namespace.cjs +2 -2
  373. package/dist/actions/upsert-records-namespace.cjs.map +1 -1
  374. package/dist/actions/upsert-records-namespace.d.cts +16 -3
  375. package/dist/actions/upsert-records-namespace.d.cts.map +1 -1
  376. package/dist/actions/upsert-records-namespace.d.mts +16 -3
  377. package/dist/actions/upsert-records-namespace.d.mts.map +1 -1
  378. package/dist/actions/upsert-records-namespace.mjs +2 -2
  379. package/dist/actions/upsert-records-namespace.mjs.map +1 -1
  380. package/dist/actions/upsert-vectors.cjs +3 -3
  381. package/dist/actions/upsert-vectors.cjs.map +1 -1
  382. package/dist/actions/upsert-vectors.d.cts +30 -3
  383. package/dist/actions/upsert-vectors.d.cts.map +1 -1
  384. package/dist/actions/upsert-vectors.d.mts +30 -3
  385. package/dist/actions/upsert-vectors.d.mts.map +1 -1
  386. package/dist/actions/upsert-vectors.mjs +3 -3
  387. package/dist/actions/upsert-vectors.mjs.map +1 -1
  388. package/dist/catalog.cjs +7 -1
  389. package/dist/catalog.cjs.map +1 -1
  390. package/dist/catalog.d.cts +8 -0
  391. package/dist/catalog.d.mts +8 -0
  392. package/dist/catalog.mjs +7 -1
  393. package/dist/catalog.mjs.map +1 -1
  394. package/dist/execute.cjs +1 -1
  395. package/dist/execute.cjs.map +1 -1
  396. package/dist/execute.mjs +1 -1
  397. package/dist/execute.mjs.map +1 -1
  398. package/package.json +2 -2
@@ -1,9 +1,50 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/query-vectors.d.ts
4
- declare const PineconeQueryVectorsInput: z.ZodTypeAny;
5
- declare const PineconeQueryVectorsOutput: z.ZodTypeAny;
6
- declare const pineconeQueryVectors: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PineconeQueryVectorsInput: z.ZodObject<{
5
+ id: z.ZodOptional<z.ZodString>;
6
+ topK: z.ZodNumber;
7
+ filter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
8
+ vector: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
9
+ indexHost: z.ZodString;
10
+ namespace: z.ZodOptional<z.ZodString>;
11
+ sparseVector: z.ZodOptional<z.ZodObject<{
12
+ values: z.ZodArray<z.ZodNumber>;
13
+ indices: z.ZodArray<z.ZodNumber>;
14
+ }, z.core.$strip>>;
15
+ includeValues: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
16
+ includeMetadata: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
17
+ }, z.core.$strip>;
18
+ declare const PineconeQueryVectorsOutput: z.ZodObject<{
19
+ usage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
20
+ readUnits: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
21
+ }, z.core.$loose>>>;
22
+ matches: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
23
+ id: z.ZodNullable<z.ZodString>;
24
+ score: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
25
+ values: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
26
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
27
+ sparseValues: z.ZodOptional<z.ZodNullable<z.ZodObject<{
28
+ values: z.ZodArray<z.ZodNumber>;
29
+ indices: z.ZodArray<z.ZodNumber>;
30
+ }, z.core.$loose>>>;
31
+ }, z.core.$loose>>>>;
32
+ namespace: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
+ }, z.core.$loose>;
34
+ declare const pineconeQueryVectors: import("@keystrokehq/action").WorkflowActionDefinition<{
35
+ topK: number;
36
+ indexHost: string;
37
+ id?: string | undefined;
38
+ filter?: Record<string, unknown> | undefined;
39
+ vector?: number[] | undefined;
40
+ namespace?: string | undefined;
41
+ sparseVector?: {
42
+ values: number[];
43
+ indices: number[];
44
+ } | undefined;
45
+ includeValues?: boolean | undefined;
46
+ includeMetadata?: boolean | undefined;
47
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
48
  //#endregion
8
49
  export { pineconeQueryVectors };
9
50
  //# sourceMappingURL=query-vectors.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"query-vectors.d.mts","names":[],"sources":["../../src/actions/query-vectors.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAa0B;AAAA,cAevD,0BAAA,EAA4B,CAAA,CAAE,UAIY;AAAA,cAE1C,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"query-vectors.d.mts","names":[],"sources":["../../src/actions/query-vectors.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cA4BzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAM1B,oBAAA,gCAAoB,wBAAA;;;;WAM/B,MAAA"}
@@ -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.object({}).describe("Metadata filtering criteria to constrain results. Example: {\"genre\": {\"$in\": [\"comedy\", \"documentary\"]}, \"year\": {\"$eq\": 2019}}").optional(),
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
- id: z.string().describe("Unique vector identifier."),
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.object({}).describe("Associated metadata, included if includeMetadata was set to true in the request.").nullable().optional(),
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.ZodTypeAny = 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.object({}).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.ZodTypeAny = z.object({\n readUnits: z.number().int().describe(\"Consumed read capacity units.\").nullable().optional(),\n}).describe(\"Usage information for the query.\");\nconst PineconeQueryVectors_SparseValuesSchema: z.ZodTypeAny = 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}).describe(\"Sparse values in response.\");\nconst PineconeQueryVectors_ScoredVectorSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique vector identifier.\"),\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.object({}).describe(\"Associated metadata, included if includeMetadata was set to true in the request.\").nullable().optional(),\n sparseValues: PineconeQueryVectors_SparseValuesSchema.nullable().optional(),\n}).describe(\"A scored vector match from the query.\");\nexport const PineconeQueryVectorsOutput: z.ZodTypeAny = 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}).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,4BAA0C,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C,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,2BAA2B;AACzE,CAAC,CAAC,CAAC,SAAS,4BAA4B;AACxC,MAAM,0CAAwD,EAAE,OAAO;CACrE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACnD,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,CAAC,CAAC,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxI,cAAc,wCAAwC,SAAS,CAAC,CAAC,SAAS;AAC5E,CAAC,CAAC,CAAC,SAAS,uCAAuC;AAOnD,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXsD,EAAE,OAAO;EAC/D,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,SAAS,0CAOF;AACV,CAAC"}
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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CAAuC,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"}
@@ -8,22 +8,22 @@ const PineconeRerankInput = zod.z.object({
8
8
  documents: zod.z.array(zod.z.object({
9
9
  id: zod.z.string().describe("Optional unique identifier for the document.").optional(),
10
10
  text: zod.z.string().describe("The text content of the document to be reranked.")
11
- }).describe("A document to be reranked.")).describe("Array of document objects requiring reranking."),
11
+ }).passthrough().describe("A document to be reranked.")).describe("Array of document objects requiring reranking."),
12
12
  parameters: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Additional model-specific options. Refer to model documentation for supported parameters.").optional(),
13
13
  rank_fields: zod.z.array(zod.z.string()).describe("Fields to consider for reranking. Defaults to ['text']. Model-specific limits may apply.").optional(),
14
14
  return_documents: zod.z.boolean().default(true).describe("Include documents in response. Defaults to true.").optional()
15
15
  }).describe("Request model for reranking documents by semantic relevance to a query.");
16
16
  const PineconeRerank_RankedDocumentSchema = zod.z.object({
17
- index: zod.z.number().int().describe("Original position of document in input array."),
18
- score: zod.z.number().describe("Relevance score in 0-1 range, where higher values indicate greater relevance."),
17
+ index: zod.z.number().int().describe("Original position of document in input array.").nullable(),
18
+ score: zod.z.number().describe("Relevance score in 0-1 range, where higher values indicate greater relevance.").nullable(),
19
19
  document: zod.z.record(zod.z.string(), zod.z.unknown()).describe("The ranked document with fields (included when return_documents=true).").nullable().optional()
20
- }).describe("A document with its reranking score.");
21
- const PineconeRerank_UsageInfoSchema = zod.z.object({ rerank_units: zod.z.number().int().describe("Units consumed by the rerank operation.") }).describe("Usage information for the rerank operation.");
20
+ }).passthrough().describe("A document with its reranking score.");
21
+ const PineconeRerank_UsageInfoSchema = zod.z.object({ rerank_units: zod.z.number().int().describe("Units consumed by the rerank operation.").nullable() }).passthrough().describe("Usage information for the rerank operation.");
22
22
  const PineconeRerankOutput = zod.z.object({
23
23
  data: zod.z.array(PineconeRerank_RankedDocumentSchema).describe("Array of reranked documents ordered by relevance score."),
24
- model: zod.z.string().describe("The reranking model used."),
24
+ model: zod.z.string().describe("The reranking model used.").nullable(),
25
25
  usage: PineconeRerank_UsageInfoSchema.nullable()
26
- }).describe("Response schema for reranking documents.");
26
+ }).passthrough().describe("Response schema for reranking documents.");
27
27
  const pineconeRerank = require_action.action("PINECONE_RERANK", {
28
28
  slug: "pinecone-rerank",
29
29
  name: "Rerank Documents",
@@ -1 +1 @@
1
- {"version":3,"file":"rerank.cjs","names":["z","action"],"sources":["../../src/actions/rerank.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeRerankInput: z.ZodTypeAny = z.object({\n model: z.string().describe(\"The reranking model to apply (e.g., 'bge-reranker-v2-m3').\"),\n query: z.string().describe(\"The search query against which documents are ranked.\"),\n top_n: z.number().int().describe(\"Number of ranked results to return. Defaults to the total number of input documents if not specified.\").optional(),\n documents: z.array(z.object({\n id: z.string().describe(\"Optional unique identifier for the document.\").optional(),\n text: z.string().describe(\"The text content of the document to be reranked.\"),\n}).describe(\"A document to be reranked.\")).describe(\"Array of document objects requiring reranking.\"),\n parameters: z.record(z.string(), z.unknown()).describe(\"Additional model-specific options. Refer to model documentation for supported parameters.\").optional(),\n rank_fields: z.array(z.string()).describe(\"Fields to consider for reranking. Defaults to ['text']. Model-specific limits may apply.\").optional(),\n return_documents: z.boolean().default(true).describe(\"Include documents in response. Defaults to true.\").optional(),\n}).describe(\"Request model for reranking documents by semantic relevance to a query.\");\nconst PineconeRerank_RankedDocumentSchema: z.ZodTypeAny = z.object({\n index: z.number().int().describe(\"Original position of document in input array.\"),\n score: z.number().describe(\"Relevance score in 0-1 range, where higher values indicate greater relevance.\"),\n document: z.record(z.string(), z.unknown()).describe(\"The ranked document with fields (included when return_documents=true).\").nullable().optional(),\n}).describe(\"A document with its reranking score.\");\nconst PineconeRerank_UsageInfoSchema: z.ZodTypeAny = z.object({\n rerank_units: z.number().int().describe(\"Units consumed by the rerank operation.\"),\n}).describe(\"Usage information for the rerank operation.\");\nexport const PineconeRerankOutput: z.ZodTypeAny = z.object({\n data: z.array(PineconeRerank_RankedDocumentSchema).describe(\"Array of reranked documents ordered by relevance score.\"),\n model: z.string().describe(\"The reranking model used.\"),\n usage: PineconeRerank_UsageInfoSchema.nullable(),\n}).describe(\"Response schema for reranking documents.\");\n\nexport const pineconeRerank = action(\"PINECONE_RERANK\", {\n slug: \"pinecone-rerank\",\n name: \"Rerank Documents\",\n description: \"Tool to rerank documents by semantic relevance to a query. Use when you need to order retrieved documents by their semantic relevance to a user's search query using Pinecone's hosted reranking models.\",\n input: PineconeRerankInput,\n output: PineconeRerankOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAoCA,IAAAA,EAAE,OAAO;CACxD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CACvF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACjF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;CACnJ,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC5B,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACjF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CAC9E,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,CAAC,SAAS,gDAAgD;CAClG,YAAYA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;CAC7J,aAAaA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CAC/I,kBAAkBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAM,sCAAoDA,IAAAA,EAAE,OAAO;CACjE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C;CAChF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E;CAC1G,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrJ,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAM,iCAA+CA,IAAAA,EAAE,OAAO,EAC5D,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,EACnF,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAa,uBAAqCA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,yDAAyD;CACrH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACtD,OAAO,+BAA+B,SAAS;AACjD,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAEtD,MAAa,iBAAiBC,eAAAA,OAAO,mBAAmB;CACtD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"rerank.cjs","names":["z","action"],"sources":["../../src/actions/rerank.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeRerankInput = z.object({\n model: z.string().describe(\"The reranking model to apply (e.g., 'bge-reranker-v2-m3').\"),\n query: z.string().describe(\"The search query against which documents are ranked.\"),\n top_n: z.number().int().describe(\"Number of ranked results to return. Defaults to the total number of input documents if not specified.\").optional(),\n documents: z.array(z.object({\n id: z.string().describe(\"Optional unique identifier for the document.\").optional(),\n text: z.string().describe(\"The text content of the document to be reranked.\"),\n}).passthrough().describe(\"A document to be reranked.\")).describe(\"Array of document objects requiring reranking.\"),\n parameters: z.record(z.string(), z.unknown()).describe(\"Additional model-specific options. Refer to model documentation for supported parameters.\").optional(),\n rank_fields: z.array(z.string()).describe(\"Fields to consider for reranking. Defaults to ['text']. Model-specific limits may apply.\").optional(),\n return_documents: z.boolean().default(true).describe(\"Include documents in response. Defaults to true.\").optional(),\n}).describe(\"Request model for reranking documents by semantic relevance to a query.\");\nconst PineconeRerank_RankedDocumentSchema = z.object({\n index: z.number().int().describe(\"Original position of document in input array.\").nullable(),\n score: z.number().describe(\"Relevance score in 0-1 range, where higher values indicate greater relevance.\").nullable(),\n document: z.record(z.string(), z.unknown()).describe(\"The ranked document with fields (included when return_documents=true).\").nullable().optional(),\n}).passthrough().describe(\"A document with its reranking score.\");\nconst PineconeRerank_UsageInfoSchema = z.object({\n rerank_units: z.number().int().describe(\"Units consumed by the rerank operation.\").nullable(),\n}).passthrough().describe(\"Usage information for the rerank operation.\");\nexport const PineconeRerankOutput = z.object({\n data: z.array(PineconeRerank_RankedDocumentSchema).describe(\"Array of reranked documents ordered by relevance score.\"),\n model: z.string().describe(\"The reranking model used.\").nullable(),\n usage: PineconeRerank_UsageInfoSchema.nullable(),\n}).passthrough().describe(\"Response schema for reranking documents.\");\n\nexport const pineconeRerank = action(\"PINECONE_RERANK\", {\n slug: \"pinecone-rerank\",\n name: \"Rerank Documents\",\n description: \"Tool to rerank documents by semantic relevance to a query. Use when you need to order retrieved documents by their semantic relevance to a user's search query using Pinecone's hosted reranking models.\",\n input: PineconeRerankInput,\n output: PineconeRerankOutput,\n});\n"],"m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CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAChE,MAAM,iCAAiCA,IAAAA,EAAE,OAAO,EAC9C,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,EAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,MAAMA,IAAAA,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,yDAAyD;CACrH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACjE,OAAO,+BAA+B,SAAS;AACjD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAEpE,MAAa,iBAAiBC,eAAAA,OAAO,mBAAmB;CACtD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,42 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/rerank.d.ts
4
- declare const PineconeRerankInput: z.ZodTypeAny;
5
- declare const PineconeRerankOutput: z.ZodTypeAny;
6
- declare const pineconeRerank: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PineconeRerankInput: z.ZodObject<{
5
+ model: z.ZodString;
6
+ query: z.ZodString;
7
+ top_n: z.ZodOptional<z.ZodNumber>;
8
+ documents: z.ZodArray<z.ZodObject<{
9
+ id: z.ZodOptional<z.ZodString>;
10
+ text: z.ZodString;
11
+ }, z.core.$loose>>;
12
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
13
+ rank_fields: z.ZodOptional<z.ZodArray<z.ZodString>>;
14
+ return_documents: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
15
+ }, z.core.$strip>;
16
+ declare const PineconeRerankOutput: z.ZodObject<{
17
+ data: z.ZodArray<z.ZodObject<{
18
+ index: z.ZodNullable<z.ZodNumber>;
19
+ score: z.ZodNullable<z.ZodNumber>;
20
+ document: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
21
+ }, z.core.$loose>>;
22
+ model: z.ZodNullable<z.ZodString>;
23
+ usage: z.ZodNullable<z.ZodObject<{
24
+ rerank_units: z.ZodNullable<z.ZodNumber>;
25
+ }, z.core.$loose>>;
26
+ }, z.core.$loose>;
27
+ declare const pineconeRerank: import("@keystrokehq/action").WorkflowActionDefinition<{
28
+ model: string;
29
+ query: string;
30
+ documents: {
31
+ [x: string]: unknown;
32
+ text: string;
33
+ id?: string | undefined;
34
+ }[];
35
+ top_n?: number | undefined;
36
+ parameters?: Record<string, unknown> | undefined;
37
+ rank_fields?: string[] | undefined;
38
+ return_documents?: boolean | undefined;
39
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
40
  //#endregion
8
41
  export { pineconeRerank };
9
42
  //# sourceMappingURL=rerank.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"rerank.d.cts","names":[],"sources":["../../src/actions/rerank.ts"],"mappings":";;;cAIa,mBAAA,EAAqB,CAAA,CAAE,UAWkD;AAAA,cASzE,oBAAA,EAAsB,CAAA,CAAE,UAIkB;AAAA,cAE1C,cAAA,gCAAc,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"rerank.d.cts","names":[],"sources":["../../src/actions/rerank.ts"],"mappings":";;;cAIa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAoBnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;cAMpB,cAAA,gCAAc,wBAAA;;;;;;;;;eAMzB,MAAA"}
@@ -1,9 +1,42 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/rerank.d.ts
4
- declare const PineconeRerankInput: z.ZodTypeAny;
5
- declare const PineconeRerankOutput: z.ZodTypeAny;
6
- declare const pineconeRerank: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PineconeRerankInput: z.ZodObject<{
5
+ model: z.ZodString;
6
+ query: z.ZodString;
7
+ top_n: z.ZodOptional<z.ZodNumber>;
8
+ documents: z.ZodArray<z.ZodObject<{
9
+ id: z.ZodOptional<z.ZodString>;
10
+ text: z.ZodString;
11
+ }, z.core.$loose>>;
12
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
13
+ rank_fields: z.ZodOptional<z.ZodArray<z.ZodString>>;
14
+ return_documents: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
15
+ }, z.core.$strip>;
16
+ declare const PineconeRerankOutput: z.ZodObject<{
17
+ data: z.ZodArray<z.ZodObject<{
18
+ index: z.ZodNullable<z.ZodNumber>;
19
+ score: z.ZodNullable<z.ZodNumber>;
20
+ document: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
21
+ }, z.core.$loose>>;
22
+ model: z.ZodNullable<z.ZodString>;
23
+ usage: z.ZodNullable<z.ZodObject<{
24
+ rerank_units: z.ZodNullable<z.ZodNumber>;
25
+ }, z.core.$loose>>;
26
+ }, z.core.$loose>;
27
+ declare const pineconeRerank: import("@keystrokehq/action").WorkflowActionDefinition<{
28
+ model: string;
29
+ query: string;
30
+ documents: {
31
+ [x: string]: unknown;
32
+ text: string;
33
+ id?: string | undefined;
34
+ }[];
35
+ top_n?: number | undefined;
36
+ parameters?: Record<string, unknown> | undefined;
37
+ rank_fields?: string[] | undefined;
38
+ return_documents?: boolean | undefined;
39
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
40
  //#endregion
8
41
  export { pineconeRerank };
9
42
  //# sourceMappingURL=rerank.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"rerank.d.mts","names":[],"sources":["../../src/actions/rerank.ts"],"mappings":";;;cAIa,mBAAA,EAAqB,CAAA,CAAE,UAWkD;AAAA,cASzE,oBAAA,EAAsB,CAAA,CAAE,UAIkB;AAAA,cAE1C,cAAA,gCAAc,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"rerank.d.mts","names":[],"sources":["../../src/actions/rerank.ts"],"mappings":";;;cAIa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAoBnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;cAMpB,cAAA,gCAAc,wBAAA;;;;;;;;;eAMzB,MAAA"}
@@ -8,17 +8,17 @@ const PineconeRerankInput = z.object({
8
8
  documents: z.array(z.object({
9
9
  id: z.string().describe("Optional unique identifier for the document.").optional(),
10
10
  text: z.string().describe("The text content of the document to be reranked.")
11
- }).describe("A document to be reranked.")).describe("Array of document objects requiring reranking."),
11
+ }).passthrough().describe("A document to be reranked.")).describe("Array of document objects requiring reranking."),
12
12
  parameters: z.record(z.string(), z.unknown()).describe("Additional model-specific options. Refer to model documentation for supported parameters.").optional(),
13
13
  rank_fields: z.array(z.string()).describe("Fields to consider for reranking. Defaults to ['text']. Model-specific limits may apply.").optional(),
14
14
  return_documents: z.boolean().default(true).describe("Include documents in response. Defaults to true.").optional()
15
15
  }).describe("Request model for reranking documents by semantic relevance to a query.");
16
16
  const PineconeRerank_RankedDocumentSchema = z.object({
17
- index: z.number().int().describe("Original position of document in input array."),
18
- score: z.number().describe("Relevance score in 0-1 range, where higher values indicate greater relevance."),
17
+ index: z.number().int().describe("Original position of document in input array.").nullable(),
18
+ score: z.number().describe("Relevance score in 0-1 range, where higher values indicate greater relevance.").nullable(),
19
19
  document: z.record(z.string(), z.unknown()).describe("The ranked document with fields (included when return_documents=true).").nullable().optional()
20
- }).describe("A document with its reranking score.");
21
- const PineconeRerank_UsageInfoSchema = z.object({ rerank_units: z.number().int().describe("Units consumed by the rerank operation.") }).describe("Usage information for the rerank operation.");
20
+ }).passthrough().describe("A document with its reranking score.");
21
+ const PineconeRerank_UsageInfoSchema = z.object({ rerank_units: z.number().int().describe("Units consumed by the rerank operation.").nullable() }).passthrough().describe("Usage information for the rerank operation.");
22
22
  const pineconeRerank = action("PINECONE_RERANK", {
23
23
  slug: "pinecone-rerank",
24
24
  name: "Rerank Documents",
@@ -26,9 +26,9 @@ const pineconeRerank = action("PINECONE_RERANK", {
26
26
  input: PineconeRerankInput,
27
27
  output: z.object({
28
28
  data: z.array(PineconeRerank_RankedDocumentSchema).describe("Array of reranked documents ordered by relevance score."),
29
- model: z.string().describe("The reranking model used."),
29
+ model: z.string().describe("The reranking model used.").nullable(),
30
30
  usage: PineconeRerank_UsageInfoSchema.nullable()
31
- }).describe("Response schema for reranking documents.")
31
+ }).passthrough().describe("Response schema for reranking documents.")
32
32
  });
33
33
  //#endregion
34
34
  export { pineconeRerank };
@@ -1 +1 @@
1
- {"version":3,"file":"rerank.mjs","names":[],"sources":["../../src/actions/rerank.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeRerankInput: z.ZodTypeAny = z.object({\n model: z.string().describe(\"The reranking model to apply (e.g., 'bge-reranker-v2-m3').\"),\n query: z.string().describe(\"The search query against which documents are ranked.\"),\n top_n: z.number().int().describe(\"Number of ranked results to return. Defaults to the total number of input documents if not specified.\").optional(),\n documents: z.array(z.object({\n id: z.string().describe(\"Optional unique identifier for the document.\").optional(),\n text: z.string().describe(\"The text content of the document to be reranked.\"),\n}).describe(\"A document to be reranked.\")).describe(\"Array of document objects requiring reranking.\"),\n parameters: z.record(z.string(), z.unknown()).describe(\"Additional model-specific options. Refer to model documentation for supported parameters.\").optional(),\n rank_fields: z.array(z.string()).describe(\"Fields to consider for reranking. Defaults to ['text']. Model-specific limits may apply.\").optional(),\n return_documents: z.boolean().default(true).describe(\"Include documents in response. Defaults to true.\").optional(),\n}).describe(\"Request model for reranking documents by semantic relevance to a query.\");\nconst PineconeRerank_RankedDocumentSchema: z.ZodTypeAny = z.object({\n index: z.number().int().describe(\"Original position of document in input array.\"),\n score: z.number().describe(\"Relevance score in 0-1 range, where higher values indicate greater relevance.\"),\n document: z.record(z.string(), z.unknown()).describe(\"The ranked document with fields (included when return_documents=true).\").nullable().optional(),\n}).describe(\"A document with its reranking score.\");\nconst PineconeRerank_UsageInfoSchema: z.ZodTypeAny = z.object({\n rerank_units: z.number().int().describe(\"Units consumed by the rerank operation.\"),\n}).describe(\"Usage information for the rerank operation.\");\nexport const PineconeRerankOutput: z.ZodTypeAny = z.object({\n data: z.array(PineconeRerank_RankedDocumentSchema).describe(\"Array of reranked documents ordered by relevance score.\"),\n model: z.string().describe(\"The reranking model used.\"),\n usage: PineconeRerank_UsageInfoSchema.nullable(),\n}).describe(\"Response schema for reranking documents.\");\n\nexport const pineconeRerank = action(\"PINECONE_RERANK\", {\n slug: \"pinecone-rerank\",\n name: \"Rerank Documents\",\n description: \"Tool to rerank documents by semantic relevance to a query. Use when you need to order retrieved documents by their semantic relevance to a user's search query using Pinecone's hosted reranking models.\",\n input: PineconeRerankInput,\n output: PineconeRerankOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAoC,EAAE,OAAO;CACxD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CACvF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACjF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SA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2B;EACtD,OAAO,+BAA+B,SAAS;CACjD,CAAC,CAAC,CAAC,SAAS,0CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"rerank.mjs","names":[],"sources":["../../src/actions/rerank.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeRerankInput = z.object({\n model: z.string().describe(\"The reranking model to apply (e.g., 'bge-reranker-v2-m3').\"),\n query: z.string().describe(\"The search query against which documents are ranked.\"),\n top_n: z.number().int().describe(\"Number of ranked results to return. Defaults to the total number of input documents if not specified.\").optional(),\n documents: z.array(z.object({\n id: z.string().describe(\"Optional unique identifier for the document.\").optional(),\n text: z.string().describe(\"The text content of the document to be reranked.\"),\n}).passthrough().describe(\"A document to be reranked.\")).describe(\"Array of document objects requiring reranking.\"),\n parameters: z.record(z.string(), z.unknown()).describe(\"Additional model-specific options. Refer to model documentation for supported parameters.\").optional(),\n rank_fields: z.array(z.string()).describe(\"Fields to consider for reranking. Defaults to ['text']. Model-specific limits may apply.\").optional(),\n return_documents: z.boolean().default(true).describe(\"Include documents in response. Defaults to true.\").optional(),\n}).describe(\"Request model for reranking documents by semantic relevance to a query.\");\nconst PineconeRerank_RankedDocumentSchema = z.object({\n index: z.number().int().describe(\"Original position of document in input array.\").nullable(),\n score: z.number().describe(\"Relevance score in 0-1 range, where higher values indicate greater relevance.\").nullable(),\n document: z.record(z.string(), z.unknown()).describe(\"The ranked document with fields (included when return_documents=true).\").nullable().optional(),\n}).passthrough().describe(\"A document with its reranking score.\");\nconst PineconeRerank_UsageInfoSchema = z.object({\n rerank_units: z.number().int().describe(\"Units consumed by the rerank operation.\").nullable(),\n}).passthrough().describe(\"Usage information for the rerank operation.\");\nexport const PineconeRerankOutput = z.object({\n data: z.array(PineconeRerank_RankedDocumentSchema).describe(\"Array of reranked documents ordered by relevance score.\"),\n model: z.string().describe(\"The reranking model used.\").nullable(),\n usage: PineconeRerank_UsageInfoSchema.nullable(),\n}).passthrough().describe(\"Response schema for reranking documents.\");\n\nexport const pineconeRerank = action(\"PINECONE_RERANK\", {\n slug: \"pinecone-rerank\",\n name: \"Rerank Documents\",\n description: \"Tool to rerank documents by semantic relevance to a query. Use when you need to order retrieved documents by their semantic relevance to a user's search query using Pinecone's hosted reranking models.\",\n input: PineconeRerankInput,\n output: PineconeRerankOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsB,EAAE,OAAO;CAC1C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CACvF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACjF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;CACnJ,WAAW,EAAE,MAAM,EAAE,OAAO;EAC5B,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACjF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CAC9E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,CAAC,SAAS,gDAAgD;CAChH,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;CAC7J,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CAC/I,kBAAkB,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAM,sCAAsC,EAAE,OAAO;CACnD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC3F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CACrH,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAChE,MAAM,iCAAiC,EAAE,OAAO,EAC9C,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,EAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAOvE,MAAa,iBAAiB,OAAO,mBAAmB;CACtD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXkC,EAAE,OAAO;EAC3C,MAAM,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,yDAAyD;EACrH,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EACjE,OAAO,+BAA+B,SAAS;CACjD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAOhB;AACV,CAAC"}
@@ -4,11 +4,11 @@ let zod = require("zod");
4
4
  const PineconeRetrieveContextAssistantInput = zod.z.object({
5
5
  query: zod.z.string().describe("The query to generate context for. Exactly one of query or messages must be provided.").optional(),
6
6
  top_k: zod.z.number().int().describe("Maximum number of context snippets to return. Default is 16. Maximum is 64.").optional(),
7
- filter: zod.z.object({}).describe("Metadata filter to constrain which documents can be retrieved. Example: {\"genre\": {\"$ne\": \"documentary\"}}").optional(),
7
+ filter: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Metadata filter to constrain which documents can be retrieved. Example: {\"genre\": {\"$ne\": \"documentary\"}}").optional(),
8
8
  messages: zod.z.array(zod.z.object({
9
9
  role: zod.z.string().describe("The role of the message sender (e.g., 'user', 'assistant')."),
10
10
  content: zod.z.string().describe("The content of the message.")
11
- }).describe("A message in a chat conversation.")).describe("The list of messages to use for generating context. Exactly one of query or messages must be provided.").optional(),
11
+ }).passthrough().describe("A message in a chat conversation.")).describe("The list of messages to use for generating context. Exactly one of query or messages must be provided.").optional(),
12
12
  multimodal: zod.z.boolean().describe("Whether to retrieve image-related context snippets. If false, only text snippets are returned. Default is true.").optional(),
13
13
  snippet_size: zod.z.number().int().describe("Maximum context snippet size in tokens. Default is 2048. Minimum is 512. Maximum is 8192.").optional(),
14
14
  assistant_host: zod.z.string().describe("The host URL for the assistant (e.g., 'prod-1-data.ke.pinecone.io'). Get this from the assistant configuration."),
@@ -19,24 +19,24 @@ const PineconeRetrieveContextAssistant_UsageMetricsSchema = zod.z.object({
19
19
  total_tokens: zod.z.number().int().describe("Total number of tokens used.").nullable().optional(),
20
20
  prompt_tokens: zod.z.number().int().describe("Number of tokens in the prompt.").nullable().optional(),
21
21
  completion_tokens: zod.z.number().int().describe("Number of tokens in the completion.").nullable().optional()
22
- }).describe("Usage metrics for the context retrieval.");
22
+ }).passthrough().describe("Usage metrics for the context retrieval.");
23
23
  const PineconeRetrieveContextAssistant_TextSnippetSchema = zod.z.object({
24
- type: zod.z.string().describe("The type of snippet (e.g., 'text')."),
25
- score: zod.z.number().describe("Relevance score of the snippet."),
26
- content: zod.z.string().describe("The text content of the snippet."),
27
- reference: zod.z.object({}).describe("Reference information for the snippet source.")
28
- }).describe("A text snippet from the context.");
24
+ type: zod.z.string().describe("The type of snippet (e.g., 'text').").nullable(),
25
+ score: zod.z.number().describe("Relevance score of the snippet.").nullable(),
26
+ content: zod.z.string().describe("The text content of the snippet.").nullable(),
27
+ reference: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Reference information for the snippet source.")
28
+ }).passthrough().describe("A text snippet from the context.");
29
29
  const PineconeRetrieveContextAssistant_ImageSnippetSchema = zod.z.object({
30
- type: zod.z.string().describe("The type of snippet (e.g., 'image')."),
31
- score: zod.z.number().describe("Relevance score of the snippet."),
32
- content: zod.z.array(zod.z.object({})).describe("Array of image content items."),
33
- reference: zod.z.object({}).describe("Reference information for the snippet source.")
34
- }).describe("An image snippet from the context.");
30
+ type: zod.z.string().describe("The type of snippet (e.g., 'image').").nullable(),
31
+ score: zod.z.number().describe("Relevance score of the snippet.").nullable(),
32
+ content: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Array of image content items."),
33
+ reference: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Reference information for the snippet source.")
34
+ }).passthrough().describe("An image snippet from the context.");
35
35
  const PineconeRetrieveContextAssistantOutput = zod.z.object({
36
36
  id: zod.z.string().describe("Unique identifier for the context retrieval request.").nullable().optional(),
37
37
  usage: PineconeRetrieveContextAssistant_UsageMetricsSchema.nullable(),
38
38
  snippets: zod.z.array(zod.z.union([PineconeRetrieveContextAssistant_TextSnippetSchema, PineconeRetrieveContextAssistant_ImageSnippetSchema])).describe("Array of context snippets relevant to the query, can be text or image snippets.").nullable().optional()
39
- }).describe("Response containing context snippets from the assistant.");
39
+ }).passthrough().describe("Response containing context snippets from the assistant.");
40
40
  const pineconeRetrieveContextAssistant = require_action.action("PINECONE_RETRIEVE_CONTEXT_ASSISTANT", {
41
41
  slug: "pinecone-retrieve-context-assistant",
42
42
  name: "Retrieve Assistant Context",
@@ -1 +1 @@
1
- {"version":3,"file":"retrieve-context-assistant.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-context-assistant.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeRetrieveContextAssistantInput: z.ZodTypeAny = z.object({\n query: z.string().describe(\"The query to generate context for. Exactly one of query or messages must be provided.\").optional(),\n top_k: z.number().int().describe(\"Maximum number of context snippets to return. Default is 16. Maximum is 64.\").optional(),\n filter: z.object({}).describe(\"Metadata filter to constrain which documents can be retrieved. Example: {\\\"genre\\\": {\\\"$ne\\\": \\\"documentary\\\"}}\").optional(),\n messages: z.array(z.object({\n role: z.string().describe(\"The role of the message sender (e.g., 'user', 'assistant').\"),\n content: z.string().describe(\"The content of the message.\"),\n}).describe(\"A message in a chat conversation.\")).describe(\"The list of messages to use for generating context. Exactly one of query or messages must be provided.\").optional(),\n multimodal: z.boolean().describe(\"Whether to retrieve image-related context snippets. If false, only text snippets are returned. Default is true.\").optional(),\n snippet_size: z.number().int().describe(\"Maximum context snippet size in tokens. Default is 2048. Minimum is 512. Maximum is 8192.\").optional(),\n assistant_host: z.string().describe(\"The host URL for the assistant (e.g., 'prod-1-data.ke.pinecone.io'). Get this from the assistant configuration.\"),\n assistant_name: z.string().describe(\"The name of the assistant to retrieve context from.\"),\n include_binary_content: z.boolean().describe(\"If image-related context snippets are returned, this determines whether to include base64 image data. If false, only image captions are returned. Only available when multimodal=true. Default is true.\").optional(),\n}).describe(\"Request parameters for retrieving context from a Pinecone assistant.\");\nconst PineconeRetrieveContextAssistant_UsageMetricsSchema: z.ZodTypeAny = z.object({\n total_tokens: z.number().int().describe(\"Total number of tokens used.\").nullable().optional(),\n prompt_tokens: z.number().int().describe(\"Number of tokens in the prompt.\").nullable().optional(),\n completion_tokens: z.number().int().describe(\"Number of tokens in the completion.\").nullable().optional(),\n}).describe(\"Usage metrics for the context retrieval.\");\nconst PineconeRetrieveContextAssistant_TextSnippetSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"The type of snippet (e.g., 'text').\"),\n score: z.number().describe(\"Relevance score of the snippet.\"),\n content: z.string().describe(\"The text content of the snippet.\"),\n reference: z.object({}).describe(\"Reference information for the snippet source.\"),\n}).describe(\"A text snippet from the context.\");\nconst PineconeRetrieveContextAssistant_ImageSnippetSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"The type of snippet (e.g., 'image').\"),\n score: z.number().describe(\"Relevance score of the snippet.\"),\n content: z.array(z.object({})).describe(\"Array of image content items.\"),\n reference: z.object({}).describe(\"Reference information for the snippet source.\"),\n}).describe(\"An image snippet from the context.\");\nexport const PineconeRetrieveContextAssistantOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the context retrieval request.\").nullable().optional(),\n usage: PineconeRetrieveContextAssistant_UsageMetricsSchema.nullable(),\n snippets: z.array(z.union([PineconeRetrieveContextAssistant_TextSnippetSchema, PineconeRetrieveContextAssistant_ImageSnippetSchema])).describe(\"Array of context snippets relevant to the query, can be text or image snippets.\").nullable().optional(),\n}).describe(\"Response containing context snippets from the assistant.\");\n\nexport const pineconeRetrieveContextAssistant = action(\"PINECONE_RETRIEVE_CONTEXT_ASSISTANT\", {\n slug: \"pinecone-retrieve-context-assistant\",\n name: \"Retrieve Assistant Context\",\n description: \"Tool to retrieve context snippets from a Pinecone assistant for RAG or agentic workflows. Use when you need to fetch relevant document snippets based on a query or conversation messages to provide context for language model responses.\",\n input: PineconeRetrieveContextAssistantInput,\n output: PineconeRetrieveContextAssistantOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAsDA,IAAAA,EAAE,OAAO;CAC1E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CAC7H,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CACzH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS;CAC1J,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC3B,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;EACvF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CAC5D,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;CAC5K,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS;CAC7J,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;CAC9I,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC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AE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAClF,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAChD,MAAa,yCAAuDA,IAAAA,EAAE,OAAO;CAC3E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,OAAO,oDAAoD,SAAS;CACpE,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM,CAAC,oDAAoD,mDAAmD,CAAC,CAAC,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxP,CAAC,CAAC,CAAC,SAAS,0DAA0D;AAEtE,MAAa,mCAAmCC,eAAAA,OAAO,uCAAuC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"retrieve-context-assistant.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-context-assistant.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeRetrieveContextAssistantInput = z.object({\n query: z.string().describe(\"The query to generate context for. Exactly one of query or messages must be provided.\").optional(),\n top_k: z.number().int().describe(\"Maximum number of context snippets to return. Default is 16. Maximum is 64.\").optional(),\n filter: z.record(z.string(), z.unknown()).describe(\"Metadata filter to constrain which documents can be retrieved. Example: {\\\"genre\\\": {\\\"$ne\\\": \\\"documentary\\\"}}\").optional(),\n messages: z.array(z.object({\n role: z.string().describe(\"The role of the message sender (e.g., 'user', 'assistant').\"),\n content: z.string().describe(\"The content of the message.\"),\n}).passthrough().describe(\"A message in a chat conversation.\")).describe(\"The list of messages to use for generating context. Exactly one of query or messages must be provided.\").optional(),\n multimodal: z.boolean().describe(\"Whether to retrieve image-related context snippets. If false, only text snippets are returned. Default is true.\").optional(),\n snippet_size: z.number().int().describe(\"Maximum context snippet size in tokens. Default is 2048. Minimum is 512. Maximum is 8192.\").optional(),\n assistant_host: z.string().describe(\"The host URL for the assistant (e.g., 'prod-1-data.ke.pinecone.io'). Get this from the assistant configuration.\"),\n assistant_name: z.string().describe(\"The name of the assistant to retrieve context from.\"),\n include_binary_content: z.boolean().describe(\"If image-related context snippets are returned, this determines whether to include base64 image data. If false, only image captions are returned. Only available when multimodal=true. Default is true.\").optional(),\n}).describe(\"Request parameters for retrieving context from a Pinecone assistant.\");\nconst PineconeRetrieveContextAssistant_UsageMetricsSchema = z.object({\n total_tokens: z.number().int().describe(\"Total number of tokens used.\").nullable().optional(),\n prompt_tokens: z.number().int().describe(\"Number of tokens in the prompt.\").nullable().optional(),\n completion_tokens: z.number().int().describe(\"Number of tokens in the completion.\").nullable().optional(),\n}).passthrough().describe(\"Usage metrics for the context retrieval.\");\nconst PineconeRetrieveContextAssistant_TextSnippetSchema = z.object({\n type: z.string().describe(\"The type of snippet (e.g., 'text').\").nullable(),\n score: z.number().describe(\"Relevance score of the snippet.\").nullable(),\n content: z.string().describe(\"The text content of the snippet.\").nullable(),\n reference: z.record(z.string(), z.unknown()).describe(\"Reference information for the snippet source.\"),\n}).passthrough().describe(\"A text snippet from the context.\");\nconst PineconeRetrieveContextAssistant_ImageSnippetSchema = z.object({\n type: z.string().describe(\"The type of snippet (e.g., 'image').\").nullable(),\n score: z.number().describe(\"Relevance score of the snippet.\").nullable(),\n content: z.array(z.record(z.string(), z.unknown())).describe(\"Array of image content items.\"),\n reference: z.record(z.string(), z.unknown()).describe(\"Reference information for the snippet source.\"),\n}).passthrough().describe(\"An image snippet from the context.\");\nexport const PineconeRetrieveContextAssistantOutput = z.object({\n id: z.string().describe(\"Unique identifier for the context retrieval request.\").nullable().optional(),\n usage: PineconeRetrieveContextAssistant_UsageMetricsSchema.nullable(),\n snippets: z.array(z.union([PineconeRetrieveContextAssistant_TextSnippetSchema, PineconeRetrieveContextAssistant_ImageSnippetSchema])).describe(\"Array of context snippets relevant to the query, can be text or image snippets.\").nullable().optional(),\n}).passthrough().describe(\"Response containing context snippets from the assistant.\");\n\nexport const pineconeRetrieveContextAssistant = action(\"PINECONE_RETRIEVE_CONTEXT_ASSISTANT\", {\n slug: \"pinecone-retrieve-context-assistant\",\n name: \"Retrieve Assistant Context\",\n description: \"Tool to retrieve context snippets from a Pinecone assistant for RAG or agentic workflows. Use when you need to fetch relevant document snippets based on a query or conversation messages to provide context for language model responses.\",\n input: PineconeRetrieveContextAssistantInput,\n output: PineconeRetrieveContextAssistantOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CAC7H,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CACzH,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS;CAC/K,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC3B,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;EACvF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CAC5D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;CAC1L,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS;CAC7J,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;CAC9I,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH;CACrJ,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,q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E,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,+BAA+B;CAC5F,WAAWA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+CAA+C;AACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAC9D,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,OAAO,oDAAoD,SAAS;CACpE,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM,CAAC,oDAAoD,mDAAmD,CAAC,CAAC,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxP,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AAEpF,MAAa,mCAAmCC,eAAAA,OAAO,uCAAuC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,54 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/retrieve-context-assistant.d.ts
4
- declare const PineconeRetrieveContextAssistantInput: z.ZodTypeAny;
5
- declare const PineconeRetrieveContextAssistantOutput: z.ZodTypeAny;
6
- declare const pineconeRetrieveContextAssistant: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PineconeRetrieveContextAssistantInput: z.ZodObject<{
5
+ query: z.ZodOptional<z.ZodString>;
6
+ top_k: z.ZodOptional<z.ZodNumber>;
7
+ filter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
8
+ messages: z.ZodOptional<z.ZodArray<z.ZodObject<{
9
+ role: z.ZodString;
10
+ content: z.ZodString;
11
+ }, z.core.$loose>>>;
12
+ multimodal: z.ZodOptional<z.ZodBoolean>;
13
+ snippet_size: z.ZodOptional<z.ZodNumber>;
14
+ assistant_host: z.ZodString;
15
+ assistant_name: z.ZodString;
16
+ include_binary_content: z.ZodOptional<z.ZodBoolean>;
17
+ }, z.core.$strip>;
18
+ declare const PineconeRetrieveContextAssistantOutput: z.ZodObject<{
19
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ usage: z.ZodNullable<z.ZodObject<{
21
+ total_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
22
+ prompt_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
23
+ completion_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
24
+ }, z.core.$loose>>;
25
+ snippets: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
26
+ type: z.ZodNullable<z.ZodString>;
27
+ score: z.ZodNullable<z.ZodNumber>;
28
+ content: z.ZodNullable<z.ZodString>;
29
+ reference: z.ZodRecord<z.ZodString, z.ZodUnknown>;
30
+ }, z.core.$loose>, z.ZodObject<{
31
+ type: z.ZodNullable<z.ZodString>;
32
+ score: z.ZodNullable<z.ZodNumber>;
33
+ content: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
34
+ reference: z.ZodRecord<z.ZodString, z.ZodUnknown>;
35
+ }, z.core.$loose>]>>>>;
36
+ }, z.core.$loose>;
37
+ declare const pineconeRetrieveContextAssistant: import("@keystrokehq/action").WorkflowActionDefinition<{
38
+ assistant_host: string;
39
+ assistant_name: string;
40
+ query?: string | undefined;
41
+ top_k?: number | undefined;
42
+ filter?: Record<string, unknown> | undefined;
43
+ messages?: {
44
+ [x: string]: unknown;
45
+ role: string;
46
+ content: string;
47
+ }[] | undefined;
48
+ multimodal?: boolean | undefined;
49
+ snippet_size?: number | undefined;
50
+ include_binary_content?: boolean | undefined;
51
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
52
  //#endregion
8
53
  export { pineconeRetrieveContextAssistant };
9
54
  //# sourceMappingURL=retrieve-context-assistant.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"retrieve-context-assistant.d.cts","names":[],"sources":["../../src/actions/retrieve-context-assistant.ts"],"mappings":";;;cAIa,qCAAA,EAAuC,CAAA,CAAE,UAa6B;AAAA,cAkBtE,sCAAA,EAAwC,CAAA,CAAE,UAIgB;AAAA,cAE1D,gCAAA,gCAAgC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"retrieve-context-assistant.d.cts","names":[],"sources":["../../src/actions/retrieve-context-assistant.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cA+BrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAMtC,gCAAA,gCAAgC,wBAAA;;;;;WAM3C,MAAA"}
@@ -1,9 +1,54 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/retrieve-context-assistant.d.ts
4
- declare const PineconeRetrieveContextAssistantInput: z.ZodTypeAny;
5
- declare const PineconeRetrieveContextAssistantOutput: z.ZodTypeAny;
6
- declare const pineconeRetrieveContextAssistant: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PineconeRetrieveContextAssistantInput: z.ZodObject<{
5
+ query: z.ZodOptional<z.ZodString>;
6
+ top_k: z.ZodOptional<z.ZodNumber>;
7
+ filter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
8
+ messages: z.ZodOptional<z.ZodArray<z.ZodObject<{
9
+ role: z.ZodString;
10
+ content: z.ZodString;
11
+ }, z.core.$loose>>>;
12
+ multimodal: z.ZodOptional<z.ZodBoolean>;
13
+ snippet_size: z.ZodOptional<z.ZodNumber>;
14
+ assistant_host: z.ZodString;
15
+ assistant_name: z.ZodString;
16
+ include_binary_content: z.ZodOptional<z.ZodBoolean>;
17
+ }, z.core.$strip>;
18
+ declare const PineconeRetrieveContextAssistantOutput: z.ZodObject<{
19
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ usage: z.ZodNullable<z.ZodObject<{
21
+ total_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
22
+ prompt_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
23
+ completion_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
24
+ }, z.core.$loose>>;
25
+ snippets: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
26
+ type: z.ZodNullable<z.ZodString>;
27
+ score: z.ZodNullable<z.ZodNumber>;
28
+ content: z.ZodNullable<z.ZodString>;
29
+ reference: z.ZodRecord<z.ZodString, z.ZodUnknown>;
30
+ }, z.core.$loose>, z.ZodObject<{
31
+ type: z.ZodNullable<z.ZodString>;
32
+ score: z.ZodNullable<z.ZodNumber>;
33
+ content: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
34
+ reference: z.ZodRecord<z.ZodString, z.ZodUnknown>;
35
+ }, z.core.$loose>]>>>>;
36
+ }, z.core.$loose>;
37
+ declare const pineconeRetrieveContextAssistant: import("@keystrokehq/action").WorkflowActionDefinition<{
38
+ assistant_host: string;
39
+ assistant_name: string;
40
+ query?: string | undefined;
41
+ top_k?: number | undefined;
42
+ filter?: Record<string, unknown> | undefined;
43
+ messages?: {
44
+ [x: string]: unknown;
45
+ role: string;
46
+ content: string;
47
+ }[] | undefined;
48
+ multimodal?: boolean | undefined;
49
+ snippet_size?: number | undefined;
50
+ include_binary_content?: boolean | undefined;
51
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
52
  //#endregion
8
53
  export { pineconeRetrieveContextAssistant };
9
54
  //# sourceMappingURL=retrieve-context-assistant.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"retrieve-context-assistant.d.mts","names":[],"sources":["../../src/actions/retrieve-context-assistant.ts"],"mappings":";;;cAIa,qCAAA,EAAuC,CAAA,CAAE,UAa6B;AAAA,cAkBtE,sCAAA,EAAwC,CAAA,CAAE,UAIgB;AAAA,cAE1D,gCAAA,gCAAgC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"retrieve-context-assistant.d.mts","names":[],"sources":["../../src/actions/retrieve-context-assistant.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cA+BrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAMtC,gCAAA,gCAAgC,wBAAA;;;;;WAM3C,MAAA"}