| Package | Description |
|---|---|
| dev.langchain4j.model.embedding |
| Modifier and Type | Method and Description |
|---|---|
static PoolingMode |
PoolingMode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PoolingMode[] |
PoolingMode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
protected static OnnxBertBiEncoder |
AbstractInProcessEmbeddingModel.loadFromJar(String modelFileName,
String tokenizerFileName,
PoolingMode poolingMode) |
| Constructor and Description |
|---|
OnnxBertBiEncoder(InputStream model,
InputStream tokenizer,
PoolingMode poolingMode) |
OnnxEmbeddingModel(Path pathToModel,
Path pathToTokenizer,
PoolingMode poolingMode) |
OnnxEmbeddingModel(String pathToModel,
String pathToTokenizer,
PoolingMode poolingMode) |
Copyright © 2024. All rights reserved.