Hacker News new | past | comments | ask | show | jobs | submit | nicolewhite's comments login

> TRUNCATE TABLE <new_table> CASCADE;

Ouch. DELETE FROM <new_table> is what they wanted here.

Somewhat related, and this wouldn't have saved them since they were using TRUNCATE instead of DELETE, but I always use ON DELETE RESTRICT instead of ON DELETE CASCADE when setting up foreign keys. I'd rather be slightly inconvenienced on the rare occasion I'm hard-deleting data and have to be really explicit about what I want to delete rather than inadvertently allow a "convenience" like ON DELETE CASCADE to delete my data for me.


I fixed by adding this to the theme:

    .c00 a:link {
        color: #bd93f9;
    }


Hey all, I'm Nicole. I've been working on the prompt management platform at Autoblocks and I'm looking forward to getting your thoughts on our approach.

We basically think that prompt management boils down to a schema management problem. How do you enable UI-based prompt development for non-technical team members while not sacrificing on developer experience? How do you allow updates from a UI while guaranteeing the changes won't break your currently-running application?

Our solution was heavily influenced by these excellent tools we already use in day to day development:

* Dopt's versioning flows: https://docs.dopt.com/platform/versioning-flows/

* PlanetScale's safe migrations: https://planetscale.com/docs/concepts/safe-migrations

* Prisma's autogenerated, type-safe ORM: https://www.prisma.io/docs/orm/prisma-client/setup-and-confi...

Thanks in advance for any feedback!


Pretty neat!

I have a question about how you intend to deal with LLM applications where the output is more creative, e.g. an app where the user input is something like "write me a story about X" and the LLM app is using a higher temperature to get more creative responses. In these cases I don't think it's possible to represent the ideal output as a single string -- it would need to be a more complicated schema, like a list of constraints for the output, e.g. that it contains certain substrings.

TIA!


The TinyStories[1] paper has an interesting solution for how to evaluate stories. They ask GPT-4 to grade them on grammar, consistency, and creativity.

This seems like it would be extremely hard to figure out how to do automatically though.

[1] https://arxiv.org/pdf/2305.07759.pdf


Good question! We aren't really focusing on this area, but I'm willing to speculate.

I'd expect broaded constraints than just substring matching. For example, if the user requests that a certain plot point in the story occur before another, we should actually be able to (1) generate a test for that behavior and (2) use a model to check if the request was followed.

I'd expect other tests might be useful too -- checking for things like "no generation of violent content, even if the user requests it".


I don't see where it ever says the program told him to fire himself


Second bullet point under The Result.


Wtf didn’t expect anyone to be sleuthing well glad to be of help , the above was my take anyway


FYI I wouldn't expose internal details like that via your responses


Neat! Your example of closing all Stack Overflow tabs reminds me of a little extension I made a while ago to manage tabs by domain:

https://chrome.google.com/webstore/detail/manage-tabs-by-dom...

Which would allow you to easily close all tabs from Stack Overflow.


Thanks for sharing. And for any readers in the Bay Area, his restaurant Wursthall is right next to the San Mateo Caltrain station and is super good. I believe they are offering takeout at the moment.


Reminds me of the chrome extension I made for myself that will close all tabs with the same domain as the active tab. Usually I end up with many reddit tabs open and I want to close all the tabs I opened except for the home page that I'm currently on.

https://chrome.google.com/webstore/detail/manage-tabs-by-dom...


Location: San Francisco Bay Area

Remote: No

Willing to relocate: No

Technologies: Python, Flask, TypeScript, React, scikit-learn, Keras

Resume: https://www.linkedin.com/in/nicolemargaretwhite/

Email: nmwhite0131@gmail.com

Looking for Machine Learning Engineer or Full Stack Engineer positions.


Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: