Call Claude on Amazon Bedrock using LangChain
Several examples of calling Claude within Bedrock, they include:
- Calling Sonnet & Haiku
- Calling Sonnet with Streaming
- Using System Prompt (now you can separate LLM instructions from Human questions)
- Calling Sonnet with an Image Prompt
- Calling Sonnet with multiple images
Run before using the notebook:
pip install langchain boto3
You also need to have active credentials + the appropriate role to call Bedrock in your account.