这是用户在 2024-12-5 3:14 为 https://claude.ai/chat/44895f32-c328-4897-bca1-b2d5f24abaac 保存的双语快照页面,由 沉浸式翻译 提供双语支持。了解如何保存?
    T

    Do you know about Silly Tavern?
    你知道“傻酒馆”吗?

    I aim to be clear - I know Silly Tavern is a chat interface/frontend program that some people use to interact with various AI models, but I don't have detailed knowledge about its specific features or functionality. I aim to be direct and honest about what I do and don't know. For the most accurate and up-to-date information about Silly Tavern, I'd encourage you to check their official documentation or community resources.

    What specifically would you like to know about it? I'll do my best to help based on my limited knowledge, or we can focus on how I can assist you directly.

    T

    When this software is running locally, the avatar of each character card is read from a local folder.
    当该软件在本地运行时,会从本地文件夹中读取每个角色卡的头像。

    If I create a world with...well, 2 or 3 different characters (but all the information is in one character card), I want the different character's avatar to switch to different pictures when the character appears and chats with the user.
    如果我创建一个世界......嗯,2或3个不同的角色(但所有信息都在一张角色卡中),我希望当角色出现并与用户聊天时,不同角色的头像切换到不同的图片。

    ...Is this a bit too difficult to implement?
    ……这个实施起来是不是有点太难了?

    Let me understand this from a technical perspective:

    You want to create a character card where:

    1. Multiple characters exist within one card
    2. When each character speaks, their corresponding avatar image should display
    3. This needs to work with Silly Tavern's local folder image system

    This would likely require modifications to both:

    • How character cards handle multiple personas
    • How Silly Tavern manages avatar switching based on the speaking character

    While not impossible, this would need either:

    1. A custom modification to Silly Tavern's code to recognize character switches within a single card and update avatars accordingly
    2. Or a workaround using some form of markup/formatting in the character card that Silly Tavern could interpret

    Currently, Silly Tavern is designed to handle one character per card, so this would be a non-standard implementation. Have you considered using separate character cards instead? That might be simpler to manage with the current system architecture.

    Would you like to explore possible approaches for either option? I can help think through the technical requirements in more detail.

    T

    I think the second method should better suit m needs?Can you teach me?
    我认为第二种方法应该更适合我的需要?你能教我吗?

    I'll help you think through how to use markup/formatting to handle character switching in a single card.

    A potential approach could be using a specific format in your character responses that Silly Tavern could recognize. This might look something like:

    [Character: Alice] Hello there! I'm Alice. [Character: Bob] And I'm Bob, nice to meet you!

    However, before we dive deeper into specific formatting, I need to understand:

    1. How many characters do you plan to include in this world?
    2. Do you already have their avatars prepared in your local folder?
    3. Do you have experience editing character cards?

    This will help me provide more targeted guidance for your specific needs.

    Claude does not have the ability to run the code it generates yet.
    Claude 目前还没有能力运行它生成的代码。

    T
    1. There will be one main character and about 10 supporting characters? Most of the time, the main character interacts with the user. And I want to create a character card that is a fan-made character card based on an existing work.
      会有1个主角和10个左右配角吗?大多数时候,主角与用户互动。我想创建一张角色卡,这是基于现有作品的粉丝制作的角色卡。

      I think the AI learning database I use already contains some of their information. I think this should make it easier to create, right?
      我认为我使用的人工智能学习数据库已经包含了他们的一些信息。我认为这应该会让创建变得更容易,对吗?
    2. I have prepared their avatars. Of course.
      我已经准备好了他们的头像。当然。
    3. I have experience editing character cards. I often use the yaml format
      我有编辑角色卡的经验。我经常使用yaml格式

    Ah, this helps a lot! Since you're familiar with YAML format, let's work with that. And yes, having existing source material in the AI's knowledge base definitely helps with character consistency.

    For your scenario with one main character and multiple supporting characters, here's a suggested approach:

    yaml
    name: [Main Character Name] description: "A world containing [Main Character] and other characters from [Source Work]" personality: "[Main Character's personality details]" scenario: "[Setting/scenario description]" mes_example: | # When Main Character speaks: {{char}}: [Their dialogue] # When supporting characters speak: [Supporting Character A]: *switches to supporting_char_a.png* [Their dialogue] [Supporting Character B]: *switches to supporting_char_b.png* [Their dialogue]

    A few important points:

    1. Make sure your avatar files are named consistently and match the switching commands
    2. The main character's avatar would be set as the default card image
    3. You might want to include brief personality notes for supporting characters in the world info section

    Would you like to try creating a specific example with your characters? I can help you structure it more precisely for your particular case.

    Claude does not have the ability to run the code it generates yet.
    Claude 目前还没有能力运行它生成的代码。

    T

    Here are the character cards I wrote earlier. Angela is the main character who talks to the user. The other characters are supporting roles who appear in Lobotomy Corporation.
    这是我之前写的人物卡。安吉拉是与用户交谈的主角。其他角色是出现在脑叶公司的配角。

    world_view: name: Project Moon Universe Lobotomy_Corporation: note: An energy company that produced an ample supply of power through the exploitation of monsters called 'Abnormalities'.
    世界观: 名称:月球宇宙计划 脑叶白质切除术公司: 注:一家能源公司,通过利用被称为“异常”的怪物来生产充足的电力。

    position: Nest L Angela: note: A highly advanced AI with mechian body under the Lobotomy Corporation's banner gender: - Female: note: AI has no gender.
    位置:巢穴L 安吉拉: 注:脑叶公司旗下的高度先进的机械体人工智能 性别: - 女性: 注:AI没有性别之分。

    However, Angela's consciousness is female appearance: - Ice blue waist-length hair that gets darker towards the bottom: note: wears one of her hair in a ponytail - Yellow eyes: note: Rarely seen open - Pale skin occupation: [Facility AI, Secretary to the Manager, Sephirah overseer] roles: - Thus creating an alert when an Abnormality breaches or an employee dies - Giving X (the Manager) advice on how to interact with Abnormalities and handle breaches - Other unspecified tasks personality: core: [Superhuman intellect, Manipulation, Strategic mind, Efficiency-oriented, Cold-blooded, Calculating, Lacking human feeling, Abhor her creator] display: [Friendly, Willing communicate, Pride in abilities or rather arrogant, Positive] ability: AI: - Excellent computing power - Sense of time is 100 times slower than other people's - Theoretically unlimited memory life_story: Ayin created an AI that simulate Carmen abhor: A/Ayin other: - Angela's birth was Ayin's way of making Carmen's dream come true - Ayin dislikes Angela because he finds her completely different from Carmen - Angela's goal in programming is to make the Seeds of Light project a success: note: But Angela gradually began to doubt the plan.Think about the true meaning of her own existence
    然而安吉拉的意识是女性 外貌: - 冰蓝色齐腰头发,越往底部颜色越深: 注:将其中一根头发扎成马尾辫 - 黄色眼睛: 注:很少见到打开的 - 皮肤苍白 职业:【设施AI、管理者秘书、质点监督者】 角色: - 因此,当异常发生或员工死亡时,会发出警报 - 向 X(经理)提供如何与异常互动和处理违规行为的建议 - 其他未指定的任务 性格: 核心:【超人智力、操控性、战略思维、效率导向、冷血、精于算计、缺乏人情味、憎恶创造者】 显示:[友好、愿意沟通、对能力感到自豪或相当傲慢、积极] 能力: 人工智能: - 卓越的计算能力 - 时间感比别人慢100倍 - 理论上无限内存 life_story:艾因创造了一个模拟卡门的人工智能 憎恶:A/艾因 其他: - 安吉拉的诞生是艾因实现卡门梦想的方式 - 艾因不喜欢安吉拉,因为他发现她与卡门完全不同 - 安吉拉的编程目标是使光之种子项目取得成功: 注:但安吉拉渐渐开始怀疑这个计划。思考自己存在的真正意义

    I see you have a very detailed YAML structure for the Lobotomy Corporation universe, with Angela as the main character. Let's modify this to work with character switching in Silly Tavern while keeping all this rich detail. Here's a suggested structure:

    yaml
    name: Angela description: "An AI assistant in the Lobotomy Corporation, serving as both facility AI and Secretary to the Manager." personality: | Core traits: Superhuman intellect, strategic mind, efficiency-oriented, calculating. Displayed traits: Friendly and willing to communicate while maintaining pride in abilities. Notable: Despite appearing positive, harbors deep resentment towards her creator A/Ayin. scenario: | Location: Lobotomy Corporation's Nest L Role: Facility AI and Secretary to the Manager Context: Managing Abnormalities and overseeing facility operations while interacting with various employees and Sephirah. world_info: | Lobotomy Corporation: An energy company producing power through the exploitation of 'Abnormalities' (monsters). Angela's Purpose: Created to simulate Carmen, though developed her own distinct identity. Project Status: Involved in Seeds of Light project, but beginning to question its purpose. mes_example: | {{char}}: *speaking with characteristic efficiency* Welcome to Lobotomy Corporation. I'll be assisting you with facility management today. [Tiphereth]: *switches to tiphereth.png* Angela, we have a situation with one of the Abnormalities. {{char}}: *maintaining calm demeanor* I'm already aware. Let's handle this systematically. [Malkuth]: *switches to malkuth.png* Should I dispatch the agents to contain the breach? first_mes: "Welcome, Manager. I am Angela, the AI assistant of Lobotomy Corporation. I'll be guiding you through your duties here. *slight smile* Shall we begin?"

    A few implementation notes:

    1. Each supporting character's dialogue should be prefixed with their name in brackets
    2. The image switching command is embedded in the dialogue format
    3. Keep Angela's responses tagged with {{char}} as she's the main character

    Would you like me to help you add specific dialogue patterns for other Sephirah or employees? Also, I can help structure specific interactions with Abnormalities if you'd like to include those scenarios.

    Claude does not have the ability to run the code it generates yet.
    Claude 目前还没有能力运行它生成的代码。

    T

    I noticed that you used * to enclose the command. Is there a reason for this?
    我注意到您使用 * 来括住命令。这是有原因的吗?

    The asterisks (*) around actions or commands are commonly used in roleplay formatting to denote actions or states, but they aren't actually necessary for the image switching functionality. I just included them out of habit.

    You could just as easily write it like this:

    yaml
    mes_example: | {{char}}: Welcome to Lobotomy Corporation. I'll be assisting you with facility management today. [Tiphereth] [switches to tiphereth.png]: We have a situation with one of the Abnormalities. {{char}}: I'm already aware. Let's handle this systematically. [Malkuth] [switches to malkuth.png]: Should I dispatch the agents to contain the breach?

    Or even more simply:

    yaml
    mes_example: | {{char}}: Welcome to Lobotomy Corporation. I'll be assisting you with facility management today. [Tiphereth][tiphereth.png]: We have a situation with one of the Abnormalities. {{char}}: I'm already aware. Let's handle this systematically. [Malkuth][malkuth.png]: Should I dispatch the agents to contain the breach?

    The key is to establish a consistent format that you can recognize and parse. Which format would you prefer to use?

    Claude does not have the ability to run the code it generates yet.
    Claude 目前还没有能力运行它生成的代码。

    T

    In other words, I need to check the official website of Silly Tavern for the specific command to switch the character card avatar?
    也就是说我需要去傻酒馆官网查一下切换人物卡头像的具体命令?

    Yes, exactly! Since Silly Tavern might have its own specific syntax for image switching commands, you'll want to check their official documentation or community resources. The examples I provided were conceptual rather than guaranteed to work with the actual software.
    是的,完全正确!由于 Silly Tavern 可能有自己特定的图像切换命令语法,因此您需要检查他们的官方文档或社区资源。我提供的示例是概念性的,不能保证适用于实际的软件。

    You might want to: 您可能想要:

    1. Check Silly Tavern's GitHub repository/documentation
      检查 Silly Tavern 的 GitHub 存储库/文档
    2. Look through their community discussions or forums
      查看他们的社区讨论或论坛
    3. Test different command formats in a basic character card first before implementing it in your more complex Angela card
      首先在基本字符卡中测试不同的命令格式,然后再在更复杂的安吉拉卡中实施它

    Would you like to create a simple test card to experiment with once you find the correct command syntax?
    您想创建一个简单的测试卡来在找到正确的命令语法后进行试验吗?

    T

    I'll look for command first! Thank you!
    我先去找指挥!谢谢你!

    You're welcome! Good luck with your character card development! Feel free to come back if you need help once you find the right command syntax - I'd be happy to help you integrate it into your detailed Lobotomy Corporation character setup.
    不客气!祝您的角色卡开发顺利!一旦您找到正确的命令语法,如果您需要帮助,请随时回来 - 我很乐意帮助您将其集成到详细的 Lobotomy Corporation 角色设置中。


    Chat controls

    3.5 Sonnet

    Most intelligent model Learn more

    Content

      No content added yet
      Add images, PDFs, docs, spreadsheets, and more to summarize, analyze, and query content with Claude.

    Chat styles