@datafire/apitore_cosinesimilarity
v3.0.0
Published
DataFire integration for Cosine Similarity
Downloads
6
Readme
@datafire/apitore_cosinesimilarity
Client library for Cosine Similarity
Installation and Usage
npm install --save datafire @datafire/apitore_cosinesimilarity
let datafire = require('datafire');
let apitore_cosinesimilarity = require('@datafire/apitore_cosinesimilarity').create();
apitore_cosinesimilarity.vecVecUsingPOST({}).then(data => {
console.log(data);
})
Description
Cosine Similarity.[Endpoint] https://api.apitore.com/api/49
Actions
vecVecUsingPOST
Cosine similarity.Response Github: clustering-response Class: com.apitore.banana.response.clustering.SimilarityResponseEntity
apitore_cosinesimilarity.vecVecUsingPOST({
"access_token": "",
"req": {
"vec1": [],
"vec2": []
}
}, context)
Parameters
- access_token (string) required - Access Token
- req (object) required
vecWordUsingPOST
Cosine similarity.Response Github: clustering-response Class: com.apitore.banana.response.clustering.SimilarityResponseEntity
apitore_cosinesimilarity.vecWordUsingPOST({
"access_token": "",
"req": {
"vec": [],
"word": ""
}
}, context)
Parameters
- access_token (string) required - Access Token
- req (object) required