python
[GPT] ConversationSummaryMemory
으누아빠
2024. 3. 29. 18:15
반응형
ConversationSummaryMemory
llm 을을 이용하여 대화내용을 요약하여 메세지에 저장
대화가 길어질수록 효율적
[결과]
{'history': [SystemMessage(content='The human introduces themselves as Hong from South Korea. The AI responds by expressing admiration for their location and wishes they could visit.')]}