@Preview(value="3.1") public interface ChatRequest
限定符和类型 | 方法和说明 |
---|---|
ChatResponse |
call()
调用
|
ChatRequest |
options(ChatOptions options)
选项设置
|
ChatRequest |
options(java.util.function.Consumer<ChatOptions> optionsBuilder)
选项配置
|
org.reactivestreams.Publisher<ChatResponse> |
stream()
流响应
|
ChatRequest options(ChatOptions options)
options
- 选项ChatRequest options(java.util.function.Consumer<ChatOptions> optionsBuilder)
optionsBuilder
- 选项构建器ChatResponse call() throws java.io.IOException
java.io.IOException
org.reactivestreams.Publisher<ChatResponse> stream()