I'll show you how to deploy a cloud function to AWS Lambda that uses the openai package to call the ChatGPT API and return the result.
#typescript #openaiapi #awslambda
🔗 Resources
Setting up AWS: https://aws.amazon.com/getting-starte...
Getting OpenAI API Access: https://platform.openai.com/docs/quic...
📖 Get my book - Developing on AWS with C#
https://www.oreilly.com/library/view/...
💻 Github
https://github.com/traintocode
🗣️ Social Media
/ jamesjcharlesworth
/ jcharlesworthuk
00:00 Introduction
02:45 Introduction to Serverless Framework
03:37 Creating the Lambda
07:42 Debugging
12:04 Deploy to AWS
12:40 Testing In Postman
13:10 Conclusion