mirror of
https://github.com/vegu-ai/talemate.git
synced 2025-12-16 03:37:51 +01:00
* flip title and name in recent scenes * fix issue where a message could not be regenerated after applying continuity error fixes * prompt tweaks * allow json parameters for commands * autocomplete improvements * dialogue cleanup fixes * fix issue with narrate after dialogue and llama3 (and other models that don't have a line break after the user prompt in their prompt template. * expose ability to auto generate dialogue instructions to wsm character ux * use b64_json response type * move tag checks up so they match first * fix typo * prompt tweak * api key support * prompt tweaks * editable parameters in prompt debugger / tester * allow reseting of prompt params * codemirror for prompt editor * prompt tweaks * more prompt debug tool tweaks * some extra control for `context_history` * new analytical preset (testing) * add `join` and `llm_can_be_coerced` to jinja env * support factual list summaries * prompt tweaks to continuity check and fix * new summarization method `facts` exposed to ux * clamp mistral ai temperature according to their new requirements * prompt tweaks * better parsing of fixed dialogue response * prompt tweaks * fix intermittent empty meta issue * history regen status progression and small ux tweaks * summary entries should always be condensed * google gemini support * relock to install google-cloud-aiplatform for vertex ai inference * fix instruction link * better error handling of google safety validation and allow disabling of safety validation * docs * clarify credentials path requirements * tweak error line identification * handle quota limit error * autocomplete ux wired to assistant plugin instead of command * autocomplete narrative editing and fixes to autocomplete during dialog edit * main input autocomplete tweaks * allow new lines in main input * 0.25.0 and relock * fix issue with autocomplete elsewhere locking out main input * better way to determine remote service * prompt tweak * fix rubberbanding issue when editing character attributes * add open mistral 8x22 * fix continuity error check summary inclusion of target entry * docs * default context length to 8192 * linting
89 lines
1.6 KiB
TOML
89 lines
1.6 KiB
TOML
[build-system]
|
|
requires = ["poetry>=0.12"]
|
|
build-backend = "poetry.masonry.api"
|
|
|
|
[tool.poetry]
|
|
name = "talemate"
|
|
version = "0.25.0"
|
|
description = "AI-backed roleplay and narrative tools"
|
|
authors = ["FinalWombat"]
|
|
license = "GNU Affero General Public License v3.0"
|
|
|
|
[tool.poetry.dependencies]
|
|
python = ">=3.10,<3.12"
|
|
astroid = "^2.8"
|
|
jedi = "^0.18"
|
|
black = "*"
|
|
rope = "^0.22"
|
|
isort = "^5.10"
|
|
jinja2 = "^3.0"
|
|
openai = ">=1"
|
|
mistralai = ">=0.1.8"
|
|
cohere = ">=5.2.2"
|
|
anthropic = ">=0.19.1"
|
|
groq = ">=0.5.0"
|
|
requests = "^2.26"
|
|
colorama = ">=0.4.6"
|
|
Pillow = ">=9.5"
|
|
httpx = "<1"
|
|
piexif = "^1.1"
|
|
typing-inspect = "0.8.0"
|
|
typing_extensions = "^4.5.0"
|
|
uvicorn = "^0.23"
|
|
blinker = "^1.6.2"
|
|
pydantic = "<3"
|
|
beautifulsoup4 = "^4.12.2"
|
|
python-dotenv = "^1.0.0"
|
|
websockets = "^11.0.3"
|
|
structlog = "^23.1.0"
|
|
runpod = "^1.2.0"
|
|
google-cloud-aiplatform = ">=1.50.0"
|
|
nest_asyncio = "^1.5.7"
|
|
isodate = ">=0.6.1"
|
|
thefuzz = ">=0.20.0"
|
|
tiktoken = ">=0.5.1"
|
|
nltk = ">=3.8.1"
|
|
huggingface-hub = ">=0.20.2"
|
|
RestrictedPython = ">7.1"
|
|
|
|
# ChromaDB
|
|
chromadb = ">=0.4.17,<1"
|
|
InstructorEmbedding = "^1.0.1"
|
|
torch = ">=2.1.0"
|
|
torchaudio = ">=2.3.0"
|
|
sentence-transformers="^2.2.2"
|
|
|
|
[tool.poetry.dev-dependencies]
|
|
pytest = "^6.2"
|
|
mypy = "^0.910"
|
|
|
|
[tool.poetry.scripts]
|
|
talemate = "talemate:cli.main"
|
|
|
|
[tool.black]
|
|
line-length = 88
|
|
target-version = ['py38']
|
|
include = '\.pyi?$'
|
|
exclude = '''
|
|
/(
|
|
\.git
|
|
| \.hg
|
|
| \.mypy_cache
|
|
| \.tox
|
|
| \.venv
|
|
| _build
|
|
| buck-out
|
|
| build
|
|
| dist
|
|
)/
|
|
'''
|
|
|
|
[tool.isort]
|
|
profile = "black"
|
|
multi_line_output = 3
|
|
include_trailing_comma = true
|
|
force_grid_wrap = 0
|
|
use_parentheses = true
|
|
ensure_newline_before_comments = true
|
|
line_length = 88
|