Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancing Sydney's Functionality with Multiple Instances and Context Management #35

Closed
Luisotee opened this issue May 30, 2023 · 0 comments
Labels
feature/enhancement Improves/adds new functionality

Comments

@Luisotee
Copy link
Member

Currently, Sydney operates as a single instance. However, as we expand her features, the growing complexity of the input context causes more frequent instances of hallucinations. This poses a challenge when implementing new features, as suggested in issues #13, #20, #6, and #23.

To address this issue, we propose implementing multiple instances of Sydney and GPT 3.5, each with its own dedicated context for executing specific functions. These AI instances would be invoked by the "main" Sydney instance. The main instance will consistently receive user messages and output a JSON object that can be processed in the code to determine which instance to call.

For instance, consider the following example:

User: Remind me to buy food at 13:00

Main GPT instance output:

{
   "instace" : "reminder
}

inside the code:

if (GPTJson.intance == "reminder") {
  //calls reminder instance
} else if (GPTJson.intance  == "assistant") {
  //calls assistant instance
}

This approach will allow us to create separate instances for various purposes, such as group-specific functionality, personal assistants, and any potential future additions. By effectively managing context and utilizing multiple instances, we can mitigate the issue of hallucinations and facilitate the smooth integration of new features into Sydney's framework.

@Luisotee Luisotee added the feature/enhancement Improves/adds new functionality label May 30, 2023
@Luisotee Luisotee closed this as completed Oct 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature/enhancement Improves/adds new functionality
Projects
None yet
Development

No branches or pull requests

1 participant