Address
701-702 Broadway Empire, Gotri-Bhayli Road, Vadodara, Gujarat - 391410.
AI tool – A Codex Model
The codex model part of GTP-3 Series that’s been trained on both natural language and billions of lines of code.
A Codex models can do the,
- Code Blocks
- Example data
- Explain/document code
- Rewrite the code (efficiency)
- etc.
Codex model does not support all the programming language, but it does support quite a few of them are,
- Python
- C#
- JavaScript
- Go
- Perl
- PHP
- Ruby
- Swift
- TypeScript
- SQL
- Shell
Please add in the comment if any languages I missed that support by Codex model
Best Practices:
- Start with comments, data or code
- Specify programming language
- Specify libraries to use by codex
- Creating example data
- Comment inside function can be helpful
- Provide the example for more precise result
- Writing unit tests
- Checking the code for errors
- Convert code into other languages
- Rewriting code for a library