Code Monkey home page Code Monkey logo

Comments (8)

jakobdylanc avatar jakobdylanc commented on June 2, 2024 1

I will look into this 👍

from discord-llm-chatbot.

jakobdylanc avatar jakobdylanc commented on June 2, 2024 1

Added, enjoy!

from discord-llm-chatbot.

Avolix avatar Avolix commented on June 2, 2024

This would be a massive thing, character support in general would really enhance this,

from discord-llm-chatbot.

Avolix avatar Avolix commented on June 2, 2024

Would it be possible for it to be set for it to post the 'Greeting' that a lot of characters make use of if a character is loaded, or as a flag? A lot of them depend on that for context and characterization.

from discord-llm-chatbot.

jakobdylanc avatar jakobdylanc commented on June 2, 2024

I see what you mean. Unfortunately I don't think character greetings are accessible through oobabooga's API server (which is what my code uses). So not sure how I would do this.

from discord-llm-chatbot.

Avolix avatar Avolix commented on June 2, 2024

It could be possible for it to load the character itself, and then pass that to ooba. I know sillytavern does it like that, instead of loading the character into ooba itself.

from discord-llm-chatbot.

jakobdylanc avatar jakobdylanc commented on June 2, 2024

Beyond this it also goes against the functionality of discord-llm-chatbot. The bot is only meant to send messages when responding to a user prompt. Sending an "automatic message" for the greeting doesn't make sense as a feature IMO.

As an alternative you could write some character context in the bot's Discord activity message. Just change "github.com/jakobdylanc/discord-llm-chatbot" to whatever you want on this line:

discord_client = discord.Client(intents=intents, activity=discord.CustomActivity(name="github.com/jakobdylanc/discord-llm-chatbot"))

from discord-llm-chatbot.

jakobdylanc avatar jakobdylanc commented on June 2, 2024

Beyond this it also goes against the functionality of discord-llm-chatbot. The bot is only meant to send messages when responding to a user prompt. Sending an "automatic message" for the greeting doesn't make sense as a feature IMO.

As an alternative you could write some character context in the bot's Discord activity message. Just change "github.com/jakobdylanc/discord-llm-chatbot" to whatever you want on this line:

discord_client = discord.Client(intents=intents, activity=discord.CustomActivity(name="github.com/jakobdylanc/discord-llm-chatbot"))

I just made this easier to do with a new CUSTOM_DISCORD_STATUS config option. Check it out!

from discord-llm-chatbot.

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.