ai-write

Crates.ioai-write
lib.rsai-write
version0.1.1
sourcesrc
created_at2024-01-12 22:23:43.136853
updated_at2024-01-12 22:26:46.453881
descriptionMacro inserting ChatGPT responses into rust code at compile-time
homepagehttps://github.com/Vinz2008/ai-write-rs
repositoryhttps://github.com/Vinz2008/ai-write-rs
max_upload_size
id1098078
size76,324
(Vinz2008)

documentation

README

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

Commit count: 0

cargo fmt