Restructured RAG as discussed earlier, and now also adjusted the tests. I am now solely testing the loading of the rag, as all other functions are now inside db_generation which is a separate script. I have the old tests saved as a backup and when time allows, I can also modify the tests for db_generation.py but this does not have the highest priority right now. Moreover, I did not consider the functions uuid_pattern, is_valid_rag_db, and query_rag worth of testing. Let me know if you think differently.
Restructured RAG as discussed earlier, and now also adjusted the tests. I am now solely testing the loading of the rag, as all other functions are now inside db_generation which is a separate script. I have the old tests saved as a backup and when time allows, I can also modify the tests for
db_generation.py
but this does not have the highest priority right now. Moreover, I did not consider the functionsuuid_pattern
,is_valid_rag_db
, andquery_rag
worth of testing. Let me know if you think differently.