fixes character descriptions missing from dialogue prompt (#21)

* character description is no longer part of the sheet and needs to be added separately

* prep 0.10.1
This commit is contained in:
FInalWombat 2023-10-19 03:05:17 +03:00 committed by GitHub
parent 5874d6f05c
commit c36fd3a9b0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 3 deletions

View file

@ -4,7 +4,7 @@ build-backend = "poetry.masonry.api"
[tool.poetry] [tool.poetry]
name = "talemate" name = "talemate"
version = "0.10.0" version = "0.10.1"
description = "AI-backed roleplay and narrative tools" description = "AI-backed roleplay and narrative tools"
authors = ["FinalWombat"] authors = ["FinalWombat"]
license = "GNU Affero General Public License v3.0" license = "GNU Affero General Public License v3.0"

View file

@ -2,4 +2,4 @@ from .agents import Agent
from .client import TextGeneratorWebuiClient from .client import TextGeneratorWebuiClient
from .tale_mate import * from .tale_mate import *
VERSION = "0.10.0" VERSION = "0.10.1"

View file

@ -6,9 +6,12 @@
<|SECTION:CHARACTERS|> <|SECTION:CHARACTERS|>
{% for character in characters -%} {% for character in characters -%}
{{ character.name }}: {{ character.name }}:
{{ character.filtered_sheet(['name', 'description', 'age', 'gender']) }} {{ character.filtered_sheet(['name', 'age', 'gender']) }}
{{ query_memory("what is "+character.name+"'s personality?", as_question_answer=False) }} {{ query_memory("what is "+character.name+"'s personality?", as_question_answer=False) }}
{{ character.description }}
{% endfor %} {% endfor %}
<|CLOSE_SECTION|> <|CLOSE_SECTION|>
<|SECTION:DIALOGUE EXAMPLES|> <|SECTION:DIALOGUE EXAMPLES|>