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