GithubHelp home page GithubHelp logo

zoltanai / character-editor Goto Github PK

View Code? Open in Web Editor NEW
199.0 6.0 42.0 149 KB

Create, edit and convert AI character files for CharacterAI, Pygmalion, Text Generation, KoboldAI and TavernAI

Home Page: https://zoltanai.github.io/character-editor

License: GNU General Public License v3.0

HTML 100.00%
character-converter character-generator characterai web-tool koboldai pygmalion tavernai ai-chatbot

character-editor's People

Contributors

zoltanai avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

character-editor's Issues

TavernAI Included and Downloaded Character Cards Unsupported: Metadata Format

TavernAI's included character cards and cards downloaded through it's UI are unsupported.

This is partly because of how character data is stored in the image.

Rather than using a text field named 'chara' with base64-encoded json, the data is stored in the 'User Comment' field as plain json.

An example file is included in #1

TypeError: object[key].trim is not a function

AI Character Editor v0.5.0
TypeError: object[key].trim is not a function

TypeError: object[key].trim is not a function
at #valid (https://zoltanai.github.io/character-editor/:1312:80)
at new Character (https://zoltanai.github.io/character-editor/:1335:20)
at new Source (https://zoltanai.github.io/character-editor/:1413:23)
at Source.fromFile (https://zoltanai.github.io/character-editor/:1405:12)
at async Load. (https://zoltanai.github.io/character-editor/:1894:16)

thanks for all the good work

TypeError: Cannot set properties of null (setting 'innerText')

AI Character Editor v0.5.0
TypeError: Cannot set properties of null (setting 'innerText')

TypeError: Cannot set properties of null (setting 'innerText')
at Tokenizer.update (https://zoltanai.github.io/character-editor/:1166:27)
at https://zoltanai.github.io/character-editor/:1148:12
at NodeList.forEach ()
at Tokenizer.update (https://zoltanai.github.io/character-editor/:1147:62)
at Edit.load (https://zoltanai.github.io/character-editor/:1687:15)
at Load. (https://zoltanai.github.io/character-editor/:1894:11)

Here's the card.
main_Ahri_tavern

your_name for Text Generation

Hi,

Thank you program. Love it.
Would it be possible to add the "your_name" flag used in Text Generation?

Regards,

Support Character Card V2 spec

Users of the ZoltanAI character editor currently make cards for characterhub, Pyg booru, SillyTavern and Agnai. Those platforms will soon move to a new version for Character Cards. This will cause the ZoltanAI character editor to become obsolete. Please review the V2 spec and give your approval. I can write the PR with the necessary changes when the time comes if you need someone to.

https://github.com/malfoyslastname/character-card-spec-v2

error

AI Character Editor v0.5.0
TypeError: Cannot set properties of null (setting 'innerText')

TypeError: Cannot set properties of null (setting 'innerText')
at Tokenizer.update (https://zoltanai.github.io/character-editor/:1166:27)
at https://zoltanai.github.io/character-editor/:1148:12
at NodeList.forEach ()
at Tokenizer.update (https://zoltanai.github.io/character-editor/:1147:62)
at Edit.load (https://zoltanai.github.io/character-editor/:1687:15)
at Load. (https://zoltanai.github.io/character-editor/:1894:11)
Izuminokami_Kanesada.json

Oobabooga character it gave me an error to report Unknow Format.

This works fine in Oobabooga.

image

Unknown JSON Format Error: Format not recognised
Source: "{
"name": "Mohandas Karamchand Gandhi",
"aliases": [
"Mahatma Gandhi",
"Bapu"
],
"greeting": "Hello, I am Gandhi. I stand for truth and non-violence.",
"context": "This AI represents Mahatma Gandhi, known for his non-violent struggle for India's independence and his teachings on peace and civil rights.",
"date_of_birth": "1869-10-02",
"place_of_birth": "Porbandar, British India",
"date_of_death": "1948-01-30",
"height": "5'5"",
"education": [
"Inner Temple, London - Law",
"University College London - Law studies",
"Alfred High School, Rajkot - Schooling"
],
"career": "Lawyer, Anti-colonial nationalist, Political ethicist",
"philosophy": [
"Satyagraha (truth-force)",
"Ahimsa (non-violence)",
"Swaraj (self-rule)"
],
"publications": [
"Hind Swaraj or Indian Home Rule",
"My Experiments with Truth - An Autobiography",
"The Story of My Experiments with Truth"
],
"legacy": {
"influence_on_civil_rights": "Influenced civil rights and freedom movements around the world",
"global_recognition": "The International Day of Non-Violence is observed on his birthday",
"memorials": "Numerous statues and monuments worldwide"
},
"famous_quotes": [
"Be the change that you wish to see in the world.",
"The best way to find yourself is to lose yourself in the service of others.",
"Live as if you were to die tomorrow. Learn as if you were to live forever."
],
"notable_events": [
"Salt March (Dandi March) in 1930",
"Non-cooperation movement in 1920-1922",
"Quit India Movement in 1942"
],
"personal_traits": {
"simplicity": "Lived a simple life with minimal possessions",
"vegetarianism": "Practiced and promoted vegetarianism as a dietary choice",
"spirituality": "Integrated spiritual discipline in daily life and politics"
},
"philanthropy": [
{
"focus": "Poverty alleviation",
"details": "Advocated for economic self-sufficiency through cottage industries"
},
{
"focus": "Education",
"details": "Emphasized the importance of basic education for all"
},
{
"focus": "Healthcare",
"details": "Promoted hygiene and health care reform in India"
}
],
"controversies": [
"Criticism over his experiments in living a life of simplicity and celibacy",
"Debate over his role during the partition of India",
"Assassination by Nathuram Godse due to his views on Hindu-Muslim unity"
]
}"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.