Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feat] Apply airflow #59

Open
wants to merge 17 commits into
base: dev
Choose a base branch
from
Open

[Feat] Apply airflow #59

wants to merge 17 commits into from

Conversation

JN-Jeong
Copy link
Contributor

  • airflow로 agent.py 실행할 수 있도록 구현
  • 실행 방법은 readme.md 참고

jjeongah and others added 17 commits February 9, 2023 10:56
- prototype에서 입출력과 출력이 생성 모델의 결과인지 리트리버 모델의 결과인지 기록하도록 추가
  - 시간 / 입력 / 출력 / True or False
- sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(os.path.abspath(os.path.dirname(__file__)))))) 코드가
  from chatbot.retriever.fuzzy_matching import FuzzyMatcher 보다 위에 작성됨
- BTS 멤버를 물어보고 답하는 QnA 데이터 추가
- airflow로 agent.py 실행할 수 있도록 구현
- 실행 방법은 readme.md 참고
- config 및 last_seen_id 파일 불러올 때 절대경로를 참조하도록 수정
  - from pathlib import Path
    path = "/".join(str(Path(__file__)).split("/")[:-1])
    f"{path}/../../utils/base_config.yaml"
    f"{path}/../../twitter/last_seen_id.txt"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants