Skip to content
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

reference code examples #83

Open
shiffman opened this issue Apr 9, 2024 · 0 comments
Open

reference code examples #83

shiffman opened this issue Apr 9, 2024 · 0 comments

Comments

@shiffman
Copy link
Member

shiffman commented Apr 9, 2024

Especially for a backup, smaller on-device LLM, I might want to offer the agent a code example to work from.

  • basic bouncing ball
  • fractal tree

Obviously the idea isn't for it to copy/paste but for it to dream up its own ideas, I wouldn't mind having this available. We could build a parallel "code reference" context, even using an embedding to find the most similar code example to what it is trying to do.

For the live performance I would just have 2-3 hand-picked examples for a future more open-ended context, I could give it the entire library of Coding Train challenges. (ShiffBot has this.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant