llama-index packs - secgpt pack
Project description
SecGPT Pack
SecGPT is an LLM-based system that secures the execution of LLM apps via isolation. The key idea behind SecGPT is to isolate the execution of apps and to allow interaction between apps and the system only through well-defined interfaces with user permission. SecGPT can defend against multiple types of attacks, including app compromise, data stealing, inadvertent data exposure, and uncontrolled system alteration. The architecture of SecGPT is shown in the figure below. Learn more about SecGPT in our paper.
We develop SecGPT using LlamaIndex, an open-source LLM framework. We use LlamaIndex because it supports several LLMs and apps and can be easily extended to include additional LLMs and apps. We implement SecGPT as a personal assistant chatbot, which the users can communicate with using text messages.
A comprehensive notebook guide is available here. In the meantime, you can explore its features by comparing the execution flows of SecGPT and VanillaGPT (a non-isolated LLM-based system defined here) in response to the same query.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for llama_index_packs_secgpt-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf220d5b55842de81f0998d2caae2a2ba8ed225bed459f24d2d929a78a1d8a03 |
|
MD5 | 00598e9fa12973b6a1652784ecd35b02 |
|
BLAKE2b-256 | 8824c1e9557142b956a786a33c146cc815fe042573d2af3959ce1b9fced068d9 |
Hashes for llama_index_packs_secgpt-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d45d0a0113c73f80fe8604a653054f375b7a5fdcc02f5ee35b15052eb2b1cf6b |
|
MD5 | 10c4a540ab1d61ee036af28ec4978f67 |
|
BLAKE2b-256 | 5cf297ad10493a0970ec08c1fc733f53de518e5bf48799437b7925bef5255edc |