Hi all,
we are currently working on a semantic search feature in Servoy using PostgreSQL with pgvector.Right now we generate the embeddings ourselves by calling a local Ollama instance via plugins.http.
The model we use is bge-m3, which gives us 1024-dimensional embeddings.
After generating the embedding, we store the vector in PostgreSQL using plugins.rawSQL.This works fine so far.Now we are looking at the Servoy AI plugin and wondering if there is a more native way to do this.
In the documentation I found the OpenAI embedding model builder, for example:
plugins.ai.createOpenAiEmbeddingModelBuilder()
I also saw that there is a Servoy embedding store builder, but I am not fully sure if this can only be used together with the embedding models provided by the plugin.
So my questions are:
-
Does the Servoy AI plugin currently support Ollama or other local embedding models?
-
Can createServoyEmbeddingStoreBuilder() be used with embeddings generated by a non-OpenAI model?
-
Is there any way to provide a custom embedding model/provider to the Servoy AI plugin?
-
If this is not supported at the moment, would the recommended approach be to continue calling Ollama manually via plugins.http and handle the pgvector storage/search ourselves?
Thanks in advance.