Creating Custom query_df and Handling Sub-Query Results in LlamaIndex
Hi Arize, I hope you are all doing well. Im going through this tutorial https://github.com/Arize-ai/phoenix/blob/main/tutorials/llama_index_search_and_retrieval_tutorial.ipynb I have 2 questions:
- 1.
For the query_df , is there a way to generate your own query_df from scratch? I am trying to retorfit my "sample_query_df" and replace it with the "query_df". At the moment you just download the parquet file from your google cloud.
- 2.
I am using LlamaIndex's SubQuestionQueryEngine which effectively breaks down the prompt/question into multiple sub-queries with each sub-query having its own query_engine and hence it returns multiple documents rather than standard 2. Have you thought of what the best way you can handle this use case? Thanks in advance.
