LC1332 / Chat-Haruhi-Suzumiya

Chat凉宫春日, An open sourced Role-Playing chatbot Cheng Li, Ziang Leng, and others.
Apache License 2.0
1.83k stars 161 forks source link

About the character building of specific characters in the movie #60

Open pipijiev12 opened 10 months ago

pipijiev12 commented 10 months ago

at present. I have extracted a specific character's dialogue from a movie, how should I analyze this character's personality and build his story database

LC1332 commented 10 months ago

Check this page https://github.com/LC1332/Chat-Haruhi-Suzumiya/tree/main/characters/novel_collecting

for analyzing the personality try use this script https://github.com/LC1332/Chat-Haruhi-Suzumiya/blob/main/characters/novel_collecting/system_prompt_suggestion.ipynb (but it's not fully automatic, still need manualy summarize the personality)

once finished the persona(system prompt)

if you already have dialogues for this character, using this script to transform texts into jsonl format https://github.com/LC1332/Chat-Haruhi-Suzumiya/blob/main/characters/novel_collecting/chatbot%E7%9A%84embedding%E6%8A%BD%E5%8F%96%E5%92%8Cjsonl%E7%94%9F%E6%88%90.ipynb

LC1332 commented 10 months ago

Recently I'm considering to write a new tutorial ... the pervious one seems too heavy