ServoyEmbeddingStoreBuilder
Methods Summarized
Creates a Servoy embedding store for the specified source table, the emmbeddings will be saved in the specified table in the same server.
Sets the recreate option (remove persistent storage) before opening the store.
Methods Detailed
addText(addText)
Sets the addText option (store original text).
Parameters
Boolean addText addText option.
Returns: ServoyEmbeddingStoreBuilder This builder instance.
build()
Creates a Servoy embedding store for the specified source table, the emmbeddings will be saved in the specified table in the same server.
Returns: EmbeddingStore An EmbeddingStore backed by a servoy store, or null if creation fails.
dataSource(dataSource)
Sets the dataSource to read data from.
Parameters
String dataSource dataSource.
Returns: ServoyEmbeddingStoreBuilder This builder instance.
recreate(recreate)
Sets the recreate option (remove persistent storage) before opening the store.
Parameters
Boolean recreate recreate option.
Returns: ServoyEmbeddingStoreBuilder This builder instance.
tableName(tableName)
Sets the tableName to store the embeddings in.
Parameters
String tableName tableName.
Returns: ServoyEmbeddingStoreBuilder This builder instance.
Last updated
Was this helpful?