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

allow configuring gaby without writing code #47

Open
jba opened this issue Oct 24, 2024 · 0 comments
Open

allow configuring gaby without writing code #47

jba opened this issue Oct 24, 2024 · 0 comments

Comments

@jba
Copy link
Contributor

jba commented Oct 24, 2024

It should be possible to configure Gaby without modifying its code. Examples are:

  • The rules for the crawler
  • The replacement patterns for the commentfix.Fixer
  • The configuration for the related.Poster
  • Approvals for actions (or perhaps a simpler "dry run" mode)

The initial plan is to express these in a subset of Go. The config will be interpreted dynamically when it is loaded (not dynamically linked in as a plugin). @rsc is working on an interpreter.

The next step is to express the configuration in natural language and ask an LLM to translate it to Go. We would also use that ability to let users tell Gaby to perform high-level actions, but that is a separate goal.

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