Prerequisites

Before install

Before using Isaac, you need to have an AWS account as well as credentials configured in your local machine.

Need to have access to foundational models in AWS Bedrock, currently only FM that have been tested are from AI21 Labs ai21.j2-mid-v1 and ai21.j2-ultra-v1, Needed for simple responses and text analysis. For image generation amazon.titan-image-generator-v1 has been tested and working correctly.

For PDFs analysis and text extraction from images users need to have access to AWS Textract.

Isaac init

Before starting to use the power of AWS Generative AI in your terminal, Isaac needs to create the init file.

The init config file gets created in the HOME directory and named .isaac_config.json

How to create the config file

To create this file, just write isaac i

isaac i 
This command will ask you for information to customize Isaac
Do you want to continue? 
yes for custom config, anything else for default config
default

If the user enters “yes”, Isaac will ask the user for the values one by one and then create the file, with this information.

This command will create file .isaac_config.json

{
    "region":"us-east-1",
    "model":"ai21.j2-ultra-v1",
    "imageModel":"amazon.titan-image-generator-v1",
    "s3bucket":"mybucket",
    "tokens":"200",
    "temperature":"0.5"
}

This values can be change later to modify the behaviour of Isaac, such as bucket to store prompts and responses, tokens and temperature for the text generation model.