Convert text into vectors (embeddings) that capture semantic meaning
Basic usage
Each feature extraction model is different, so check readme.md for the model manual. Below is an example of text embedding model:
Copy
import Bytez from 'bytez.js'const sdk = new Bytez("BYTEZ_KEY");const model = sdk.model("nomic-ai/nomic-embed-text-v1.5");await model.create()const { error, output } = await model.run("search_document: Turn this text into a vector");console.log({ error, output })