AWS Developers | Teaching an LLM to do Math @awsdevelopers | Uploaded 1 day ago | Updated 1 hour ago
Learn how to teach large language models to perform precise calculations and retrieve real-time data using tool use with Amazon Bedrock's Converse API. In this video, we use a simple cosine example to define a tool, send the tool config to the model along with a prompt "What is the cosine of 7?", and then we show how to handle errors when the tool is unavailable. You can use the tool use feature to extend an LLMs functionality.
Resources:
🛠️ GitHub repo: github.com/awsdocs/aws-doc-sdk-examples/tree/main/python/example_code/bedrock-runtime/cross-model-scenarios/tool_use_demo
🌐 Community.AWS Post: https://community.aws/content/2hW5367isgQOkkXLYjp4JB3Pe16/intro-to-tool-use-with-the-amazon-bedrock-converse-api?lang=en
📚 Learn more: aws.amazon.com/bedrock/?trk=e532db9e-0332-409b-96e3-ce6e2b9a74c5&sc_channel=sm
Follow AWS Developers!
📺 Instagram: instagram.com/awsdevelopers/?hl=en
🆇 X: https://x.com/awsdevelopers
💼 LinkedIn: linkedin.com/showcase/aws-developers
👾 Twitch: twitch.tv/aws
Follow Jenna!
📺 Instagram: instagram.com/jennanerdsout
💼 LinkedIn: linkedin.com/in/jennapederson
🆇 X: https://x.com/jennapederson
#amazonbedrock #mathematics #AWS
Learn how to teach large language models to perform precise calculations and retrieve real-time data using tool use with Amazon Bedrock's Converse API. In this video, we use a simple cosine example to define a tool, send the tool config to the model along with a prompt "What is the cosine of 7?", and then we show how to handle errors when the tool is unavailable. You can use the tool use feature to extend an LLMs functionality.
Resources:
🛠️ GitHub repo: github.com/awsdocs/aws-doc-sdk-examples/tree/main/python/example_code/bedrock-runtime/cross-model-scenarios/tool_use_demo
🌐 Community.AWS Post: https://community.aws/content/2hW5367isgQOkkXLYjp4JB3Pe16/intro-to-tool-use-with-the-amazon-bedrock-converse-api?lang=en
📚 Learn more: aws.amazon.com/bedrock/?trk=e532db9e-0332-409b-96e3-ce6e2b9a74c5&sc_channel=sm
Follow AWS Developers!
📺 Instagram: instagram.com/awsdevelopers/?hl=en
🆇 X: https://x.com/awsdevelopers
💼 LinkedIn: linkedin.com/showcase/aws-developers
👾 Twitch: twitch.tv/aws
Follow Jenna!
📺 Instagram: instagram.com/jennanerdsout
💼 LinkedIn: linkedin.com/in/jennapederson
🆇 X: https://x.com/jennapederson
#amazonbedrock #mathematics #AWS