• About
  • Advertise
  • Privacy & Policy
  • Contact
Friday, January 9, 2026
  • Login
  • Home
    • Home – Layout 1
    • Home – Layout 2
    • Home – Layout 3
    • Home – Layout 4
    • Home – Layout 5
    • Home – Layout 6
  • News
    • All
    • Business
    • Politics
    • Science
    • World
    Hillary Clinton in white pantsuit for Trump inauguration

    Hillary Clinton in white pantsuit for Trump inauguration

    Amazon has 143 billion reasons to keep adding more perks to Prime

    Amazon has 143 billion reasons to keep adding more perks to Prime

    Shooting More than 40 Years of New York’s Halloween Parade

    Shooting More than 40 Years of New York’s Halloween Parade

    These Are the 5 Big Tech Stories to Watch in 2017

    These Are the 5 Big Tech Stories to Watch in 2017

    Why Millennials Need to Save Twice as Much as Boomers Did

    Why Millennials Need to Save Twice as Much as Boomers Did

    Doctors take inspiration from online dating to build organ transplant AI

    Doctors take inspiration from online dating to build organ transplant AI

    Trending Tags

    • Trump Inauguration
    • United Stated
    • White House
    • Market Stories
    • Election Results
  • Tech
    • All
    • Apps
    • Gadget
    • Mobile
    • Startup
    The Legend of Zelda: Breath of the Wild gameplay on the Nintendo Switch

    The Legend of Zelda: Breath of the Wild gameplay on the Nintendo Switch

    Shadow Tactics: Blades of the Shogun Review

    Shadow Tactics: Blades of the Shogun Review

    macOS Sierra review: Mac users get a modest update this year

    macOS Sierra review: Mac users get a modest update this year

    Hands on: Samsung Galaxy A5 2017 review

    Hands on: Samsung Galaxy A5 2017 review

    The Last Guardian Playstation 4 Game review

    The Last Guardian Playstation 4 Game review

    These Are the 5 Big Tech Stories to Watch in 2017

    These Are the 5 Big Tech Stories to Watch in 2017

    Trending Tags

    • Nintendo Switch
    • CES 2017
    • Playstation 4 Pro
    • Mark Zuckerberg
  • Entertainment
    • All
    • Gaming
    • Movie
    • Music
    • Sports
    The Legend of Zelda: Breath of the Wild gameplay on the Nintendo Switch

    The Legend of Zelda: Breath of the Wild gameplay on the Nintendo Switch

    macOS Sierra review: Mac users get a modest update this year

    macOS Sierra review: Mac users get a modest update this year

    Hands on: Samsung Galaxy A5 2017 review

    Hands on: Samsung Galaxy A5 2017 review

    Heroes of the Storm Global Championship 2017 starts tomorrow, here’s what you need to know

    Heroes of the Storm Global Championship 2017 starts tomorrow, here’s what you need to know

    Harnessing the power of VR with Power Rangers and Snapdragon 835

    Harnessing the power of VR with Power Rangers and Snapdragon 835

    So you want to be a startup investor? Here are things you should know

    So you want to be a startup investor? Here are things you should know

  • Lifestyle
    • All
    • Fashion
    • Food
    • Health
    • Travel
    Shooting More than 40 Years of New York’s Halloween Parade

    Shooting More than 40 Years of New York’s Halloween Parade

    Heroes of the Storm Global Championship 2017 starts tomorrow, here’s what you need to know

    Heroes of the Storm Global Championship 2017 starts tomorrow, here’s what you need to know

    Why Millennials Need to Save Twice as Much as Boomers Did

    Why Millennials Need to Save Twice as Much as Boomers Did

    Doctors take inspiration from online dating to build organ transplant AI

    Doctors take inspiration from online dating to build organ transplant AI

    How couples can solve lighting disagreements for good

    How couples can solve lighting disagreements for good

    Ducati launch: Lorenzo and Dovizioso’s Desmosedici

    Ducati launch: Lorenzo and Dovizioso’s Desmosedici

    Trending Tags

    • Golden Globes
    • Game of Thrones
    • MotoGP 2017
    • eSports
    • Fashion Week
  • Review
    The Legend of Zelda: Breath of the Wild gameplay on the Nintendo Switch

    The Legend of Zelda: Breath of the Wild gameplay on the Nintendo Switch

    Shadow Tactics: Blades of the Shogun Review

    Shadow Tactics: Blades of the Shogun Review

    macOS Sierra review: Mac users get a modest update this year

    macOS Sierra review: Mac users get a modest update this year

    Hands on: Samsung Galaxy A5 2017 review

    Hands on: Samsung Galaxy A5 2017 review

    The Last Guardian Playstation 4 Game review

    The Last Guardian Playstation 4 Game review

    Intel Core i7-7700K ‘Kaby Lake’ review

    Intel Core i7-7700K ‘Kaby Lake’ review

