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

Custom Prompts Example Config, Docs #42

Merged
merged 10 commits into from
Jul 12, 2024
Merged

Custom Prompts Example Config, Docs #42

merged 10 commits into from
Jul 12, 2024

Conversation

falquaddoomi
Copy link
Collaborator

@falquaddoomi falquaddoomi commented Jul 9, 2024

This PR used to include example config, but that config will be included in rootstock; see PR manubot/rootstock#512.

This PR is required to merge manubot/rootstock#511, as it includes the documentation that that PR references.

This PR now mostly addresses changes from #43, i.e. updating the docs to reflect that the config files are now in ci rather than content, and that the config filenames now just include hyphens, not a mix of hyphens and underscores.

Other changes:

  • Fixed an issue in the custom prompts system where not specifying the files.default_prompt value would always resort to returning "default" rather than returning None. With this change, it's now possible to bypass the custom prompts system when no explicit filename matches are found, allowing default prompt resolution to take place.
  • Removed the default prompt from README.md, as it's now provided in the example config rather than hardcoded, and will later be provided in a default ai-revision-prompts.yaml file in manubot/rootstock.

… map default to all .md files. Adds instructions on what the example config files are and how to use them. Removes old default custom prompt from README.
…missing from _config.yaml, rather than resolving to 'default'
Copy link
Collaborator

@vincerubinetti vincerubinetti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM but I'm not completely up to speed on all the latest details in this project, so you might want to wait for Milton's review as well.

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

Successfully merging this pull request may close these issues.

2 participants