public class EmbeddingRequest
extends java.lang.Object
限定符 | 构造器和说明 |
---|---|
protected |
EmbeddingRequest(EmbeddingConfig config,
EmbeddingDialect dialect,
java.util.List<java.lang.String> input) |
限定符和类型 | 方法和说明 |
---|---|
EmbeddingResponse |
call()
调用
|
EmbeddingRequest |
options(java.util.function.Consumer<EmbeddingOptions> optionsBuilder)
选项
|
EmbeddingRequest |
options(EmbeddingOptions options)
选项
|
protected EmbeddingRequest(EmbeddingConfig config, EmbeddingDialect dialect, java.util.List<java.lang.String> input)
public EmbeddingRequest options(EmbeddingOptions options)
public EmbeddingRequest options(java.util.function.Consumer<EmbeddingOptions> optionsBuilder)
public EmbeddingResponse call() throws java.io.IOException
java.io.IOException