Create an index datapoint for the vector and document id. If an id does not exist, create it and set the document to its value.
buildDatapoint(vector: number[], document: IdDocument): IndexDatapoint| Name | Type | Description |
|---|---|---|
vector* | number[] | |
document* | IdDocument |