Skip to content

Pro-GenAI/iRAT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

35 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

iRAT logo

iRAT: Replanning and Controlled Retrieval for Robust LLM Reasoning

Preprint Model Medium

AI LLMs Python License: CC BY 4.0


Note

Please star ⭐ the repository to show your support.

Architecture:

Setup steps

  1. Clone the repository
git clone https://github.com/prane-eth/iRAT
  1. Open a terminal in the "iRAT" folder and install the required packages
pip install -r requirements.txt
  1. Ensure the environment file (.env) is set up with correct values, based on ".env.example" file.
  2. To host the models, run:
python host_models.py
  1. To test the pipeline, run the following command in the terminal in "irat" folder:
python pipeline.py
  1. To start the web server, run:
python server.py

Demo

Screenshots are available in the Demo folder.

Citation

@misc{vadlapati2025irat,
  author       = {Praneeth Vadlapati and Zeeshan Ali},
  title        = {iRAT: Replanning and Controlled Retrieval for Robust LLM Reasoning},
  year         = {2025},
  month        = {July},
  howpublished = {\url{https://github.com/prane-eth/iRAT}},
  note         = {GitHub repository}
}

Team members:

Praneeth Vadlapati (@prane-eth) <[email protected]> (Main coder and author)
Zeeshan Ali (@zeeshan5k)
Aryan Singh (@ekk012) <[email protected]>
Alvaro Arteaga (@LagrangianPoint)

Contributions:

  • Praneeth Vadlapati: Pipeline, result-filter module, evaluation, most of the code and paper, and team leadership.
  • Zeeshan Ali: Architecture, uncertainty evaluation, and Chain Evaluator model.
  • Aryan Singh: Retrieval module with budget control, dataset analysis, MBPP pre-processing, pipeline wireframe, and bug fixing in budget control.
  • Alvaro Arteaga: User input scanning, and the idea of spam website filter.

πŸ“§ Contact

For personal queries, please find Praneeth's contact details here: https://prane-eth.github.io/

πŸͺͺ License

Copyright Β© 2025 Praneeth Vadlapati and team
Please refer to the LICENSE file for more information.
To request a permission to use my work, please contact me using the link below.

⚠️ Disclaimer

The code is not intended for use in production environments. This code is for educational and research purposes only. No author is responsible for any misuse or damage caused by this code. Use it at your own risk. The code is provided as is without any guarantees or warranty.


Base paper:

RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning and Verification in Long-Horizon Generation

[GitHub] [Website] [Published Paper] [Pre-print]