forked from Archives/langchain
Solve small bug in the kg prompt (#1988)
I think that the 'Person' line should be under 'Last line of conversation' as is the case in the other examples in the kg prompt
This commit is contained in:
parent
30e3b31b04
commit
1cc9e90041
@ -148,8 +148,8 @@ _DEFAULT_KNOWLEDGE_TRIPLE_EXTRACTION_TEMPLATE = (
|
||||
"AI: Descartes was a French philosopher, mathematician, and scientist who lived in the 17th century.\n"
|
||||
"Person #1: The Descartes I'm referring to is a standup comedian and interior designer from Montreal.\n"
|
||||
"AI: Oh yes, He is a comedian and an interior designer. He has been in the industry for 30 years. His favorite food is baked bean pie.\n"
|
||||
"Person #1: Oh huh. I know Descartes likes to drive antique scooters and play the mandolin.\n"
|
||||
"Last line of conversation:\n"
|
||||
"Person #1: Oh huh. I know Descartes likes to drive antique scooters and play the mandolin.\n"
|
||||
f"Output: (Descartes, likes to drive, antique scooters){KG_TRIPLE_DELIMITER}(Descartes, plays, mandolin)\n"
|
||||
"END OF EXAMPLE\n\n"
|
||||
"Conversation history (for reference only):\n"
|
||||
|
Loading…
Reference in New Issue
Block a user