How to "Extract aligned spans from a Question and an Answer"?
- Dominant language
- Python
- Stars
- 38.6k
- Forks
- 2.7k
- Avg merge
- 3d 15h
- Merged PRs (30d)
- 3
Description
Hi,
I found LangExtract is really relevant to my work HoT (https://highlightedchainofthought.github.io/) that tries to extract semantically similar phrases between question and answer.
And my method improve the accuracy over multiple prompting methods as well.
I did some modification to make LangExtract work with HoT, and it works pretty well:
If you find this useful, please cite our work (HoT) and LangExtract:
@article{nguyen2025hot,
title={HoT: Highlighted Chain of Thought for Referencing Supporting Facts from Inputs},
author={Nguyen, Tin and Bolton, Logan and Taesiri, Mohammad Reza and Nguyen, Anh Totti},
journal={arXiv preprint arXiv:2503.02003},
year={2025}
}
LangExtract. (2024). Google Research. Retrieved from https://github.com/google/langextract
Contributor guide
Research direction
Read the issue alongside the linked HoT project to determine whether the intended contribution is documentation, an example, or a library feature for extracting aligned spans from questions and answers. No repository file, test, or completion criteria is identified, so the expected change must be clarified before implementation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- ai, machine-learning
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100