Closed micheleriva closed 3 weeks ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
orama-docs | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Sep 26, 2024 0:31am |
To get started with Orama Plugin Embeddings, just install it with npm:
Important note: to use this plugin, you'll also need to install one of the following TensorflowJS backend:
@tensorflow/tfjs
@tensorflow/tfjs-node
@tensorflow/tfjs-backend-webgl
@tensorflow/tfjs-backend-cpu
@tensorflow/tfjs-backend-wasm
For example, if you're running Orama on the browser, we highly recommend using
@tensorflow/tfjs-backend-webgl
:If you're using Orama in Node.js, we recommend using
@tensorflow/tfjs-node
:Usage
Example usage at insert time:
Orama will automatically generate text embeddings and store them into the
embeddings
property.Then, you can use the
vector
orhybrid
setting to perform hybrid or vector search at runtime: