Conversation
|
@hanna-paasivirta is everything commited to this branch? I can't see any functional change between some wording in prompts 🤔 |
|
@josephjclark Sorry you're right – I just removed the docs type filter when I should have specified the docs type to narrow it down. I've added a test as well to verify it only searches general docs. |
|
So I've run a local test on this. On main, when including the adaptor docs, if I ask a question about dhis2, I get 5 hits from this dhis2 docs page, all scoring 0.82+. Only one of those looks relevant to my question, but OK. On this branch, the same question gives me 5 basically random results from general docs (again all scoring above 0.82) So OK, this PR is working and adaptor docs have been stripped out. But we just return the top 5 rag results right? So is the next result of this that we just pass different irrelevant information from the RAG? For what it's worth the answer to my question - I think we should talk about this a little more before taking action. I forgot that we were just returning the top 5 hits. |
Short Description
Removes adaptor documentation embedding similarity search, as this returns many irrelevant docs and we have already added key information about relevant adaptors to the prompt.
Fixes #396
AI Usage
Please disclose how you've used AI in this work (it's cool, we just want to know!):
You can read more details in our Responsible AI Policy