Skip to content

Latest commit

 

History

History
86 lines (59 loc) · 3.37 KB

README.md

File metadata and controls

86 lines (59 loc) · 3.37 KB

Component LibrariesProject Templates
DocsInstallTutorialsDeveloper GuidesContributeBlogDiscord

Xircuits Component Library for AWS! Seamlessly integrate AWS services into your Xircuits workflows.


Xircuits Component Library for AWS

This component library provides AWS service integrations for Xircuits, including support for SQS, S3, and DynamoDB operations.

Table of Contents

Prerequisites

Before you begin, make sure you have the following:

  1. Python 3.9+.
  2. Xircuits.
  3. An AWS account with appropriate credentials configured.
  4. Python's boto3 library installed.

Main Xircuits Components

SQS Components

  • SQSSendMessage Component: Sends a message to an SQS queue.

    Image
  • SQSReceiveMessage Component: Receives messages from an SQS queue.

  • SQSDeleteMessage Component: Deletes a message from an SQS queue.

S3 Components

  • S3UploadFile Component: Uploads a file to an S3 bucket.

    Image
  • S3DownloadFile Component: Downloads a file from an S3 bucket.

  • S3ListObjects Component: Lists objects in an S3 bucket.

DynamoDB Components

  • DynamoDBPutItem Component: Inserts an item into a DynamoDB table.
  • DynamoDBGetItem Component: Retrieves an item from a DynamoDB table.
  • DynamoDBDeleteItem Component: Deletes an item from a DynamoDB table.

AWS Glue Components

  • GlueStartJobRun Component: Starts an AWS Glue job run.
  • GetGlueJobStatus Component: Retrieves the status of an AWS Glue job run.

AWS Bedrock Components

  • AWSBedrockClient Component: Initializes a Bedrock client.
  • AWSBedrockListModels Component: Lists available models from Bedrock.
  • AWSBedrockInvokeAnthropicModel Component: Invokes a model hosted on AWS Bedrock.

Installation

To use this component library, ensure that you have an existing Xircuits setup. You can then install the AWS library using the component library interface, or through the CLI using:

xircuits install aws

You can also install it manually by cloning the repository:

# base Xircuits directory

git clone https://github.com/XpressAI/xai-aws xai_components/xai_aws
pip install -r xai_components/xai_aws/requirements.txt