Skip to content

Comment on Show HN: Next.js ChatGPT – Responsive chat application powered by GPT-4parent

Comments

the prompt could also be dynamically generated to include the most relevant delegates

Yup that's how I'm doing it - the system prompt is re-generated for every request, and that includes getting a list of available delegates and the arguments they accept. I only have 10 so I'm just listing all of them, but if you had some huge number you could combine that with embeddings / vector lookup.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.