Sample code for deploying an API that performs Vector Search on a DataStax Enterprise table
endpoint: /api/search parameters:
- emb: Array of Floats with the embedding generated by a model
- limit: Number of records to return
endpoint: /api/search_agg parameters:
- emb: Array of Floats with the embedding generated by a model
- limit: Number of records to return
endpoint: /api/search_text parameters:
- text: Text to search
- limit: Number of records to return
endpoint: /api/search_tags parameters:
- tag: Tag to search
- limit: Number of records to return
endpoint: /api/search_metadata parameters:
- key: Key of the metadata attribute to search
- limit: Number of records to return
endpoint: /api/search_metadata parameters:
- key: Key of the metadata attribute to search
- value: Value to filter
- limit: Number of records to return