@Preview(value="3.1") public interface ImageDialect extends AiModelDialect
| Modifier and Type | Method and Description |
|---|---|
String |
buildRequestJson(ImageConfig config,
ImageOptions options,
String prompt)
构建请求数据
|
boolean |
matched(ImageConfig config)
匹配检测
|
ImageResponse |
parseResponseJson(ImageConfig config,
String respJson)
分析响应数据
|
boolean matched(ImageConfig config)
config - 聊天配置String buildRequestJson(ImageConfig config, ImageOptions options, String prompt)
config - 聊天配置options - 聊天选项prompt - 提示语ImageResponse parseResponseJson(ImageConfig config, String respJson)
config - 聊天配置respJson - 响应数据Copyright © 2025. All rights reserved.