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
{{ message }}
This repository has been archived by the owner on Nov 28, 2024. It is now read-only.
Middleware refers to software that provides common services and capabilities to applications outside of what's offered by the operating system. It acts as a bridge, enabling communication and data management for distributed applications. In this case, the middleware sits between the LLM (Large Language Model) layer and the user UI layer.
Why do we need middleware between the LLM layer and the user UI layer?
Middleware is essential here to ensure prompt anonymization and token management between user inputs and the LLM. It intercepts the prompt from the user, processes it to identify sensitive information, and replaces sensitive tokens with placeholder or alternate tokens. The middleware also handles the reverse mapping, allowing for seamless bi-directional conversion of anonymized content.
Middleware: What is it?
Middleware refers to software that provides common services and capabilities to applications outside of what's offered by the operating system. It acts as a bridge, enabling communication and data management for distributed applications. In this case, the middleware sits between the LLM (Large Language Model) layer and the user UI layer.
Why do we need middleware between the LLM layer and the user UI layer?
Middleware is essential here to ensure prompt anonymization and token management between user inputs and the LLM. It intercepts the prompt from the user, processes it to identify sensitive information, and replaces sensitive tokens with placeholder or alternate tokens. The middleware also handles the reverse mapping, allowing for seamless bi-directional conversion of anonymized content.
First Anonymization Middleware Layer
The input format for the middleware is simple:
cURL Example:
Expected Output:
The middleware will return the original prompt with target tokens that need to be replaced, along with a list of possible replacement tokens.
Feature Requirement:
Reference:
The text was updated successfully, but these errors were encountered: