News for hackers. Stuff that matters.
Re:Ask HN: Have you fine-tuned LLMs to know the contents of ... by TroyZ on Tuesday April 25, 2023 @12:26AM (#35696477)
Fine-tuning is probably not the way to do it.

Try embedding, semantic search, retrieval, and plugging the relevant parts into the prompt.

You may need: - summarizer prompt to summarize your project structure, main functions, methods. - vector store/database to store and retrieve your relevant code from code base - coder prompt to write code based on the retrieved part.

Check out langchain: https://langchain.readthedocs.io/

There are no comments on this comment yet.