public class OpenaiImageDialect extends AbstractImageDialect
构造器和说明 |
---|
OpenaiImageDialect() |
限定符和类型 | 方法和说明 |
---|---|
static OpenaiImageDialect |
getInstance() |
boolean |
matched(ImageConfig config)
匹配检测
|
ImageResponse |
parseResponseJson(ImageConfig config,
java.lang.String respJson)
分析响应数据
|
buildRequestJson
public static OpenaiImageDialect getInstance()
public boolean matched(ImageConfig config)
ImageDialect
config
- 聊天配置public ImageResponse parseResponseJson(ImageConfig config, java.lang.String respJson)
ImageDialect
config
- 聊天配置