MiniCPM-V icon indicating copy to clipboard operation
MiniCPM-V copied to clipboard

💡 [REQUEST] - Json format output

Open WoutDeRijck opened this issue 1 year ago • 0 comments

起始日期 | Start Date

8/14/2024

实现PR | Implementation PR

No response

相关Issues | Reference Issues

No response

摘要 | Summary

Making it possible to force the output to a given JSON scheme.

基本示例 | Basic Example

In other cases you can use a package like lm-format-enforcer but they expect only text as input whereas you also want to input images. When extracting entities from an image, i want to get those back in a JSON string.

缺陷 | Drawbacks

There would be no drawbacks as this is optionally

未解决问题 | Unresolved questions

No response

WoutDeRijck avatar Aug 14 '24 15:08 WoutDeRijck