Code Monkey home page Code Monkey logo

Comments (9)

chrisrude avatar chrisrude commented on July 23, 2024

Interesting. For now, what you're doing is the best possible.

I know there a few cases for running multiple bots, and it would be more efficient if they all ran in the same process. Particularly, the monitoring for new messages would only need to happen once for n bots, rather than n times.

I think it could be possible to add that, though I'd want to add support for a configuration file first. The number of parameters are starting to get out of hand as-is, and it would be a mess trying to do multiple characters from the cli. I'll think about that when I'm doing the config file.

Regarding directing bots, that isn't something I have thought of yet. My main focus is on trying to get the single-bot experience feeling as human-like as possible, and then to try and grow from there.

One thing that might be nice, though, is an admin slash-command to "say" something as the bot user. Something like that might let you direct the conversation flow, without having to add too much software logic.

Just thinking out loud here, let me know if anything resonates!

from oobabot.

Kozonak avatar Kozonak commented on July 23, 2024

The multi-bot experience is pretty great too. Ive made the bridge crew from TNG with 6 chars and its amazing to see how they defend each other if I accuse them or something. Or they follow up with replies to anothers advice. They work great on their own but in a group its even better.

But it would be great for example to be able to implant false memories on the go for a certain character or introduce another element of randomness so the chars can be pointed in a direction or another, regardless of if theyre single or multi bot setups.

An issue I see when trying to include one bot in anothers discussion is that somehow they both get the same reply but just change their name. If I ask something like "bot1 is bot2 this?" I would get from bot1 "im not botw" and botw would say hes not bot1.

Maybe we could have a flag to group bots? My tng cast would be a group, my wh40k chars another group and so on.

from oobabot.

chrisrude avatar chrisrude commented on July 23, 2024

Awesome!

I've hacked a quick /say command into main. It seems like a pretty useful thing to have. Unless I find something terrible with it, it'll likely be included in the next release.

from oobabot.

sidonsoft avatar sidonsoft commented on July 23, 2024

what are the current API parameters?

from oobabot.

chrisrude avatar chrisrude commented on July 23, 2024

I'm not sure I'm understanding the question, but if you're asking about what I meant by "parameters" above, I was referring to there being a ton of command-line parameters already.

The set of potential parameters that we could expose is the set of things defined as constants in:
https://github.com/chrisrude/oobabot/blob/main/src/oobabot/settings.py

from oobabot.

sidonsoft avatar sidonsoft commented on July 23, 2024

these are the parameters I was looking for, I am using the release via pip and did not see this file. You are working on a config file to customize these parameters?

from oobabot.

chrisrude avatar chrisrude commented on July 23, 2024

Yup! Check out this post for the proposed config file format:
#3 (comment)

Feel free to add comments / point out concerns if you have them? I'm aiming to get it out in the next few days.

from oobabot.

chrisrude avatar chrisrude commented on July 23, 2024

Closing for now, as I think the current method of running characters seems to work. Config file format should be consolidated on issue #3.

from oobabot.

Urammar avatar Urammar commented on July 23, 2024

I'd like to re-open this. When I run multiple instances of the bot and they both start trying to talk at once, something just silently crashes and I get no response from either of them, stuck in typing forever. This happens even with just small 512million param models that are absolutely fine individually

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.