-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Task: Generate examples for functions with an axis parameter (open idea) #116
Comments
I've created a script using groq and incorporated some security measures, such as masking github tokens using os environs.I have documented the script to explain what each item does. If anyone has suggestions for improvements or deletions, it would be greatly appreciated! I'm in the process of setting up my test environment. If you have any lack with it please share your findings.
|
When you have something ready remember you can submit a pull request to genai-numpy. I'm worried your code may submit a PR rather than just push to a branch. We do not want to flood numpy with PRs. |
How much feedback do you want at this stage? I'm guessing you need to play with things some more to see how it performs. Here's some initial thoughts.
I don't see any portion of the code above that generates examples using AI. Do you understand the axis parameter? The example you gave |
Thank you, Ben, for the feedback. Having these conversations helps me understand what needs to be done and how to proceed in the right direction. i'm currently experimenting with different approaches. I was using this issue swcarpentry/python-novice-inflammation#906 as a reference to understand the axis parameter. Are there other resources that I can get to help me better understand the axis parameter? |
Looks like a great resource. Keep searching the web. Have you used AI (GPT, Groq, Claude, etc.) to help you? I would hope that through a series of conversations with AI you can come to a better understanding, and even figure out a prompt, or series of prompts, that can help you generate examples with AI. That's our goal, namely find ways to use AI to help improve NumPy. Maybe the examples will need a good story around them (the one you pointed to has such a story). Based off recent discussions on your PRs, when you do find a way to prompt AI to generate the needed examples, look to see if the examples it generates come from somewhere on the web. Keep a record of your prompts (GPT does that automatically - for better or worse, but Groq will require you keep track of the prompts yourself). |
Description:
At the triage meeting, one place where additional examples could be welcome is functions that have an axis element. The axis parameter can be tricky (and many of the AI examples generated so far have completely gotten it wrong).
I bet we could design a better prompt that helps generate these types of examples, and includes an example to help understand the axis parameter.
Acceptance Criteria:
The text was updated successfully, but these errors were encountered: