Inline Instruction

Inline instruction is a special mechanism that allows users to provide specific guidance to AI models during the process of source code related tasks. Users can give instructions on how certain parts of the code should be modified or optimized by using <ai>...</ai> tags in comments within the code.

For example, the instruction <ai>Rename function Bar into Foo</ai> tells to AI-based service to rename a Foo function into Bar.

The feature is particularly useful when working with complex codebases or when trying to achieve specific outcomes in the generated code. By providing these inline instructions, users can ensure that the AI model produces code that meets their exact requirements and specifications.

One key benefit of using inline instruction is that it allows users to fine-tune the output of the AI model without having to manually edit the code afterwards. This can save time and effort, as users can quickly and easily make adjustments to the generated code without having to start from scratch.

Overall, inline instruction is a powerful feature that enhances the capabilities of AI models when generating source code. By providing specific guidance and instructions, users can ensure that the code produced meets their exact needs and requirements, leading to more efficient and effective development processes.