-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: move prompt templates to files (#593)
* (docs): update docstrings, update custom-prompts.md * (chore): enhance type hinting * (fix): add missing `FileBasedPrompt` in module __init__.py
- Loading branch information
1 parent
a228bfe
commit 6a4695d
Showing
3 changed files
with
41 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
from .base import AbstractPrompt | ||
from .base import AbstractPrompt, FileBasedPrompt | ||
from .correct_error_prompt import CorrectErrorPrompt | ||
from .generate_python_code import GeneratePythonCodePrompt | ||
|
||
__all__ = [ | ||
"AbstractPrompt", | ||
"CorrectErrorPrompt", | ||
"GeneratePythonCodePrompt", | ||
"FileBasedPrompt", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters