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

Update PythonListCustomToolGenerator to support overriding system prompt #271

Merged
merged 1 commit into from
Feb 6, 2025

Conversation

ehhuang
Copy link
Contributor

@ehhuang ehhuang commented Feb 3, 2025

Summary:

Support user supplied prompt template in PythonListCustomToolGenerator. This is to allow user to provided their own system prompt without having to format function descirptions.

Test Plan:
python -m unittest llama_models.llama3.tests.prompt_templates.test_system_prompts

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Meta Open Source bot. label Feb 3, 2025
@ehhuang ehhuang marked this pull request as ready for review February 3, 2025 18:40
Copy link
Contributor

@ashwinb ashwinb left a comment

Choose a reason for hiding this comment

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

lg

Summary:

Support user supplied prompt template in PythonListCustomToolGenerator. This is to allow user to provided their own system prompt without having to format function descirptions.

Test Plan:
python -m unittest llama_models.llama3.tests.prompt_templates.test_system_prompts
@ehhuang ehhuang merged commit 1f39f92 into main Feb 6, 2025
1 check passed
@ehhuang ehhuang deleted the pr271 branch February 6, 2025 04:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Meta Open Source bot.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants