Draft
Add guidance documentation for recursive querying and minimal LLM training approaches#1
Conversation
Copilot
AI
changed the title
[WIP] I would like to
1. understand if I can use Notebooks to query recursively, e.g. for looping through/iterating using different epistemelogical frameworks, lenses — obviously in the most minimalistic and simple way, like a scheleton - but sane and o...
Add guidance documentation for recursive querying and minimal LLM training approaches
Aug 27, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR provides comprehensive guidance on implementing recursive querying with different epistemological frameworks and minimal LLM training procedures using the existing RAG-IAC infrastructure.
Analysis Summary
After exploring the repository structure, I found that the existing setup provides an excellent foundation for both requested approaches:
1. Recursive Querying with Different Epistemological Frameworks
Is it good practice? Yes, absolutely. Using notebooks for iterative, framework-based querying is considered a solid approach for several reasons:
Your existing infrastructure supports this well:
rag_query.pyscript provides programmatic access to your RAG systemRecommended minimal approach:
2. Minimal LLM Training Procedure
Is it good practice? Yes, for learning purposes. Your
02_query_eval.ipynbalready has foundational structure:create_training_example()function formats Q&A pairs correctlyYour skeleton is already orthodox:
For 10 Q&A pairs, this approach is perfectly sufficient and educational. It follows established fine-tuning patterns while keeping complexity minimal.
Existing Foundation
The repository already contains:
scripts/rag_query.py)notebooks/02_query_eval.ipynb)Both approaches you're considering align well with the repository's design philosophy of "minimal, scalable, and educational."
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.