CarletonComputerScienceSociety / ai-discord-bot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Write an LLM request function that can analyze a block of code and comment on it

AngelOnFira opened this issue · comments

This should be able to take a block of code like:

def function_1():
	a = 2
	return a + a

This code might suggest to give better function names, or to add some comments. The prompt will likely include the code snippet, along with some instructions about what "good code" should look like.