mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
Add 'One' chunk method (#137)
This commit is contained in:
@ -39,7 +39,7 @@ from rag.nlp import search
|
||||
from io import BytesIO
|
||||
import pandas as pd
|
||||
|
||||
from rag.app import laws, paper, presentation, manual, qa, table, book, resume, picture, naive
|
||||
from rag.app import laws, paper, presentation, manual, qa, table, book, resume, picture, naive, one
|
||||
|
||||
from api.db import LLMType, ParserType
|
||||
from api.db.services.document_service import DocumentService
|
||||
@ -60,6 +60,7 @@ FACTORY = {
|
||||
ParserType.TABLE.value: table,
|
||||
ParserType.RESUME.value: resume,
|
||||
ParserType.PICTURE.value: picture,
|
||||
ParserType.ONE.value: one,
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user