Use this file to discover all available pages before exploring further.
Basic usage
Send sentences to generate embeddings so you can compare their similarity
import Bytez from 'bytez.js';// insert your keyconst sdk = new Bytez('BYTEZ_KEY');// choose your modelconst model = sdk.model('sentence-transformers/all-MiniLM-L6-v2');// provide the model with inputconst input = "Turn this sentence into a vector";// send to the modelconst { error, output } = await model.run(input);// observe the outputconsole.log({ error, output });