Comments (10)
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.
going to update and run from source to test this and report back
from oobabot.
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.
@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.
pip install ruamel.yaml
now required
from oobabot.
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.
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.
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.
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.
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)
- [BUG] Different Outputs Streaming (More Coherent) vs Single Message (Writes Transcript) HOT 8
- What would cause the bot responses to be drastically different than that of the webui? HOT 4
- Won't connect to Stable Diffusion HOT 5
- Having Autobooga enabled just results in oobabot failing HOT 6
- Stripping newline characters breaks proper response handling... HOT 2
- Feature Request (or bug?): Prevent splitting response when code is involved.
- Feature Request: Internet capabilities
- Feature request: Reading files
- Empty Response HOT 7
- Circular Import issue HOT 2
- Unable to connect HOT 1
- API Changes HOT 17
- AttributeError: 'Persona' object has no attribute 'wakeword_patterns'
- Require mention each time HOT 2
- oobabot not working HOT 13
- Cannot import name 'GenericAlias' from partially initialized module 'types' -- circular import? HOT 2
- Translation
- discord token HOT 3
- gradio throws errors - outdated package? HOT 1
- Unable to connect. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from oobabot.