6 ms·
I'm employed by Microsoft, but not in any relation to the authors of this tool or this post. First time I saw github.com/mirosoft/guidance was on the HN front p
by andy_xor_andrew 3y ago
I'm employed by Microsoft, but not in any relation to the authors of this tool or this post. First time I saw github.com/mirosoft/guidance was on the HN front page, actually :)
I've been waiting for a tool exactly like guidance, something that lets me compose prompts the way I think about prompts. Langchain was too much of a headache for me. Playing with guidance, it feels like this is how programmatically interacting with a llm should be. Also, really happy to see the MIT license.
I'd love to see ports to other languages.
- behnamoh 3y agolangchain caused more problems than it fixed. Really ugly software.
- WhatsName 3y agoPlease elaborate. So far it seems promising to me, but I started using it just recently.
- behnamoh 3y agofor example see this: https://itsbehnam.com/DetachGPT-Switching-to-Open-Source-Uncensored-API-able-and-Local-M1-Mac-ChatGPT-Alternatives-f7b6661d0b604684bbc3765227064aa2 https://itsbehnam.com/DetachGPT-Switching-to-Open-Source-Unc...
- SparkyMcUnicorn 3y agoAnd their "what's next?" links to a project that relies on langchain[0]. [0] https://github.com/imartinez/privateGPT https://github.com/imartinez/privateGPT
- stavros 3y agoThat just says "I got an error with it", hardly an indictment.
- hackernewds 3y agoare we going to now invent a programming language that communicates with LLMs? I find that funny
- candiddevmike 3y agoI'm not an LLM, but I am a native English speaker and English is pretty awful for conveying information succinctly. The lengths you must go with prompts to ensure you're getting the right response is extremely similar to the lengths you go to when delegating something to someone or describing requirements to a project. I wonder if whatever language we end up using to "converse" with LLMs would have value within an organization/email/Jira.
- dragonwriter 3y ago> I’m not an LLM, but English is already pretty awful for conveying information succinctly. The lengths you must go with prompts to ensure you’re getting the right response is extremely similar to the lengths you go to when delegating something to someone or describing requirements to a project. I wonder if whatever language we end up using to “converse” with LLMs would have value within an organization/email/Jira. People already adopt context-specific specialized languages in contexts like that for clarity, what will probably happen is that LLMs will get better at adapting or being adapted to specific contexts.
- bcrosby95 3y agoI prefix my longer prompts with glossaries. It lets me write more succinctly.
- redblacktree 3y agoI would love an example of this.
- bcrosby95 3y agoIt's pretty simple, I just add a glossary of terms at the top. When asking for creative but well-structured output that requires specific definitions of certain words to be useful, I've found it works best to use words for your terms that don't actually exist. Otherwise it seems to focus a bit more on the broader word more than it should rather than your definition, especially if you use it a lot.