Open Issues Need Help
View All on GitHubAI Summary: The task is to modify the Canada Labour Research Assistant (CLaRA) application to handle the case where no sources are retrieved (number of sources is 0). Currently, the application throws a TypeError when this happens. The desired behavior is to bypass the Retrieval-Augmented Generation (RAG) process and use the vanilla language model directly if no relevant sources are found, preventing the error.
The Canada Labour Research Assistant (CLaRA) is a privacy-first LLM-powered RAG AI assistant proposing Easily Verifiable Direct Quotations (EVDQ) to mitigate hallucinations in answering questions about Canadian labour laws, standards, and regulations. It works entirely offline and locally, guaranteeing the confidentiality of your conversations.