Hi @jksnxd,
Unfortunately, there isn’t a simple way to just point Weaviate to your own model.
You have a couple of options:
HuggingFace path
You can deploy your model to HuggingFace, and then you can use the HuggingFace vectorizer to access the model.
Please note, that this comes with a usage fee from HuggingFace.
Customer Vectorizer Model
You can also implement a vectorizer module to work with your own model, and then create a new collection with that vectorizer.
Please note that Weaviate modules are written in GoLang.
For people familiar with GoLang, this usually takes half a day to a day.
Here is a community guide on “How to build a custom module”.
Manual Vectorization
Continue vectorizing the data yourself, and instead of using near_text
, you could vectorize your queries, and use near_vector
for search.
Note, you can hybrid
search (to run a keyword and vector queries together), but you need to provide the vector embedding for each query.
Also, you can use filters, with near_vector
and hybrid
.