| 程序包 | 说明 |
|---|---|
| com.volcengine.model.maas.api.v2 | |
| com.volcengine.service.maas.v2 | |
| com.volcengine.service.maas.v2.impl |
| 限定符和类型 | 方法和说明 |
|---|---|
ChatReq |
ChatReq.withCryptoToken(String cryptoToken) |
ChatReq |
ChatReq.withExtra(Map<String,String> extra) |
ChatReq |
ChatReq.withMessages(List<Message> messages) |
ChatReq |
ChatReq.withParameters(Parameters parameters) |
ChatReq |
ChatReq.withStream(Boolean stream) |
ChatReq |
ChatReq.withTools(List<Tool> tools) |
ChatReq |
ChatReq.withUser(String user) |
ChatReq |
ChatReq.withVerbose(Boolean verbose) |
| 限定符和类型 | 方法和说明 |
|---|---|
ChatResp |
MaasService.chat(String endpointId,
ChatReq req) |
Stream<ChatResp> |
MaasService.streamChat(String endpointId,
ChatReq req) |
| 限定符和类型 | 方法和说明 |
|---|---|
ChatResp |
MaasServiceImpl.chat(String endpointId,
ChatReq req) |
Stream<ChatResp> |
MaasServiceImpl.streamChat(String endpointId,
ChatReq req) |
Copyright © 2025. All rights reserved.