You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/sessions.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -280,7 +280,8 @@ Use meaningful session IDs that help you organize conversations:
280
280
281
281
- Use in-memory SQLite (`SQLiteSession("session_id")`) for temporary conversations
282
282
- Use file-based SQLite (`SQLiteSession("session_id", "path/to/db.sqlite")`) for persistent conversations
283
-
- Consider implementing custom session backends for production systems (Redis, PostgreSQL, etc.)
283
+
- Use SQLAlchemy-powered sessions (`SQLAlchemySession("session_id", engine=engine, create_tables=True)`) for production systems with existing databases supported by SQLAlchemy
284
+
- Consider implementing custom session backends for other production systems (Redis, Django, etc.) for more advanced use cases
284
285
285
286
### Session management
286
287
@@ -376,3 +377,4 @@ For detailed API documentation, see:
0 commit comments