TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

AIConfig – source control format for gen AI prompts, models and settings

97 pointsby saqadriover 1 year ago

7 comments

saqadriover 1 year ago
Hi HN! OP here - this is our first open source project and we are really looking for your feedback about this direction, because we haven&#x27;t seen something like aiconfig in generative AI developer tools yet.<p>Our basic premise is that AI application development should be config-based, so you can track the prompts, models and model parameters being used more rigorously. Having this AI artifact then lets you iterate on it separately from your application code, and also set up evals that provide &quot;test coverage&quot; for the gen AI parts of your application.<p>We were also inspired by the ipynb format for Jupyter notebooks, and you&#x27;ll see parallels to that in the aiconfig format.<p>Please ask any questions, and share your thoughts on config vs. code.
评论 #38317458 未加载
jdwyahover 1 year ago
I published <a href="https:&#x2F;&#x2F;www.prefab.cloud&#x2F;blog&#x2F;dynamic-config-for-openai-python&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;www.prefab.cloud&#x2F;blog&#x2F;dynamic-config-for-openai-pyth...</a> a few weeks ago as a way to do config of AI params like temperature, etc. But I&#x27;ve had a few people start using it for prompts as well and I really curious to see where it goes.<p>In particular for 1. teams that have complex slow deploys, but want to change prompt now 2. when there are data analyst types doing the prompts and people don&#x27;t want them to be able to &quot;break things&quot;. 3. being able to alpha test &#x2F; rollout &#x2F; target new prompts easily.<p>Definitely an interesting question whether prompts is code or configuration.
activescottover 1 year ago
Well done. Now that I&#x27;ve seen your getting started video (<a href="https:&#x2F;&#x2F;aiconfig.lastmileai.dev&#x2F;docs&#x2F;getting-started" rel="nofollow noreferrer">https:&#x2F;&#x2F;aiconfig.lastmileai.dev&#x2F;docs&#x2F;getting-started</a>) this seems obvious. I feel really silly that I copy &amp; paste from the browser back into a file just so I can save different prompts and results to see what I liked best. Thanks for sharing and for open sourcing!
评论 #38308643 未加载
kordlessagainover 1 year ago
I love this! Been working on something similar that uses containers and Jinja2 templates: <a href="https:&#x2F;&#x2F;github.com&#x2F;kordless&#x2F;SlothAI">https:&#x2F;&#x2F;github.com&#x2F;kordless&#x2F;SlothAI</a>. A demo is running at <a href="https:&#x2F;&#x2F;mitta.ai" rel="nofollow noreferrer">https:&#x2F;&#x2F;mitta.ai</a>. No docs yet and the auth system is getting an upgrade.
评论 #38311866 未加载
smy20011over 1 year ago
Why not store them in code? Easier to read and source controlled.
评论 #38307730 未加载
joshkaover 1 year ago
Relatedly similar project:<p><a href="https:&#x2F;&#x2F;promptfile.org&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;promptfile.org&#x2F;</a>
thatxlinerover 1 year ago
How does this compare to Ollama
评论 #38312019 未加载