{"id":21022665,"url":"https://github.com/ubos-tech/node-red-contrib-pinecone","last_synced_at":"2025-08-30T17:10:00.685Z","repository":{"id":183444013,"uuid":"657892572","full_name":"UBOS-tech/node-red-contrib-pinecone","owner":"UBOS-tech","description":"Pinecone makes it easy to provide long-term memory for high-performance AI applications","archived":false,"fork":false,"pushed_at":"2023-12-26T16:54:37.000Z","size":49,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-16T16:27:33.971Z","etag":null,"topics":["ai","node-red","node-red-contrib","pinecone","ubos","ubos-tech"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/UBOS-tech.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-06-24T06:10:15.000Z","updated_at":"2023-06-26T05:03:01.000Z","dependencies_parsed_at":"2023-07-24T14:09:34.527Z","dependency_job_id":"bbb73931-3fad-4cda-8834-4e2bb4d0d682","html_url":"https://github.com/UBOS-tech/node-red-contrib-pinecone","commit_stats":null,"previous_names":["ubos-tech/node-red-contrib-pinecone"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/UBOS-tech/node-red-contrib-pinecone","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UBOS-tech%2Fnode-red-contrib-pinecone","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UBOS-tech%2Fnode-red-contrib-pinecone/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UBOS-tech%2Fnode-red-contrib-pinecone/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UBOS-tech%2Fnode-red-contrib-pinecone/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/UBOS-tech","download_url":"https://codeload.github.com/UBOS-tech/node-red-contrib-pinecone/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UBOS-tech%2Fnode-red-contrib-pinecone/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272878320,"owners_count":25008336,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-30T02:00:09.474Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","node-red","node-red-contrib","pinecone","ubos","ubos-tech"],"created_at":"2024-11-19T11:13:18.740Z","updated_at":"2025-08-30T17:10:00.649Z","avatar_url":"https://github.com/UBOS-tech.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## node-red-contrib-pinecone\n\nPinecone makes it easy to provide long-term memory for high-performance AI applications\n\n\u003cimg width=\"100%\"  alt=\"Ubos - End-to-End Software Development Platform\" src=\"https://ubos.tech/wp-content/uploads/2023/03/cropped-Group-21015-1.png\"\u003e\n\n\u003ch3 align=\"center\"\u003e\n  \u003cb\u003e\u003ca href=\"https://ubos.tech/\"\u003eUBOS\u003c/a\u003e\u003c/b\u003e\n  •\n  \u003ca href=\"https://community.ubos.tech/\"\u003eCommunity\u003c/a\u003e\n  •\n  \u003ca href=\"https://www.youtube.com/@ubos_tech\"\u003eYoutube\u003c/a\u003e\n  •\n  \u003ca href=\"https://discord.com/invite/dt59QaptH2\"\u003eDiscord\u003c/a\u003e\n  •\n  \u003ca href=\"https://github.com/UBOS-tech\"\u003eGitHub\u003c/a\u003e\n\u003c/h3\u003e\n\n\u003cdiv align=\"center\"\u003e\n \n[![flow](https://img.shields.io/badge/platform-Node--RED-red)](https://flows.nodered.org/node/node-red-contrib-pinecone)\n[![npm](https://img.shields.io/npm/v/node-red-contrib-pinecone)](https://www.npmjs.com/package/node-red-contrib-pinecone)\n \n\u003c/div\u003e\n\n### Quick Start\n\nInstall with the built in \u003cb\u003eNode-RED Palette manager\u003c/b\u003e or using npm:\n```\nnpm install node-red-contrib-pinecone\n```\n\n## Properties Index Operations\n\n```js\nmsg.PINECONE_API_KEY = \"Your API key\";\nmsg.PINECONE_ENVIRONMENT = \"Your environment\";\nmsg.PINECONE_BASE_URL = \"https://controller.[Your environment].pinecone.io\";\n```\n\n1. When `msg.actionType` is set to `list_collections`: This operation returns a list of your Pinecone collections\n\n2. When `msg.actionType` is set to `create_collection`:\n    - **[Required]** `name`: [Type: string] The name of the collection to be created\n    \n    - **[Required]** `source`: [Type: string] The name of the source index to be used as the source for the collection\n\n3. When `msg.actionType` is set to `describe_collection`:\n    - **[Required]** `name`: [Type: string] The name of the collection\n\n4. When `msg.actionType` is set to `delete_collection`: \n    - **[Required]** `name`: [Type: string] The name of the collection\n\n5. When `msg.actionType` is set to `list_collections`: This operation returns a list of your Pinecone indexes\n\n6. When `msg.actionType` is set to `create_index`:\n    - **[Required]** `name`: [Type: string] The name of the collection to be created\n\n    - **[Required]** `dimension`: [Type: integer] The dimensions of the vectors to be inserted in the index\n    - `metric`: [Type: string] The distance metric to be used for similarity search. You can use 'euclidean', 'cosine', or 'dotproduct'\n    - `pods`: [Type: integer] The number of pods for the index to use,including replicas\n    - `replicas`: [Type: integer] The number of replicas. Replicas duplicate your index. They provide higher availability and throughput\n    - `pod_type`: [Type: string] The type of pod to use. One of **s1**, **p1**, or **p2** appended with **.** and one of **x1**, **x2**, **x4**, or **x8**.\n    - `metadata_config`: [Type: object | null] Configuration for the behavior of Pinecone's internal metadata index. By default, all metadata is indexed; when metadata_config is present, only specified metadata fields are indexed. To specify metadata fields to index, provide a JSON object of the following form:\n    ```json\n    {\"indexed\": [\"example_metadata_field\"]}\n    ```\n    - `source_collection`: [Type: string] The name of the collection to create an index from\n\nExample:\n```js\n    msg.payload = {\n        name: \"pinecone-index\",\n        metric: \"cosine\",\n        pods: 1,\n        replicas: 1,\n        pod_type: \"p1.x1\"\n    }\n```\n\n7. When `msg.actionType` is set to `describe_index`:\n    - **[Required]** `name`: [Type: string] The name of the collection\n\n8. When `msg.actionType` is set to `delete_index`:\n    - **[Required]** `name`: [Type: string] The name of the collection\n\n9. When `msg.actionType` is set to `configure_index`:\n    - **[Required]** `name`: [Type: string] The name of the collection\n\n    - `replicas`: [Type: string] The desired number of replicas for the index\n    - `pod_type`: [Type: string] The new pod type for the index. One of **s1**, **p1**, or **p2** appended with **.** and one of **x1**, **x2**, **x4**, or **x8**.\n\n## Properties Vector operations\n\n```js\nmsg.PINECONE_API_KEY = \"Your API key\";\nmsg.PINECONE_ENVIRONMENT = \"Your environment\";\nmsg.PINECONE_BASE_URL = \"https://index_name-project_id.svc.environment.pinecone.io\";\n```\n\n1. When `msg.actionType` is set to `fetch`:\n    - **[Required]** `msg.name`: The name of the index\n\n    - **[Required]** `msg.vectors`: The vector IDs to fetch. Does not accept values containing spaces. For example:\n   ```js\n    msg.payload = {\n        name: \"pinecone-index\",\n        vectors: [\"vec1\", \"vec2\"]\n    };\n   ```\n\n2. When `msg.actionType` is set to `query`:\n    - **[Required]** `name`: [Type: string] The name of the index\n\n    - **[Required]** `topK`: [Type: int64] The number of results to return for each query\n    - `filter`: [Type: object] The filter to apply. You can use vector metadata to limit your search. See [docs](https://www.pinecone.io/docs/metadata-filtering)\n    - `includeValues`: [Type: boolean] Indicates whether vector values are included in the response\n    - `includeMetadata`: [Type: boolean] Indicates whether metadata is included in the response as well as the ids\n    - `vector`: [Type: array of floats] The query vector. This should be the same length as the dimension of the index being queried. Each query() request can contain only one of the parameters id or vector.\n    - `sparseVector`: [Type: object] Vector sparse data. Represented as a list of indices and a list of corresponded values, which must be the same length\n    - `id`: [Type: string] The unique ID of the vector to be used as a query vector. Each query() request can contain only one of the parameters queries, vector, or id\n   \n   Example:\n   ```js\n    msg.payload = {\n        name: \"pinecone-index\",\n        topK: 10,\n        vector: [0.1,0.2,0.3],\n        namespace: 'example-namespace'\n    };\n   ```\n\n3. When `msg.actionType` is set to `update`:\n    - **[Required]** `name`: [Type: string] The name of the index\n\n    - **[Required]** `id`: [Type: string] Vector's unique id\n    - `values`: [Type: array of floats] Vector data\n    - `sparseValues`: [Type: object] Vector sparse data. Represented as a list of indices and a list of corresponded values, which must be the same length\n    - `setMetadata`: [Type: object] Metadata to set for the vector\n    - `namespace`: [Type: string] The namespace containing the vector to update\n   \n   Example:\n   ```js\n    msg.payload = {\n        name: \"pinecone-index\",\n        id:'vec1',\n        values: [0.1,0.2,0.3,0.4],\n        setMetadata: {'genre': 'drama'},\n        namespace: 'example-namespace'\n    };\n   ```\n\n4. When `msg.actionType` is set to `upsert`:\n    - **[Required]** `name`: [Type: string] The name of the index\n\n    - **[Required]** `vectors`: [Type: array of objects] An array containing the vectors to upsert. Recommended batch limit is 100 vectors\n    - `namespace`: [Type: string] This is the namespace name where you upsert vectors\n   \n   Example:\n   ```js\n    msg.payload = {\n        name: \"pinecone-index\",\n        vectors: [\n            {\n                id: 'vec2',\n                values: [0.2,0.3,0.4,0.5],\n                metadata: {'genre': 'action'}\n            }\n        ]\n    };\n   ```\n\n5. When `msg.delete` is set to `upsert`:\n    - **[Required]** `name`: [Type: string] The name of the index\n\n    - **[Required]** `ids`: [Type: array of strings] Vectors to delete\n    - `deleteAll`: [Type: boolean] This indicates that all vectors in the index namespace should be deleted\n    - `namespace`: [Type: string] The namespace to delete vectors from, if applicable\n    - `filter`: [Type: boolean] If specified, the metadata filter here will be used to select the vectors to delete. This is mutually exclusive with specifying IDs to delete in the ids param or using delete_all=True. See [doc](https://www.pinecone.io/docs/metadata-filtering)\n   \n   Example:\n   ```js\n    msg.payload = {\n        name: \"pinecone-index\",\n        ids: [\"vec1\", \"vec2\"]\n    };\n   ```\n\n6. When `msg.delete` is set to `describeIndexStats`:\n    - **[Required]** `name`: [Type: string] The name of the index\n\n    - `filter`: [Type: boolean] If this parameter is present, the operation only returns statistics for vectors that satisfy the filter. See [doc](https://www.pinecone.io/docs/metadata-filtering)\n\n### Bugs reports and feature requests\n\nPlease report any issues or feature requests at \u003ca href=\"https://github.com/UBOS-tech/node-red-contrib-pinecone/issues\"\u003eGitHub\u003c/a\u003e.\n\n## License\n\n[MIT License](https://github.com/UBOS-tech/node-red-contrib-pinecone/blob/main/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fubos-tech%2Fnode-red-contrib-pinecone","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fubos-tech%2Fnode-red-contrib-pinecone","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fubos-tech%2Fnode-red-contrib-pinecone/lists"}