Originally created by @Robinsane on GitHub (Jun 29, 2024).
Is your feature request related to a problem? Please describe.
When no RAG context is used because all results were lower than the value in RAG_RELEVANCE_THRESHOLD, the user is made to think no file is provided (based on how the LLMs respond).
Describe the solution you'd like
I think it would be very nice to provide a hard coded context that explains the situation in these cases, so the LLM's response will be adjusted and relevant.
hard coded context example.:
"No context was added to this prompt. It's possible that a file was added correctly, but no text was relevant enough according to the setting RAG_RELEVANCE_THRESHOLD."
Additional context
Originally created by @Robinsane on GitHub (Jun 29, 2024).
**Is your feature request related to a problem? Please describe.**
When no RAG context is used because all results were lower than the value in RAG_RELEVANCE_THRESHOLD, the user is made to think no file is provided (based on how the LLMs respond).
**Describe the solution you'd like**
I think it would be very nice to provide a hard coded context that explains the situation in these cases, so the LLM's response will be adjusted and relevant.
hard coded context example.:
"No context was added to this prompt. It's possible that a file was added correctly, but no text was relevant enough according to the setting RAG_RELEVANCE_THRESHOLD."
**Additional context**

Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @Robinsane on GitHub (Jun 29, 2024).
Is your feature request related to a problem? Please describe.
When no RAG context is used because all results were lower than the value in RAG_RELEVANCE_THRESHOLD, the user is made to think no file is provided (based on how the LLMs respond).
Describe the solution you'd like
I think it would be very nice to provide a hard coded context that explains the situation in these cases, so the LLM's response will be adjusted and relevant.
hard coded context example.:
"No context was added to this prompt. It's possible that a file was added correctly, but no text was relevant enough according to the setting RAG_RELEVANCE_THRESHOLD."
Additional context
