Skip to content

Conversation

@GFJHogue
Copy link
Collaborator

@GFJHogue GFJHogue commented Mar 26, 2025

This PR enables User Feedback 👍👎 on the Guest instance by enabling Chainlit's data layer.
Feedback comments are safely inserted into the DB as recommended by SQLAlchemy/Psycopg for string sanitation.

Seems to work fine with both instances using the same Chainlit DB.


Also added the option to enable the S3StorageClient for Chainlit Elements persistence.
In our current app, this would enable persisted search results.
To enable this, define S3_BUCKET and S3_CHAINLIT_PREFIX in .env.

@GFJHogue GFJHogue self-assigned this Mar 26, 2025
@GFJHogue GFJHogue requested a review from adamjohnwright March 26, 2025 19:39
@GFJHogue GFJHogue marked this pull request as ready for review March 26, 2025 19:39
@adamjohnwright adamjohnwright merged commit 8bd10c9 into main Mar 26, 2025
8 checks passed
@adamjohnwright adamjohnwright deleted the enhance-guest branch March 26, 2025 23:29
GFJHogue pushed a commit that referenced this pull request Apr 17, 2025
User Feedback on Guest + S3StorageClient
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants