Skip to content

Commit

Permalink
Hotfix
Browse files Browse the repository at this point in the history
- 불필요 코드 제거
- requirements.txt 추가
  • Loading branch information
Borikhs committed May 24, 2024
1 parent 5ffb071 commit 28fc529
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
6 changes: 0 additions & 6 deletions ai/llm/llm_rag.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,6 @@ def set_chain(self):
self.score_route
)

self.translate_chain = (
self.translate_prompt
| self.llm
| StrOutputParser()
)

def qna_route(self, info):
if "casual" in info["topic"].lower():
self.result = self.casual_answer_chain.invoke(self.ko_query)
Expand Down
3 changes: 2 additions & 1 deletion ai/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ langchainhub==0.1.15
beautifulsoup4==4.12.3
pypdf==4.1.0
python-dotenv==1.0.1
langchain-text-splitters==0.0.1
langchain-text-splitters==0.0.1
tavily-python

0 comments on commit 28fc529

Please sign in to comment.