Code Monkey home page Code Monkey logo

Comments (10)

Kozonak avatar Kozonak commented on July 23, 2024 1

This sounds great, I will update to latest tomorrow and take it for a spin. I was happy with just txt but other formats might help keep things tidy.

from oobabot.

sidonsoft avatar sidonsoft commented on July 23, 2024 1

going to update and run from source to test this and report back

from oobabot.

jmoney7823956789378 avatar jmoney7823956789378 commented on July 23, 2024 1

The reason is that I haven't figured out yet how to prompt the AI with the sample dialog.

I've been experimenting with that, and I've added a line to the "persona" part of the prompt that gets sent.
It's something along the lines of

Rose is a cat, blah blah blah blah.
Below is a past conversation between {{char}} and a user:
USER: example message
{{char}}: example response

from oobabot.

chrisrude avatar chrisrude commented on July 23, 2024

@Kozonak FYI. Let me know if this works for you, or if you're using a different format.

I'm a little unsure about which fields exactly need to be read, so it's possible I need to try and incorporate more data from the card. The bot will show you what it's using when it starts up, so let me know if you think that will work.

from oobabot.

sidonsoft avatar sidonsoft commented on July 23, 2024

pip install ruamel.yaml

now required

from oobabot.

chrisrude avatar chrisrude commented on July 23, 2024

Yup! In the dev environment after an update you can just run poetry install, and it will pull in all the needed dependencies. That way you don't have to figure out what it is missing, and be assured that you're running against the same library versions that the python egg will install.

from oobabot.

rebek43 avatar rebek43 commented on July 23, 2024

an odd behavior i've noticed with this is that the bot does only register the persona of the character file while ignoring other possibly relevant sections (e.g. the example dialogue)
though that may be intended

from oobabot.

jmoney7823956789378 avatar jmoney7823956789378 commented on July 23, 2024

If you load the same persona png/json in ooba ui, it still only loads the persona itself (as far as i can tell). I think certain params like example history are only parsed in certain situations or maybe only in tavern.

from oobabot.

chrisrude avatar chrisrude commented on July 23, 2024

This is intended, and probably not great.

The reason is that I haven't figured out yet how to prompt the AI with the sample dialog. I know that other apps do use it, but I haven't dove into that yet, as I've been prioritizing the voice feature.

It's totally possible to add that in as well, if you think it would help. It would make it easier if I knew what sort of prompts are effective for sending to oobabooga -- i.e. how is the example dialogue included in the prompt?

from oobabot.

Kinglord avatar Kinglord commented on July 23, 2024

Hey all, sorry to semi-necro this issue but I'm trying my best to use this file to hack the persona to get better responses and I've seen a mix all over of proper tags to use. I just wanted to ask and see what other people have done and what works or doesn't for them. For instance I was using the default {{user}} and this doesn't seem to work, the example above uses USER which I assume is what would go in "Your Name"? I'm not convinced {{char}} works either and I've been using the bot name as well, it seems to help but it's not perfect. I think any tips would be nice or if anyone wants to work on upgrading this so it works like the example chat would go a long way :D

from oobabot.

Related Issues (20)

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.