Comments (5)
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.
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.
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.
Can you elaborate a bit more on what you mean by mixed message buckets? :)
from gptdiscord.
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)
- 8k context limit for 16k models with .txt attachments HOT 9
- Inadequate prompting for drawing conversations HOT 1
- [BUG] response timeout when indexing HOT 2
- Feature Request: Integration of Ollama Model HOT 1
- Ability to translate system messages HOT 4
- [BUG] /internet search can fail to cite the source used
- Invalid Image Error (recent) HOT 2
- not sending answer when i used internet search [BUG] HOT 2
- I think you'll enjoy this :) HOT 2
- [BUG] Bot not responding to mentions in reply HOT 3
- [BUG] Taggable mentions overriding converse opener HOT 1
- Assign opener or opener_file's to other users
- Model based permissions
- Credits system for DALL E
- openrouter support for additional models. For example, Mistral works with openai request structure HOT 1
- Add drawing support to mention HOT 1
- Is it possible to add custom proxy? HOT 2
- non-vision image interpretation issues HOT 1
- Music generation with Meta MusicGen
- [BUG] Poor handling of the dot operator in math expressions HOT 2
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 gptdiscord.