PyLLM icon indicating copy to clipboard operation
PyLLM copied to clipboard

Unknown function arguments order

Open Tea2Jay opened this issue 5 months ago • 0 comments

Hello, There is a feature I would like it of it is in the code. Which is, after the function generation, I have to view the function code to know the arguments order.

here is a sample code:

from pyllm import CodeLLM

llm = CodeLLM()
func = llm.def_function('a function that writes random n paragraphs with new line for each one, in a file path passed',use_cached=False)
func("test.txt",5)

Sometimes rerunning the code the order of the arguments is flipped. If there is a way to know the arguments like hovering over the function or when calling it like this image: Screenshot 2021-07-14 165030 It would be so much helpful.

in my case, passing string to int will throw an issue but if there is two arguments or more as the same type will be in issue to pinpoint

Tea2Jay avatar Feb 03 '24 14:02 Tea2Jay