Currently, retrieved_results and rerank_results are dictionaries that get saved as json. communication between retrieve and reranker happens by reading the data from the file. We can create a results class to capture this and additinal info, prompts and responses, token counts, etc all are written in files right now.
Currently, retrieved_results and rerank_results are dictionaries that get saved as json. communication between retrieve and reranker happens by reading the data from the file. We can create a results class to capture this and additinal info, prompts and responses, token counts, etc all are written in files right now.