No Result
View All Result
Ai News
Advertisement
  • Home
    • Home – Layout 1
    • Home – Layout 2
    • Home – Layout 3
    • Home – Layout 4
    • Home – Layout 5
    • Home – Layout 6
  • News
    • All
    • Business
    • Politics
    • Science
    • World
    Hillary Clinton in white pantsuit for Trump inauguration

    Hillary Clinton in white pantsuit for Trump inauguration

    Amazon has 143 billion reasons to keep adding more perks to Prime

    Amazon has 143 billion reasons to keep adding more perks to Prime

    Shooting More than 40 Years of New York’s Halloween Parade

    Shooting More than 40 Years of New York’s Halloween Parade

    These Are the 5 Big Tech Stories to Watch in 2017

    These Are the 5 Big Tech Stories to Watch in 2017

    Why Millennials Need to Save Twice as Much as Boomers Did

    Why Millennials Need to Save Twice as Much as Boomers Did

    Doctors take inspiration from online dating to build organ transplant AI

    Doctors take inspiration from online dating to build organ transplant AI

    Trending Tags

    • Trump Inauguration
    • United Stated
    • White House
    • Market Stories
    • Election Results
  • Tech
    • All
    • Apps
    • Gadget
    • Mobile
    • Startup
    The Legend of Zelda: Breath of the Wild gameplay on the Nintendo Switch

    The Legend of Zelda: Breath of the Wild gameplay on the Nintendo Switch

    Shadow Tactics: Blades of the Shogun Review

    Shadow Tactics: Blades of the Shogun Review

    macOS Sierra review: Mac users get a modest update this year

    macOS Sierra review: Mac users get a modest update this year

    Hands on: Samsung Galaxy A5 2017 review

    Hands on: Samsung Galaxy A5 2017 review

    The Last Guardian Playstation 4 Game review

    The Last Guardian Playstation 4 Game review

    These Are the 5 Big Tech Stories to Watch in 2017

    These Are the 5 Big Tech Stories to Watch in 2017

    Trending Tags

    • Nintendo Switch
    • CES 2017
    • Playstation 4 Pro
    • Mark Zuckerberg
  • Entertainment
    • All
    • Gaming
    • Movie
    • Music
    • Sports
    The Legend of Zelda: Breath of the Wild gameplay on the Nintendo Switch

    The Legend of Zelda: Breath of the Wild gameplay on the Nintendo Switch

    macOS Sierra review: Mac users get a modest update this year

    macOS Sierra review: Mac users get a modest update this year

    Hands on: Samsung Galaxy A5 2017 review

    Hands on: Samsung Galaxy A5 2017 review

    Heroes of the Storm Global Championship 2017 starts tomorrow, here’s what you need to know

    Heroes of the Storm Global Championship 2017 starts tomorrow, here’s what you need to know

    Harnessing the power of VR with Power Rangers and Snapdragon 835

    Harnessing the power of VR with Power Rangers and Snapdragon 835

    So you want to be a startup investor? Here are things you should know

    So you want to be a startup investor? Here are things you should know

  • Lifestyle
    • All
    • Fashion
    • Food
    • Health
    • Travel
    Shooting More than 40 Years of New York’s Halloween Parade

    Shooting More than 40 Years of New York’s Halloween Parade

    Heroes of the Storm Global Championship 2017 starts tomorrow, here’s what you need to know

    Heroes of the Storm Global Championship 2017 starts tomorrow, here’s what you need to know

    Why Millennials Need to Save Twice as Much as Boomers Did

    Why Millennials Need to Save Twice as Much as Boomers Did

    Doctors take inspiration from online dating to build organ transplant AI

    Doctors take inspiration from online dating to build organ transplant AI

    How couples can solve lighting disagreements for good

    How couples can solve lighting disagreements for good

    Ducati launch: Lorenzo and Dovizioso’s Desmosedici

    Ducati launch: Lorenzo and Dovizioso’s Desmosedici

    Trending Tags

    • Golden Globes
    • Game of Thrones
    • MotoGP 2017
    • eSports
    • Fashion Week
  • Review
    The Legend of Zelda: Breath of the Wild gameplay on the Nintendo Switch

    The Legend of Zelda: Breath of the Wild gameplay on the Nintendo Switch

    Shadow Tactics: Blades of the Shogun Review

    Shadow Tactics: Blades of the Shogun Review

    macOS Sierra review: Mac users get a modest update this year

    macOS Sierra review: Mac users get a modest update this year

    Hands on: Samsung Galaxy A5 2017 review

    Hands on: Samsung Galaxy A5 2017 review

    The Last Guardian Playstation 4 Game review

    The Last Guardian Playstation 4 Game review

    Intel Core i7-7700K ‘Kaby Lake’ review

    Intel Core i7-7700K ‘Kaby Lake’ review

