AI tool – A Codex Model

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:
  1. Start with comments, data or code
  2. Specify programming language
  3. Specify libraries to use by codex
  4. Creating example data
  5. Comment inside function can be helpful
  6. Provide the example for more precise result
  7. Writing unit tests
  8. Checking the code for errors
  9. Convert code into other languages
  10. Rewriting code for a library

Leave a Reply

Your email address will not be published. Required fields are marked *