Changed system prompt with the help of Gemini.
This commit is contained in:
@@ -9,8 +9,9 @@ label start:
|
||||
show anita happy with dissolve
|
||||
|
||||
$ response = fetch_llm('Start the conversation.')[0]
|
||||
$ emotion, line = parse_emotion(response)
|
||||
show expression f'anita {emotion}'
|
||||
$ sanitized = sanitize_speech(response)
|
||||
$ emotion, line = parse_emotion(sanitized)
|
||||
show anita happy
|
||||
a "[line]"
|
||||
|
||||
while True:
|
||||
@@ -20,9 +21,10 @@ label start:
|
||||
|
||||
while i < len(response):
|
||||
$ r = response[i].strip()
|
||||
$ s = sanitize_speech(r)
|
||||
|
||||
if r != '':
|
||||
$ emotion, line = parse_emotion(r)
|
||||
if s != '':
|
||||
$ emotion, line = parse_emotion(s)
|
||||
if emotion is not None:
|
||||
show expression f'anita {emotion}'
|
||||
a "[line]"
|
||||
|
||||
Reference in New Issue
Block a user