Class EmbeddingTable
java.lang.Object
dev.langchain4j.store.embedding.oracle.EmbeddingTable
Represents a database table where embeddings, text, and metadata are stored. The columns of this table are listed below.
The column names listed above are used by default, but alternative names may be configured using
EmbeddingTable.Builder
methods.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
A builder that configures and builds anEmbeddingTable
. -
Method Summary
Modifier and TypeMethodDescriptionstatic EmbeddingTable.Builder
builder()
Returns a builder that configures a new EmbeddingTable.Returns the name of this table's embedding column.idColumn()
Returns the name of this table's ID column.Returns the name of this table's metadata column.name()
Returns the name of this table.Returns the name of this table's text column.
-
Method Details
-
name
Returns the name of this table.- Returns:
- The name of this table. Not null.
-
idColumn
Returns the name of this table's ID column.- Returns:
- The name of this table's ID column. Not null.
-
embeddingColumn
Returns the name of this table's embedding column.- Returns:
- The name of this table's embedding column. Not null.
-
textColumn
Returns the name of this table's text column.- Returns:
- The name of this table's text column. Not null.
-
metadataColumn
Returns the name of this table's metadata column.- Returns:
- The name of this table's text column. Not null.
-
builder
Returns a builder that configures a new EmbeddingTable.- Returns:
- An EmbeddingTable builder. Not null.
-