mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-06 06:48:21 +00:00
* Initialize ToolJet plugin with default files and installed dependencies Created the folder structure and default files for the pinecone plugin the server/src/assets/marketplace/plugins.json file also got updated automatically and added an entry for the Pinecone plugin. Installed the specified versions of @grpc/grpc-js@^1.12.0 and @pinecone-database/pinecone@^3.0.3 packages into the project. * Update Pinecone plugin manifest with API key authentication Updated Pinecone plugin manifest to include API key authentication as an encrypted string. Added API key field with description and help text for generating the key via the Pinecone Console. Marked apiKey as a required field in the schema. * Enhance Pinecone operations.json with vector management options Amended operations.json to support various vector management operations for the Pinecone plugin. Added new fields for index, operation, and specific properties for operations like get_index_stats, list_vector_ids, fetch_vectors, upsert_vectors, update_vector, and delete_vectors. Introduced support for vector ID management, metadata, namespace, and filter options in JSON format. Updated the schema type from api to database to better reflect the plugin's functionality. * Add query operations and enhance types for Pinecone plugin Created query_operations.ts to handle Pinecone operations: getIndexStats, listVectorIds, fetchVectors, upsertVectors, updateVector, and deleteVectors. Added error handling, namespace support, and consolidated vector deletion logic. Updated types.ts with detailed SourceOptions and QueryOptions, including fields like index, ids, vectors, and pagination. Introduced types for Vector, SparseValues, and an enum for available operations, ensuring type safety. Functions for getIndexStats and listVectorIds work correctly, but other operations are not functioning as expected. * Implement Pinecone service with query operations and connection handling Updated index.ts with PineconeService to handle operations: getIndexStats, listVectorIds, fetchVectors, upsertVectors, updateVector, and deleteVectors. Added connection testing and API key handling functions. Error handling for invalid operations included. Only getIndexStats and listVectorIds are working correctly; other operations need debugging. * Fix operations and add query vector operation * Update placeholders for boolean fields Set placeholders for delete_all, include_values, and include_metadata to indicate "true (false by default)" for clearer defaults. --------- Co-authored-by: parthy007 <parthadhikari1812@gmail.com> |
||
|---|---|---|
| .. | ||
| data-migrations | ||
| ee | ||
| lib | ||
| migrations | ||
| scripts | ||
| src | ||
| templates | ||
| test | ||
| .eslintignore | ||
| .eslintrc.js | ||
| .gitignore | ||
| .node-version | ||
| .npmrc | ||
| .version | ||
| data-migration-config.ts | ||
| entrypoint.sh | ||
| jest.config.ts | ||
| nest-cli.json | ||
| ormconfig.ts | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| tsconfig.build.json | ||
| tsconfig.json | ||
A progressive Node.js framework for building efficient and scalable server-side applications.
Description
Nest framework TypeScript starter repository.
Installation
$ npm install
Running the app
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
Test
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov
Support
Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.
Stay in touch
- Author - Kamil Myśliwiec
- Website - https://nestjs.com
- Twitter - @nestframework
License
Nest is MIT licensed.