2 releases
0.1.1 | Jan 12, 2024 |
---|---|
0.1.0 | Jan 12, 2024 |
#1583 in Procedural macros
25KB
88 lines
AI write
Description
Bring non-determinstic programming to Rust with AI
macro functions
- ai_write : make AI (chatgpt) write code that is inserted (TODO : create aliases like i_am_a_lazy_dev or others)
- random_shit_go_brrr : generate a random string / a random string with words then feed it to the ai to generate code (or just set randomness to very random) (TODO)
How to use this
You need to set the OPENAI_API_KEY to your OpenAI api key. You will be charged for every api request at this pricing : https://openai.com/pricing
Dependencies
~5.5MB
~110K SLoC