Skip to content

Comment on ChatGPT Plugins rolling out to all Plus users over the course of the next weekparent

Comments

How does it decide which files?

This is a good question, because the context is limited and the more you use, the more you pay.

One technique is to use embeddings, and then only provide a subset that is close to the prompt embedding. The hard part here is chunking and deciding what close means. One example, when including a function in the context, do I need to include the body, or is the doc string and signature sufficient?

AboutSource Built by g1lg1l

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