Drwaish/DebugAndDocstringPrompt

Zain Ali Nasir

0

Software Engineer

AI Developer

AWS Lambda

OpenAI

Lambda Function

Setup Repo

git clone https://github.com/Drwaish/DebugAndDocstringPrompt.git cd DebugAndDocstringPrompt
Install dependencies
Paste openai api key for smooth running of code.
Open Repository in Visual Studio Code.
For locally test lambda function.
python lambda_function.py
For remotely test lambda function.

Follow following steps

Enter url in 'URL' variable
Paste your code in 'code' variable
Uncomment your request choice
Timeout for POST request is 5 seconds. If Internet connection is slow increase timeout span. Then
python script.py

Debug Function

User hit the lambda function with this payload.

Payload

Write Docstring

Write Docstring in Numpy Style

Payload return the docstring in google style.

Write Docstring in Google Style

Payload return the docstring in google style.

Important Note:

Use script.py to test your lambda.

Deploy on AWS Lambda and automate your work.
Like this project
0

lambda function to debug and docstring writing in two different styles Numpy and Google style. - GitHub - Drwaish/DebugAndDocstringPrompt: lambda function to …

Likes

0

Views

0

Tags

Software Engineer

AI Developer

AWS Lambda

OpenAI

Zain Ali Nasir

AI Developer for ML,NLP and Generative AI

Online Speech recognition using RNN-Transducer
Online Speech recognition using RNN-Transducer
ProPainter_pro
ProPainter_pro