Chat import

Import chats into TavernAI

For exporting Character.ai chats use tool: https://github.com/0x000011b/characterai-dumper

Supported formats and examples:

TavernAI format (.jsonl)

Chats are kept on public\chats\{Character}\{timestamp}.jsonl

{"user_name":"You","character_name":"Bob","create_date":1678935377585}
{"name":"Bob","is_user":false,"is_name":true,"send_date":1679308836640,"mes":"Hello"}

CharacterAI dumper format (.json)

For exporting Character.ai chats use tool: https://github.com/0x000011b/characterai-dumper

{ "histories": [
"msgs": [
{ "src": { "ishuman": true, "text": "Hello there"
{ "src": { "ishuman": false, "text": "Hi!" }
] ]}

Raw collab format (.json)

{ "chat": [
"You: Hello there.",
"Them: \"Oh my! Hello!\" *They wave.*"
]}

Raw text format (.txt)

Single line per chat entry, each starting with Character: . Empty lines are dropped, lines without character name are assumed to be Character.

You: *Jumps down from the platform.* Hello there! *Grins and tries not to laugh.*
General Grievous: *Turns around* General Kenobi!