by andreyk on 4/25/23, 1:13 AM with 1 comments
by TroyZ on 4/25/23, 4:26 AM
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/