ServoyEmbeddingStoreBuilder

Methods Summarized

Type
Name
Summary

Sets the addText option (store original text).

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 dataSource to read data from.

Sets the recreate option (remove persistent storage) before opening the store.

Sets the tableName to store the embeddings in.

Methods Detailed

addText(addText)

Sets the addText option (store original text).

Parameters

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

Returns: ServoyEmbeddingStoreBuilder This builder instance.

recreate(recreate)

Sets the recreate option (remove persistent storage) before opening the store.

Parameters

Returns: ServoyEmbeddingStoreBuilder This builder instance.

tableName(tableName)

Sets the tableName to store the embeddings in.

Parameters

Returns: ServoyEmbeddingStoreBuilder This builder instance.


Last updated

Was this helpful?