ESOFinder: an LLM-powered tool to help users navigate ESO documentation
The paper introduces ESOFinder, a privacy-focused, in-house chatbot powered by Large Language Models and Retrieval Augmented Generation (RAG) that synthesizes over 3500 links and 100 manuals to provide ESO users with reliable, context-aware answers for navigating the observatory's complex documentation ecosystem.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Imagine the European Southern Observatory (ESO) as a massive, ancient library. This isn't just any library; it's filled with over 6.2 million words of instructions, manuals, and guides—roughly eight times the length of the King James Bible. These books cover everything from how to write a proposal to see a star, to how to clean up the data after the telescope takes a picture.
The problem? Finding a specific answer in this library is like trying to find a single, specific sentence in a stack of 3,500 different books while blindfolded. Astronomers and staff spend too much time searching instead of doing science.
To fix this, the ESO team built ESOFinder, a smart digital librarian powered by Artificial Intelligence (AI). Here is how it works, explained simply:
1. The Brain and the Memory (LLM + RAG)
Think of a standard AI chatbot (like the ones you might use for general questions) as a genius student who read a lot of books years ago but hasn't been to school since. They might guess the answer, but they often make things up (hallucinate) or give you outdated advice because they don't know about new rules.
ESOFinder is different. It uses a technique called RAG (Retrieval-Augmented Generation).
- The Memory: Before it answers anything, ESOFinder reads and memorizes the entire current library of ESO documents. It breaks these massive PDFs and websites into small, manageable "chunks" and organizes them like a super-organized index card system.
- The Brain: When you ask a question, ESOFinder doesn't just guess. It first looks up the relevant "index cards" in its memory. It then hands those specific pages to its AI brain and says, "Read these pages and answer the question based only on what you see here."
2. The Detective Work (Hybrid Search)
When you ask a question, ESOFinder acts like a detective using two different tools at the same time:
- The "Meaning" Detective: This tool understands the idea behind your question. If you ask about "how to point the telescope," it knows you mean "telescope pointing" even if you didn't use those exact words.
- The "Keyword" Detective: This tool looks for exact matches. If you ask about a specific instrument named "VISIR" or a technical code, this tool finds the exact term, ensuring it doesn't miss specific jargon that the "Meaning" detective might overlook.
It combines the results from both detectives, ranks them to find the best ones, and throws away the irrelevant noise.
3. The Self-Correcting Loop (The "Double-Check")
One of the biggest risks with AI is that it might confidently say something wrong. ESOFinder has a built-in "safety net."
- After the AI generates an answer, a second AI "grader" checks it.
- Check 1: "Did you actually find the answer in the documents we gave you?"
- Check 2: "Does this answer actually solve the user's problem?"
- If the answer fails either check, the system doesn't just give up. It rewrites the question, searches again, and tries to generate a better answer. It keeps doing this until it gets it right or admits, "I can't find the answer in our books."
4. Privacy and Control
Because this tool is built on open-source AI models running on ESO's own local servers (not on a public cloud), it keeps all data private. Astronomers can ask about sensitive or confidential project details without worrying that the AI is sharing that information with the outside world.
How Did It Do?
The team tested this tool with real astronomers and staff in three rounds:
- Round 1: The tool was a bit confused and gave too many long, wordy answers. It got a 3.0 out of 5 stars.
- Round 2: They improved the search and the "brain." It got slightly better (3.1 stars), but still struggled with complex questions.
- Round 3 (Current Version): After fixing the search strategy and adding more documents, the tool is much sharper. In recent tests, the average rating jumped to 3.84 out of 5 stars, with a median (middle) score of 5 stars. Most users now say the answers are "Perfect" or "Accurate."
What's Next?
The team admits the tool isn't perfect yet. It sometimes struggles with documents that have huge tables or pictures instead of text. They also plan to add more specific data (like data from the ALMA telescope) and use the tool to help find errors in the library itself.
Ultimately, ESOFinder aims to be the go-to "front desk" for anyone trying to navigate the complex world of telescope operations, turning a confusing maze of documents into a simple conversation.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.