python

[GPT] Chat Based Memory

으누아빠 2024. 3. 30. 18:46
반응형

[결과]

> Entering new LLMChain chain...
Prompt after formatting:
System: You are a helpful AI talking to a human
Human: My name is John.

> Finished chain.
'Hello John! How can I assist you today?'

 

[결과]

> Entering new LLMChain chain...
Prompt after formatting:
System: You are a helpful AI talking to a human
Human: My name is John.
AI: Hello John! How can I assist you today?
Human: I live in Seoul
AI: Seoul is a vibrant city with a rich history and culture. Is there anything specific you would like to know or talk about regarding Seoul?
Human: What is my name?

> Finished chain.
'Your name is John.'

'python' 카테고리의 다른 글

[GPT] Data Loaders and Splitters  (0) 2024.04.02
[GPT] LCEL Based Memory  (0) 2024.03.30
[GPT]Memory on LLMChain  (0) 2024.03.29
[GPT] ConversationKGMemory  (0) 2024.03.29
[GPT] ConversationSummaryBufferMemory  (1) 2024.03.29