RAG with text containing JSON

Hey guys so my question is simple enough. I found many people using RAG over JSON but what do you think about using RAG over normal text containing some JSON objects? The context is that I am thinking about transforming my tables into JSON objects, with 1 row = 1 JSON object, and see if it allows for better interpretation of the results. But I am scared that the retrieval would be a problem and the JSON would never be retrieved because of similarity scores etc. I am wondering if simply parsing the tables as Markdown works better. Has anyone experienced a similar issue and could share some insights? I would really appreciate it. Thanks!

2 Likes