AI Security PoC Using LLM Guard


An AI Security proof of concept that leverage open source LLM Guard API

Published on March 10, 2024 by Dai Tran

project ai-security ai-powered-application blog

1 min READ

High Level Architecture and Design



Akamai Automation Framework

The framework architecture is built upon the following building blocks:

Infrastructure Setup

The following is the summary of the infrastructure setup:

  • The Azure OpenAI service is deployed and its access from Internet is controlled using the following:
    • Keys and endpoint
    • Networking firewall rules to allow access from selected IP ranges
  • LLM Guard API is deployed using the laiyer/llm-guard-api Docker image. Its Docker container is hosted on AWS EC2 c5a.8xlarge instance. The API access is made accessible from the Internet via an AWS Elastic IP address associated with the EC2 instance and restricted using the API AUTH_TOKEN.

Implementation