moved custom instructions

This commit is contained in:
Elias Bachaalany
2024-03-08 10:35:38 -08:00
parent d3fa35bbc9
commit a701d8369f
3 changed files with 1120 additions and 1120 deletions

View File

@@ -135,7 +135,7 @@ def parse_gpturl(url: str) -> Union[GptIdentifier, None]:
def get_prompts_path() -> str:
"""Return the path to the prompts directory."""
return os.path.abspath(os.path.join(os.path.dirname(__file__), '..', 'prompts', 'gpts'))
return os.path.abspath(os.path.join(os.path.dirname(__file__), '..', 'CustomInstructions', 'ChatGPT'))
def enum_gpts() -> Generator[Tuple[bool, Union[GptMarkdownFile, str]], None, None]:
"""Enumerate all the GPT files in the prompts directory, parse them and return the parsed GPT object."""