Elara
A simple tool to anonymize LLM prompts.
Install / Use
/learn @amanvirparhar/ElaraREADME
Elara
A simple tool to anonymize LLM prompts.
Uses urchade/gliner_multi_pii-v1 for named entity recognition (NER).
Watch the demo to see Elara in action.
Components
- SvelteKit fullstack web app running on port
5173 - Python webserver to interact with the model running on port
8000
Setup
Python
First, if you don't have uv installed on your system, install it with the following commands (uv allows for easy package and version management for Python projects):
# On macOS and Linux.
curl -LsSf https://astral.sh/uv/install.sh | sh
# On Windows.
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
Then, start the Python webserver with uv:
cd python && uv run --python 3.12 --with-requirements requirements.txt main.py
Wait until you see INFO: Application startup complete. in the terminal before running and using the SvelteKit app (ensures that the model has been loaded and the server is ready to handle requests).
SvelteKit
Run the SvelteKit app with npm:
cd sveltekit && npm i && npm run dev
Usage
- Open the SvelteKit app in your browser at
http://localhost:5173. - Paste/write text into the "ORIGINAL TEXT" textarea.
- Click the "SUBMIT" button to anonymize the text.
- Copy the anonymized text, which will appear in the "ANONYMIZED TEXT" card.
- Paste the anonymized text into an LLM of your choice, and generate a response.
- Copy the LLM's response and paste it into the "ANONYMIZED LLM RESPONSE" textarea.
- The "DE-ANONYMIZED TEXT" card will show the de-anonymized version of the LLM's response, which you can copy and use as needed.
- If you'd like to modify any labels, please add or remove lines from
labels.txtin the project's root.
Related Skills
node-connect
344.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
96.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
344.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
344.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
