pydantic core issue when trying to call ChatGPT in AWS Lambda Function
I’m working on an AWS project where a file is uploaded to a specific S3 bucket, which then triggers an AWS Lambda function. This function reads the uploaded JSON file, asks GPT to summarize the text, and then writes the summary to a new JSON file in a separate S3 bucket.