Skip to content

SQLAlchemy Session Store for Production Databases #1328

@habema

Description

@habema

The current SQLiteSession is excellent for development and simple use cases. For production environments, it would be highly beneficial to support more robust databases like PostgreSQL or MySQL for storing conversation history.

Would the project be open to a contribution that adds a new SQLAlchemySession class?

This would implement the existing Session protocol, allowing users to connect to any database supported by SQLAlchemy. It would be an optional feature, and sqlalchemy would be an extra dependency.

If this sounds like a welcome addition, I'm happy to contribute a PR.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions