Socket
Book a DemoInstallSign in
Socket

wickr-bedrock-bot

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wickr-bedrock-bot

AWS Wickr's own Bedrock Bot

1.0.0-beta.0
latest
npmnpm
Version published
Maintainers
1
Created
Source

Wickr Bedrock Bot

This project is a WickrIO integration created via cookiecutter-wickr-bot

Installation

See the WickrIO Getting Started Guide.

Usage

Bedrock Bot understands the following commands:

Available commands in DMs

  • /clear - To clear the context in this conversation and start fresh
  • /model - To learn what model is currently in use, and switch to a different model in this conversation
  • /help - To generate a list of all available commands

Available commands in Rooms

  • /chat - To start a conversation with the Bedrock bot in a room, type /chat before the conversation text
  • /clear - To clear the context in this chat and start fresh
  • /model - To learn what model is currently in use in this conversation, and find out other available models/help - To generate a list of all available commands

Development

Prerequisites

  • AWS Account with appropriate permissions to Bedrock. Before you can chat with the bot, you need to enable access to the configured models within your AWS account.
  • Additionally, the host machine you're deploying from needs at least 2 CPU cores and 4GB of RAM to successfully run the WickrIOBedrock integration inside the WikcrIO docker container.
  • Create an IAM role for your EC2 instance with the following policy:
{"Version": "2012-10-17",

"Statement": [

    {

        "Sid": "VisualEditor0",

        "Effect": "Allow",

        "Action": [

            "bedrock:InvokeModel",

            "bedrock:Retrieve",

            "bedrock:RetrieveAndGenerate",

            "bedrock:GenerateQuery",

            "bedrock:GetKnowledgeBase"

        ],

        "Resource": "*"

    }

]}
  • Set up Knowledge base for your bedrock instance

Configuration

Edit model-config-yaml file to include/exclude the models you want to configure for the bedrock bot. Follow the link below to see supported tools https://docs.aws.amazon.com/bedrock/latest/userguide/conversation-inference-supported-models-features.html You can also configure other model parameters.

Edit app-config-yaml file to configure knowledge base id and guidelines accordingly.

Building

Run make to create a new software.tar.gz package, which can be installed as a WickrIO Custom Integration. See the WickrIO docs for more details.

Keywords

wickr

FAQs

Package last updated on 19 Jun 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.