Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/smatiolids/nodejs-vectorsearch-api
https://github.com/smatiolids/nodejs-vectorsearch-api
Last synced: 7 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/smatiolids/nodejs-vectorsearch-api
- Owner: smatiolids
- Created: 2024-05-22T14:00:41.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-06-04T13:43:22.000Z (5 months ago)
- Last Synced: 2024-06-04T15:31:22.566Z (5 months ago)
- Language: JavaScript
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# NodeJS Vector Search API
Sample code for deploying an API that performs Vector Search on a DataStax Enterprise table
# API
endpoint: /api/search
parameters:
- emb: Array of Floats with the embedding generated by a model
- limit: Number of records to returnendpoint: /api/search_agg
parameters:
- emb: Array of Floats with the embedding generated by a model
- limit: Number of records to returnendpoint: /api/search_text
parameters:
- text: Text to search
- limit: Number of records to returnendpoint: /api/search_tags
parameters:
- tag: Tag to search
- limit: Number of records to returnendpoint: /api/search_metadata
parameters:
- key: Key of the metadata attribute to search
- limit: Number of records to returnendpoint: /api/search_metadata
parameters:
- key: Key of the metadata attribute to search
- value: Value to filter
- limit: Number of records to return