Skip to content

Add guide for chat persistence #1382

Description

@joesaunderson

What problem are you trying to solve?

Thanks to @AndrewBarba we now have https://eve.dev/docs/guides/hooks#persist-events-to-your-own-database (as all events have stable IDs).

However, it’s still not immediately obvious to me how this should work.

Proposed solution

Create a new, dedicated guide on chat persistence. Some unanswered questions that I think this could answer:

  • Recommended schema for a ‘chat’ use case (and others)
  • How best to persist (and also restore) messages/events into chat (intialEvents etc)
  • How to relate to events (I.e. a named conversation/session like Claude)… how do we architect this in the schema?
  • Probably more…

Alternatives considered

Continue hacking my way through Fables lame attempts to decipher the docs!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions