upstage parse 사용법 질문드립니다.
2025.02.27 00:49 수정
from autorag.parser import Parser
project_dir = os.path.join(root_dir, 'autorag_project', 'parse', 'upstageparse')
parser = Parser(data_path_glob=glob_path, project_dir=project_dir)
upstage_yaml_path = os.path.join(root_dir, 'config', 'parse', 'upstageparse.yaml')
parser.start_parsing(upstage_yaml_path)
yaml 파일 설정입니다.
modules:
- module_type: langchain_parse
file_type: all_files
parse_method: upstagedocumentparse
위와 같이 수행하는 경우 parsing 은 되었다고 메세지는 출력이 되고 실제로 결과 조회하면 1줄만 조회가 됩니다.