If your application uses OpenAI APIs, should your prompts go into version control? I reckon *some* kind of version for control for OpenAI prompts and configuration should be used as you improve and fine-tune them.

  • 6
    ALL! of your code should go to version control.

    that oughta be a no-brainer, tbh.
  • 2
    @tosensei amen everything that's important to me is in version control
  • 1
    Same, I've been forgetting my API keys when switching between environments so I checked .env into git. Much easier now.
  • 1
    It should all go into version control, but your tests should account for the fact that the same prompt can, and will give different responses.
  • 0
    @AlmondSauce Depending on how the model works, fixing the seed might be enough to get reliable output.
Add Comment