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

[FEAT] Event-driven persona updates #8

Open
NeonDaniel opened this issue Nov 16, 2024 · 1 comment · May be fixed by #10
Open

[FEAT] Event-driven persona updates #8

NeonDaniel opened this issue Nov 16, 2024 · 1 comment · May be fixed by #10
Assignees
Labels
enhancement New feature or request

Comments

@NeonDaniel
Copy link
Member

Objective

Rather than periodic synchronization (or maybe in addition), could PersonasPrivoder handle update events emitted by whatever service is defining new personas?

Initial Implementation Requirements

  • Handler for persona updates
  • Updated method for manual and/or periodic synchronization with the database

Other Considerations

With more focus on BrainForge LLMs, a larger portion of the LLMs will have a static list of personas defined for that specific LLM, rather than a mutable list of user-defined personas.

@NeonDaniel NeonDaniel added enhancement New feature or request triage New issue needs review and removed triage New issue needs review labels Nov 16, 2024
@NeonKirill
Copy link
Collaborator

@NeonDaniel sounds good to me, the only edge case issue I may think of is to make sure we acquire the up-to-date list of personas on the startup, so I would suggest to keep initial + polling synchronization, and add the proposed event-driven update. We may set this polling interval high enough so it wont affect performance but will ensure system stability

NeonDaniel added a commit to NeonGeckoCom/pyklatchat that referenced this issue Nov 26, 2024
…tted any time the server makes a change to the database

Leaves existing logic untouched to allow clients to request an update from the server at any time
Relates to NeonGeckoCom/neon-llm-core#8
NeonDaniel added a commit to NeonGeckoCom/pyklatchat that referenced this issue Nov 26, 2024
…tted any time the server makes a change to the database

Leaves existing logic untouched to allow clients to request an update from the server at any time
Relates to NeonGeckoCom/neon-llm-core#8
@NeonDaniel NeonDaniel linked a pull request Dec 3, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants