A lightweight RAG-style assistant for Rainbow Six Siege using AWS Lambda, Amazon S3, and SageMaker-hosted LLMs.
- AWS Lambda
- Amazon S3
- Amazon SageMaker
- IAM Roles & Policies
- Python SDK (boto3)
This project uses a serverless AWS architecture to answer questions regarding the popular tactical FPS shooter Tom Clancy's Rainbow Six Siege.
The Lambda function:
- Receives user input
- Reads operator data from S3
- Builds a contextual prompt
- Invokes a SageMaker-hosted LLM
- Returns the generated response
.
├── sagemaking.py
├── .gitignore
├── rainbow_op.json
├── LICENSE
└── README.md
| Service | Purpose |
|---|---|
| Lambda | Serverless backend |
| S3 | Stores operator dataset |
| SageMaker | LLM inference |
| IAM | Access management |
Upload rainbow_op.json
Deploy a text-generation LLM using Amazon SageMaker
Required permissions:
AWSLambdaBasicExecutionRoles3:GetObjects3:ListBucketsagemaker:InvokeEndpoint
- Runtime: Python
- Attach IAM roles
- Paste project code
Bucket="rainbow-six"
Key="rainbow_op.json"
EndpointName="meta-textgeneration-llama-2-7b"{
"user_input": "What does Mute do in Rainbow Six Siege?"
}
{
"user_input": "Does Tubarao's freeze work on Ying's candelas?"
}
{
"user_input": "Can Snake's radar detect Vigil?"
}
{
"response": "Mute is a defender in Rainbow Six Siege with a 2 speed and 2 armor rating. His Signal Disruptors jam attacker gadgets such as drones, breach devices, and electronic tools within their radius. He is commonly used to deny intel and protect reinforced walls from hard breachers."
}
{
"response": "Tubarao's Zoto Canisters can slow or temporarily disable Ying's Candelas if they pass through the freeze zone before activation. However, they do not permanently destroy the gadget like Jager's ADS or Wamai's MAG-NET systems."
}
{
"response": "Solid Snake's radar can have difficulty detecting Vigil while his ERC-7 cloaking ability is active. Vigil disrupts electronic intel devices, making him harder to track through observation and detection tools."
}MIT
