feat: tavernai character import support #178

Closed
opened 2025-11-11 14:10:00 -06:00 by GiteaMirror · 5 comments
Owner

Originally created by @xndrpr on GitHub (Jan 13, 2024).

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Now, there is no way for me to import TavernAI characters as png files, I can only try to copy their content and create modelfile.

Describe the solution you'd like
A clear and concise description of what you want to happen.

Add a way to import modelfile as png from TavernAI

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Originally created by @xndrpr on GitHub (Jan 13, 2024). **Is your feature request related to a problem? Please describe.** A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] Now, there is no way for me to import TavernAI characters as png files, I can only try to copy their content and create modelfile. **Describe the solution you'd like** A clear and concise description of what you want to happen. Add a way to import modelfile as png from TavernAI **Describe alternatives you've considered** A clear and concise description of any alternative solutions or features you've considered. **Additional context** Add any other context or screenshots about the feature request here.
Author
Owner

@tjbck commented on GitHub (Jan 14, 2024):

Hi, Thanks for the suggestion! I'd like to consider your feature request but I'm not really familiar with TavernAI, Could you share example TavernAI character files with us? If you could also elaborate more on the use case and the import workflow you have in mind, that would be clarify things for us and would be helpful to understand what exactly you're asking for, Thanks!

@tjbck commented on GitHub (Jan 14, 2024): Hi, Thanks for the suggestion! I'd like to consider your feature request but I'm not really familiar with TavernAI, Could you share example TavernAI character files with us? If you could also elaborate more on the use case and the import workflow you have in mind, that would be clarify things for us and would be helpful to understand what exactly you're asking for, Thanks!
Author
Owner

@xndrpr commented on GitHub (Jan 14, 2024):

here's an example. You can also find others here: https://www.chub.ai

v1
v2

There are properties like description of a characer inside png metadata.

@xndrpr commented on GitHub (Jan 14, 2024): here's an example. You can also find others here: https://www.chub.ai ![v1](https://github.com/ollama-webui/ollama-webui/assets/98014243/19a6871e-ecf7-4535-87ae-785b460b27d4) ![v2](https://github.com/ollama-webui/ollama-webui/assets/98014243/aa7d9f3b-f754-41b2-9763-bf873844024a) There are properties like description of a characer inside png metadata.
Author
Owner

@xndrpr commented on GitHub (Jan 14, 2024):

TavernAI is a web ui for apis like text-generation-web-ui, where you can role play with virtual characters(they are stored using pngs metadata). It's almost the same as modelfiles in ollama, but it would be easier if I could import any character from the website above.

You could get the metadata and put it to systemprompt and name of modelfile, and then use the png as an avatar of the modelfile.

@xndrpr commented on GitHub (Jan 14, 2024): TavernAI is a web ui for apis like text-generation-web-ui, where you can role play with virtual characters(they are stored using pngs metadata). It's almost the same as modelfiles in ollama, but it would be easier if I could import any character from the website above. You could get the metadata and put it to systemprompt and name of modelfile, and then use the png as an avatar of the modelfile.
Author
Owner

@Arcitec commented on GitHub (May 19, 2024):

It wouldn't work to "just import those things". Open-WebUI would need support for conversation topics/character memory. If that's implemented, it would then be pretty trivial to write a converter that loads a character and saves it as a "open-webui topic" with relevant keywords and prompt injection strings.

This feature would not be doable until #2382 exists.

@Arcitec commented on GitHub (May 19, 2024): It wouldn't work to "just import those things". Open-WebUI would need support for conversation topics/character memory. If that's implemented, it would then be pretty trivial to write a converter that loads a character and saves it as a "open-webui topic" with relevant keywords and prompt injection strings. This feature would not be doable until #2382 exists.
Author
Owner

@tjbck commented on GitHub (Jul 10, 2024):

Closing in favour of #2382

@tjbck commented on GitHub (Jul 10, 2024): Closing in favour of #2382
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#178