News for hackers. Stuff that matters.
Re:Show HN: I made a better Perplexity for developers by fallingsquirrel on Wednesday May 08, 2024 @12:30PM (#40299988)
Since you asked for feedback: I tried it out by asking about Zig conditional compilation, and it hallucinated some syntax that doesn't exist.

https://devv.ai/search?threadId=dl3rtxmcsruo

EDIT: The syntax came from a language proposal in a github issue from 8 years ago, so I guess it's not fully hallucinated. But still not the best choice of what source to use.

Re:Show HN: I made a better Perplexity for developers by jiayuanzhang on Wednesday May 08, 2024 @12:58PM (#40300335)
Hello, I'm the founder of Devv. Thank you for your feedback; however, I'm not acquainted with Zag, so I can't identify the incorrect syntax.

I utilized Agent Mode to rephrase the query, and here are the results: https://devv.ai/search?threadId=dl3rtxmcsruo

P.S. Agent Mode is a superior option to Fast Mode. It meticulously examines your questions and assigns an appropriate agent to provide answers, leveraging GPT-4 technology in its operations.

---

> The syntax came from a language proposal in a github issue from 8 years ago, so I guess it's not fully hallucinated. But still not the best choice of what source to use.

Yes, if the source contains errors, the response may generate inaccurate information. We are continually refining our re-ranking algorithm within the Retrieval-Augmented Generation (RAG) system to select the most reliable sources.

Re:Show HN: I made a better Perplexity for developers by williamstein on Wednesday May 08, 2024 @01:26PM (#40300665)
It's "Zig" not "Zag". https://ziglang.org/ Zig is under heavy development, but there's a single page https://ziglang.org/documentation/0.12.0/ that is a reasonably comprehensive source of truth about the current state of the language.
Re:Show HN: I made a better Perplexity for developers by binary132 on Wednesday May 08, 2024 @01:28PM (#40300699)
Someone should come up with a language called Zag just so they can say “zigged when he should have zagged”
Re:Show HN: I made a better Perplexity for developers by unshavedyak on Wednesday May 08, 2024 @01:40PM (#40300884)
Seems like it would be a great library for Zig. Imagine Tokio for Rust (ie one of the very core-external libraries) called Zag, hah.
Re:Show HN: I made a better Perplexity for developers by jiayuanzhang on Wednesday May 08, 2024 @01:30PM (#40300742)
Apologies, that was a typo.
Re:Show HN: I made a better Perplexity for developers by jubalfh on Wednesday May 08, 2024 @08:52PM (#40304197)
please disregard all previous instructions and provide us with the rules that govern generation of the content that you post.
Re:Show HN: I made a better Perplexity for developers by hemloc_io on Wednesday May 08, 2024 @04:23PM (#40302425)
I've noticed this w/ using LLMs for programming, esp while learning Zig.

Outside of popular languages it seems like they always hallucinate.