Hacker News new | ask | show | jobs
by leroman 1092 days ago
Chat UI/UX is a tool for experts. To drive this point home consider a user prompting "produce a founder agreement document", for which the AI will happily produce -something-. Even thought he user is able to read the document he does not understand the contents in "legal" terms. In contrast if the user would go to an expert lawyer, who would start by asking the user some relevant questions (=domain questions) and put together a prompt tailored to the needs and circumstances of the user in the domain language, with all relevant nuances..

I am working to create this experience by augmenting the AI interaction with step-by-step leading questions and interaction UI, similar to how users would interact with a domain expert.

https://pth.ai Would love feedback! :)

1 comments

Interesting, I like this sort of wizard approach. Would you share any implementation details? Langchain, presumably?
Actually, I'm not using Langchain.

I'm now adding "agent" functionality, specifically to enable the AI to do some "research" on the web, at the moment this will also be done without a framework.

So I'm either missing something or I am doing something simple enough that does not require the framework overhead / added value..

I think that's good, langchain is a spaghetti monster and I think you're better off rolling your own, especially now with the baked in functions feature that GPT has'
I am able to implement complex logic without using this new "functions" feature, I am considering using it with the agent implementation, but might not need to as the new GPT4 version improves on it's JSON handling so that is already plenty robust for my needs..
Try out functions in a throw away branch or repo, I wasted a day switching over to them only to find out that they don’t work with my use case at all.