1 unstable release
| 0.1.0 | Aug 6, 2024 |
|---|
#15 in #bedrock
38KB
756 lines
Itsuki Bedrock Assistant
A CLI assistant (chat tool) powered by AWS Bedrock Converse API with the capabilities to
- chat
- generate images
- answer questions on files
Install
This tool can be installed using cargo install itsuki_bedrock_assistant.
Requirements
- AWS Account with Bedrock enabled
- Default region:
us-east-1
- Default region:
- Give model access to the models you are planning to use
- Default Chat Model ID:
anthropic.claude-3-haiku-20240307-v1:0 - Default Image Generation Model ID:
amazon.titan-image-generator-v1
- Default Chat Model ID:
- Set up AWS CLI
- If you use SAML for your AWS account, consider setting up using
saml2aws.
- If you use SAML for your AWS account, consider setting up using
Optional Set up
- If a different chat model, image generation model, or region other than the default one need to be used, add the following environment variable to your system.
- For Chat Model:
BEDROCK_CHAT_MODEL_ID - For Image Generation Model:
BEDROCK_IAMGE_MODEL_ID - For Region:
BEDROCK_REGION
Usage
- Sign in through AWS Command Line Interface
- To start the app: type
itsuki_bedrock_assistantin the terminal. - To chat: type in your message and press
enterorreturn. - To exit the app: press
ESCorCtrl+C.
Example queries for image generation:
- Generate a cute hello world image in the test folder.
- Generate 2 mathematics image of size 1024 * 1024 in the current folder.
Example queries for questioning regarding files:
- Summarize the content in ./test/test.pdf.
Demo

Coming Soon
Here are some of the tools/capabilities I am currently working on.
- Image variation
- artifacts for content visualization
- code interpreter
If you have any other suggestiont, leave me a cooment, I would be happy to know!
Dependencies
~31–49MB
~710K SLoC