Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

LLM Chatbot and Character Generator. This was my bachelor's thesis project, completed in 2024 at the University of Calabria, Italy.

Notifications You must be signed in to change notification settings

pierspad/CharGen

Repository files navigation

Character Generator (CharGen)

This was my bachelor's thesis project, completed in 2024 at the University of Calabria, Italy.
A Python desktop application that creates and manages Non‐Player Characters (NPCs) endowed with coherent, Big‐Five‐based personalities and dynamic backstories.
The system couples an easy‐to‐use Tkinter GUI with local Large Language Models (LLMs), allowing real‐time, memory‐aware dialogue generation for role‐playing games and narrative prototypes.


Features

  • Big‐Five personality synthesis: generate or edit the five traits numerically and preview them instantly.
  • Backstory & dialogue auto‐generation: 3‐shot prompting crafts up‐to‐25‐line origin stories and in‐character replies.
  • Persistent conversational memory: chat summaries are stored in SQLite and re‐injected into future prompts for long‐term coherence.
  • Model‐agnostic: works with any LLM that exposes an OpenAI‐compatible API and supports ≥ 4 000 tokens context length.
  • Statistical evaluation: built‐in IPIP‐50 test runner, CSV logging and Matplotlib/Seaborn plots to benchmark accuracy vs. inference time.

About

LLM Chatbot and Character Generator. This was my bachelor's thesis project, completed in 2024 at the University of Calabria, Italy.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /