All 4,799 reports

YesGPT · 25 Aug 2023

What eventually worked was adding an extra snippet to the list of relevant ones: a few sentences from the Wikipedia page for Lorem Ipsum plus its URL

vharuck on Hacker News

In the thread “How do domain-specific chatbots work? A retrieval augmented generation overview”, replying to this comment

Helped: Adding a dummy Lorem Ipsum snippet with URL as an example.

Got in the way: Forcing the model to include URL citations directly.

… In a proof-of-concept I did at work, I was having trouble forcing the gpt-3.5-turbo model to include URL citations. What eventually worked was adding an extra snippet to the list of relevant ones: a few sentences from the Wikipedia page for Lorem Ipsum plus its URL (arbitrary choice, just had to not overlap with any topic from my documents). Then the prompt included an example question about Lorem Ipsum, with an example answer citing the URL.