Skip to content

Commit

Permalink
Merge pull request #84 from 2024-SummerBootcamp-Team/develop
Browse files Browse the repository at this point in the history
[main] merge
  • Loading branch information
kalsteve authored Jul 18, 2024
2 parents 0ed1c05 + 6b8bdfd commit 9d57c16
Show file tree
Hide file tree
Showing 7 changed files with 44 additions and 6,247 deletions.
238 changes: 0 additions & 238 deletions app/config/langChain/chatMessageHistory.py

This file was deleted.

3 changes: 2 additions & 1 deletion app/config/langChain/langChainSetting.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ def get_session_history(session_id):

# 메시지 히스토리를 포함하여 넣어주는 러너블 생성
runnable_with_history = RunnableWithMessageHistory(
chain_with_trimming,
# chain_with_trimming,
prompt | llm,
get_session_history,
input_messages_key="input",
history_messages_key="chat_history",
Expand Down
Loading

0 comments on commit 9d57c16

Please sign in to comment.