In reinvent in 2023, we announced the optimized integration between bedrock and step functions.
Before this, for bedrock and Step functions to work you have to write the Lambda function, invoke it from workflow and that lambda function will call Bedrock.
This new integration has a lot of benefits and its simplifies your application. It comes with two APIs: create model customization job and the invoke model.
So let's look at the first API: create model customization job. This API helps you to customize a foundational model with your own data. You can input where is your data in S3 and which model you want to fine tune with your data. Because this is a long-running process. You can use the sync method. And when the fine tuning stops, the workflow will resume.
The second API is the invoke model. It invokes a foundational models in Bedrock from the workflow
#aws #amazonwebservice #reinvent #stepfunctions #bedrock #genai
#short
28 сен 2024