Hello, I'm getting below error when I try to run this in docker
aws_session_token is not provided, but error is for aws_region_name
How I can fix the problem ? Thanks
llm = Bedrock(
^^^^^^^^
TypeError: Bedrock.
init() got an unexpected keyword argument 'aws_region_name'
from llama_index.llms import Bedrock
import os
from dotenv import load_dotenv
load_dotenv()
llm = Bedrock(
model="amazon.titan-text-express-v1",
aws_access_key_id=os.getenv('AWS_ACCESS_KEY_ID'),
aws_secret_access_key=os.getenv('AWS_SECRET_ACCESS_KEY'),
aws_region_name="us-west-2",
)
resp = llm.complete("Paul Graham is ")