Skip to content
Discussion options

You must be logged in to vote

Hey Andche1512,
A good approach is to use a “prompts” folder in your repo with subfolders per prompt family, and store a prompt.json manifest alongside each version file:
text
prompts/
web-browsing/
v1.0/
prompt.txt
metadata.yaml # {version: 1.0, date: 2024-05-01, description: "Initial prompt with basic instructions"}
v1.1/
prompt.txt
metadata.yaml

  • Tools: PromptFlow, LangSmith help track versions and provenance.
  • Git tags: Tag releases (git tag v1.1) to mark prompt snapshots.
  • CI integration: Use a CI job to validate prompt syntax and deploy the correct version to your evaluation servers.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by andche1512
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Programming Help Discussions around programming languages, open source and software development
2 participants