osschat icon indicating copy to clipboard operation
osschat copied to clipboard

Mapping yml to FAQ json and vice versa

Open hailiang-wang opened this issue 2 years ago • 2 comments

Description

parent https://github.com/kaiyuanshe/osschat/issues/153

Define a yml schema, consider the properties that can be mapped into a FAQ JSON file.

  • Question (required)
  • Answers (multi plain text only now, required at least one item)
  • Categories (with a single key and value, optional)
  • DocId (optional , can be generated automatically, possible solution, auto generate with Quetion hash, reserved key)
  • Extend Questions (optional)

hailiang-wang avatar Oct 09 '21 03:10 hailiang-wang

考虑在 https://github.com/chatopera/chatopera-nodejs-sdk 中增加新的类,比如 Utils 来实现接口。

hailiang-wang avatar Oct 09 '21 07:10 hailiang-wang

Link to #179

huan avatar Oct 14 '21 13:10 huan