Coder Social home page Coder Social logo

Comments (5)

Kav-K avatar Kav-K commented on May 13, 2024 1

This has been deprioritized, I will do async for requests and image concat before this gets any thought :), although, this is very easy so it'd be great if someone wants to just drop in a quick PR

from gptdiscord.

Kav-K avatar Kav-K commented on May 13, 2024

I take back what I said about this being very easy earlier, this is super tough with the current architecture, everything is keyed to 1 user, and not keyed on threads... will continue looking into it

from gptdiscord.

sudoskys avatar sudoskys commented on May 13, 2024

Multiple users in one session context?
This could be achieved by inserting other users' records, perhaps using a mixed message bucket approach. But it would require an additional shared message bucket to record the group's chat.

from gptdiscord.

Kav-K avatar Kav-K commented on May 13, 2024

Can you elaborate a bit more on what you mean by mixed message buckets? :)

from gptdiscord.

sudoskys avatar sudoskys commented on May 13, 2024

Can you elaborate a bit more on what you mean by mixed message buckets? :)

Each user has a message bucket
{ask reply time}
This is used to remember chat context.

Then each group also has a public bucket of messages.
This allows you to combine them, filter them, match and mix content.

like https://github.com/sudoskys/openai-kira/blob/main/src/openai_kira/utils/data.py#L175

Content can be produced dynamically each time a request is made to the Api.

I've included in https://github.com/sudoskys/openai-kira/blob/main/src/openai_kira/Chat/__init__.py#L184
Multi-dimensionally calculate the similarity of each entry to the prompt to achieve a match.

The message bucket is not infinitely long, preventing the traversal calculation from taking too long.
Although it may seem primitive, this is the method I am using to retrieve matches.

from gptdiscord.

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.