Skip to content

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

AWS Bedrock Chatbot

Explains the basic way of accessing Bedrock LLMs, with chatbot framework for Q n A in Multiple languages

Instrcution to setup this chatbot

  1. Get the access to the required LLM on AWS account. For this repo, its "Anthropic- Claude model sonnet". Once you get the access, copy the Model Id and save it for future usage.
  2. Get the User profile name which has access to the lLM .
  3. Every model has different input parameters for setting. The claude models have this -
  llm = BedrockChat(
    model_id=modelID,
    client=bedrock_client,
)
  1. Input variables for the LLM are 2 -Language and Input text.
  2. Max_char input is limited to 100 chars which can be changed -
freeform_text = st.sidebar.text_area(label="what is your question?",
    max_chars=100)

About

Explains the basic way of accessing Bedrock claude model , using chatbot framework for Q n A in Multiple languages

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages