Repository navigation
LibreChat as a private conversational interface for client-owned AWS deployments #18242
Replies: 5 comments 3 replies
|
Spelling out that Bedrock sits behind your own middleware helped, thank you; it made 1 and 3 quick to check against current For 1 and 3 the answer is yes, as long as the middleware is a custom endpoint and LibreChat's native Bedrock endpoint stays off. Header templates live in the admin's endpoints:
custom:
- name: "Sovereign"
apiKey: "${MIDDLEWARE_KEY}"
baseURL: "https://middleware.internal/v1" # must accept OpenAI chat/completions
models:
default: ["your-model-id"]
headers:
X-User-Id: "{{LIBRECHAT_USER_ID}}"
X-User-Email: "{{LIBRECHAT_USER_EMAIL}}"
X-Id-Token: "{{LIBRECHAT_OPENID_ID_TOKEN}}"I ran Keep the last line out of identity decisions: I'd avoid Any one of |
|
For the retention part: 0.8.9 added an interface:
retentionMode: "ephemeral"
temporaryChatRetention: 1It forces every chat to be a temporary chat (users can't switch it off) and puts an expiry on the stored data, so MongoDB's TTL index drops conversations and messages that many hours after they're written. 1 is the minimum, the default is 720. Multi-turn context works as normal while the messages exist, so set it longer than your longest session. It's expiry rather than zero storage, so DB backups taken inside that window and any logs you ship elsewhere are on your side. On licensing, the repo is plain MIT. That allows separate client-hosted installs without a commercial agreement, as long as the copyright and license notice stay in. For branding without a fork, |
|
Hi, Thank you for the detailed responses on middleware integration, identity forwarding, retention and licensing. They've been very helpful in assessing LibreChat against our architecture. We have one remaining area we'd like to understand more thoroughly before determining technical suitability: conversation data persistence. Our architecture permits multi-turn context during an active session, but seeks to minimise or eliminate persistent storage of conversation content. Could you clarify five points?
We're not expecting LibreChat to manage the surrounding AWS backup or logging infrastructure; those remain our responsibility. We're simply trying to establish the application's native retention boundaries and available controls. Thanks again for your assistance. |
|
Hi, Thank you for the detailed responses on middleware integration, identity forwarding, retention and licensing. They've been very helpful in assessing LibreChat against our architecture. We have one remaining area we'd like to understand more thoroughly before determining technical suitability: conversation data persistence. Our architecture permits multi-turn context during an active session, but seeks to minimise or eliminate persistent storage of conversation content. Could you clarify five points?
We're not expecting LibreChat to manage the surrounding AWS backup or logging infrastructure; those remain our responsibility. We're simply trying to establish the application's native retention boundaries and available controls. Thanks again for your assistance. |
|
Guys, you have been enormously helpful and very detailed - thank you, there are no follow up questions from here. |
Uh oh!
There was an error while loading. Please reload this page.
Hello LibreChat team,
We're evaluating LibreChat as the conversational interface for the Sovereign Engine, an operational architecture we provide for founder-led businesses.
Each implementation would be independently owned and hosted by the client within their AWS environment. The underlying architecture uses Amazon Bedrock and client-controlled middleware to manage authentication, knowledge retrieval, role-based permissions and auditability.
We're looking for an established conversational interface rather than developing and maintaining one ourselves.
Before progressing, we'd appreciate clarification on four points:
We're particularly interested in achieving these requirements through supported configuration rather than maintaining a customised fork.
We're at the stage of qualifying potential interfaces for forthcoming implementations and would welcome an indication of whether LibreChat would be a suitable candidate.
Many thanks.
All reactions