No Result
View All Result
Ai News
No Result
View All Result
Home Machine Learning

Why Your Prompts Don’t Belong in Git

AiNEWS2025 by AiNEWS2025
2025-08-25
in Machine Learning
0
Why Your Prompts Don’t Belong in Git
0
SHARES
0
VIEWS
Share on FacebookShare on Twitter


post after a while, and I want to start with something that bit me early on.

When I was building and shipping my first Generative AI product, I did what most of us do. I hard-coded the prompts. It worked until it didn’t. Every time I wanted to tweak the tone, improve the wording, or fix a hallucination, it meant pushing code and re-deploying the service.

This made fast iteration nearly impossible and left product folks completely out of the loop. Eventually I realised that prompts should be treated like content, not code.


What Breaks When Prompts Live in the Code

At first it feels like just another string in your backend. But prompts are not static config. They are behaviour and behaviour needs room to evolve.

The moment your prompts are shipped with your code, every small change becomes a process. You need to create a branch.

Make a commit. Open a pull request. Wait for CI pipelines to run. Merge. Then redeploy. All this friction for what might be a one-word change in how your assistant talks to users.

You lose the ability to iterate quickly. You block product folks or non-engineers from contributing. And worst of all, your prompts end up inheriting all the friction of your backend deployment process.

It also becomes nearly impossible to understand what changed and why. Git might show you the diff, but not the outcome.

  • Did that change to reduce hallucinations?
  • Did it make completions shorter?
  • Are users happier?

Without tracking and experimentation, you’re guessing. You wouldn’t hard-code customer support replies in your source code or your marketing copy. Prompts deserve the same level of flexibility.


What Prompt Management Actually Looks Like

Prompt management is not some fancy new practice.

It is just applying the same principles we already use for other dynamic parts of the product, like CMS content, feature flags, or translations.

A good prompt management setup gives you a place outside of your codebase where prompts can live, evolve, and be tracked over time.

It does not have to be complex. You just need a simple way to store, version, and update prompts without touching your application code.

Once you decouple prompts from the code, everything gets easier. You can update a prompt without redeploying. You can roll back to a previous version if something breaks.

You can let non-engineers make changes safely, and you can start connecting prompt versions to outcomes, so you can actually learn what works and what does not.

Some tools offer built-in versioning and prompt analytics. Others plug into your existing stack. The important thing is not what tool you use, but that you stop treating prompts as static strings buried in code.


Using Langfuse For Prompt Management

One tool I have used and recommend is Langfuse. It is open source, developer-friendly, and built to support teams working with LLM-powered applications in production.

Prompt management is just one of the things it helps with. LangFuse also gives you full visibility into your application’s traces, latency, and cost.

But for me, it’s the approach to managing and iterating on prompts that was a turning point.

Langfuse gives you a clean interface where you can create and update prompts outside your codebase.

You can version them, track changes over time, and roll back if something goes wrong.

You can also A/B test different versions of the same prompt and see how each one performs in production and you can do all this without redeploying your app.

This is not a sponsored mention. Just a personal recommendation based on what has worked well in my own projects.

It also makes it easier for non-engineers to contribute.

The Langfuse console lets product teams or writers tweak prompts safely, without touching the codebase or waiting for a release. It fits well into modern Generative AI stacks.

You can use it with LangChain, LlamaIndex, or your own custom setup and since it is open source, you can self-host it if you want full control.


A Quick Look at How it Works

Just to give you a feel for it, here’s a basic example of how prompt management with Lang-fuse works in practice.

We can simply create a new prompt with variables, through the User Interface (you can create or update prompts programmatically, too).

Note the production and latest labels assigned to the specific prompt version. You can use labels to retrieve specific versions of the prompts.

This makes it super easy to test new prompt versions on staging or development environments as well as performing A/B testing.

We can now pull the latest version of a prompt and use it in a simple generation pipeline with Google’s GenAI SDK.


What I’d Do Differently Today

If I were starting again, I would never hard-code prompts into my app. It slows you down, hides things from the people who could help, and turns every tiny change into a release.

Prompt management sounds like a nice-to-have until your first iteration bottleneck.

Then it becomes obvious. Decouple your prompts early. You’ll move faster, build better, and keep your team in the loop.

Source link

#Prompts #Dont #Belong #Git

Tags: artificial intelligencegenerative AIPrompt DesignPrompt EngineeringPython
Previous Post

Senator castigates federal judiciary for ignoring “basic cybersecurity”

Next Post

Global AI Regulations and Their Impact on Industry Leaders – with Michael Berger of Munich Re

AiNEWS2025

AiNEWS2025

Next Post
Global AI Regulations and Their Impact on Industry Leaders – with Michael Berger of Munich Re

Global AI Regulations and Their Impact on Industry Leaders - with Michael Berger of Munich Re

Stay Connected test

  • 23.9k Followers
  • 99 Subscribers
  • Trending
  • Comments
  • Latest
A tiny new open source AI model performs as well as powerful big ones

A tiny new open source AI model performs as well as powerful big ones

0
Water Cooler Small Talk: The Birthday Paradox 🎂🎉 | by Maria Mouschoutzi, PhD | Sep, 2024

Water Cooler Small Talk: The Birthday Paradox 🎂🎉 | by Maria Mouschoutzi, PhD | Sep, 2024

0
Ghost of Yōtei: The acclaimed Ghost of Tsushima is getting a sequel

Ghost of Yōtei: The acclaimed Ghost of Tsushima is getting a sequel

0
Best Headphones for Working Out (2024): Bose, Shokz, JLab

Best Headphones for Working Out (2024): Bose, Shokz, JLab

0
Aumovio turns to the cloud to scale autonomous vehicle testing

Aumovio turns to the cloud to scale autonomous vehicle testing

2026-01-09
Robot Talk Episode 139 – Advanced robot hearing, with Christine Evers

Robot Talk Episode 139 – Advanced robot hearing, with Christine Evers

2026-01-09
A new CRISPR startup is betting regulators will ease up on gene-editing

A new CRISPR startup is betting regulators will ease up on gene-editing

2026-01-09
How LLMs Handle Infinite Context With Finite Memory

How LLMs Handle Infinite Context With Finite Memory

2026-01-09

Recent News

Aumovio turns to the cloud to scale autonomous vehicle testing

Aumovio turns to the cloud to scale autonomous vehicle testing

2026-01-09
Robot Talk Episode 139 – Advanced robot hearing, with Christine Evers

Robot Talk Episode 139 – Advanced robot hearing, with Christine Evers

2026-01-09
A new CRISPR startup is betting regulators will ease up on gene-editing

A new CRISPR startup is betting regulators will ease up on gene-editing

2026-01-09
How LLMs Handle Infinite Context With Finite Memory

How LLMs Handle Infinite Context With Finite Memory

2026-01-09
Footer logo

We bring you the best Premium WordPress Themes that perfect for news, magazine, personal blog, etc. Check our landing page for details.

Follow Us

Browse by Category

  • AI & Cloud Computing
  • AI & Cybersecurity
  • AI & Sentiment Analysis
  • AI Applications
  • AI Ethics
  • AI Future Predictions
  • AI in Education
  • AI in Fintech
  • AI in Gaming
  • AI in Healthcare
  • AI in Startups
  • AI Innovations
  • AI News
  • AI Research
  • AI Tools & Automation
  • Apps
  • AR/VR & AI
  • Business
  • Deep Learning
  • Emerging Technologies
  • Entertainment
  • Fashion
  • Food
  • Gadget
  • Gaming
  • Health
  • Lifestyle
  • Machine Learning
  • Mobile
  • Movie
  • Music
  • News
  • Politics
  • Review
  • Robotics & Smart Systems
  • Science
  • Sports
  • Startup
  • Tech
  • Travel
  • World

Recent News

Aumovio turns to the cloud to scale autonomous vehicle testing

Aumovio turns to the cloud to scale autonomous vehicle testing

2026-01-09
Robot Talk Episode 139 – Advanced robot hearing, with Christine Evers

Robot Talk Episode 139 – Advanced robot hearing, with Christine Evers

2026-01-09
  • About
  • Advertise
  • Privacy & Policy
  • Contact

© 2026 JNews - Premium WordPress news & magazine theme by Jegtheme.

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In
No Result
View All Result

© 2026 JNews - Premium WordPress news & magazine theme by Jegtheme.