Feat: Q&A format segmentation support (#668)

Co-authored-by: jyong <718720800@qq.com>
Co-authored-by: StyleZhang <jasonapring2015@outlook.com>
This commit is contained in:
KVOJJJin 2023-07-28 20:47:15 +08:00 committed by GitHub
commit cf93d8d6e2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
52 changed files with 2038 additions and 274 deletions

View file

@ -28,6 +28,7 @@ segment_fields = {
'position': fields.Integer,
'document_id': fields.String,
'content': fields.String,
'answer': fields.String,
'word_count': fields.Integer,
'tokens': fields.Integer,
'keywords': fields.List(fields.String),