Deprecated
β Sync with GitHub (Alpha)
Serialize prompt template info in JSON to sync with GitHub.
To sync prompts from a GitHub repo, place each prompt in a .json file under a folder named βpromptsβ in your root directory. Place each prompts test cases in a folder named βtestsβ. The test cases file should have the same name as the prompt file.
- /repository-root
- /prompts
_ prompt-1.json
_ prompt-2.json - /tests
_ prompt-1.json
_ prompt-2.json
- /prompts
We support the serliazation LangChain uses. A basic example:
Test file: