merlinn-co / merlinn

Open source AI on-call developer 🧙‍♂️ Get relevant context & root cause analysis in seconds about production incidents and make on-call engineers 10x better 🏎️
https://merlinn.co
GNU Affero General Public License v3.0
50 stars 2 forks source link

Advanced Mode Prompt Editing #6

Open lenaxia opened 5 days ago

lenaxia commented 5 days ago

Description: Allow advanced users to modify the core prompts to fit their needs more appropriately.

Ask:

david1542 commented 4 days ago

Thanks for creating the issue, @lenaxia.

Can you elaborate a bit more about what would you hope to achieve by manipulating the prompts? Do you wish to "steer" the LLM during investigation/chat mode?

lenaxia commented 3 days ago

Yes, I have found projects that were promising but the built in prompts were less than great, or did not work well with the LLM backend I was using.

MemGPT is an example where they have a great idea, but their prompts are insanely long and cause some LLMs to lose context or eat up all the available context (e.g. on Llama3).

Also as prompting techniques evolve, its nice to be able to update without having to wait for the maintainer to update.

david1542 commented 20 hours ago

@lenaxia thanks for the clarification.

Do you have a specific flow in mind? I'm trying to understand how you view the "steering" ability, and make sure we'll build the right thing.

Would you want to specifically guide the LLM to specific places via prompt editing by editing the system prompt? Or would you like to build custom workflows for each incident/alerts?

We're thinking about creating a workflows feature where you can guide the agent explicitly (for each incident) by creating a workflow, and then you can edit the prompt in each step phase, kinda like n8n. We think that can make the tool extremely flexible.

I'm trying to understand how much control would you want over the investigation process :)