In line 84 of pred.py, it says'retrieved = item["retrieved_context"][:args.rag]'. But where does this'retrieved_context' come from? item->data->data_all
#2
by
AmamiSora
- opened
In line 84 of pred.py, it says'retrieved = item["retrieved_context"][:args.rag]'. But where does this'retrieved_context' come from? item->data->data_all
I'm also curious about the "retrieved_context" field comes from. Could you clarify this?
Hi, the key is used to load the ordered list of retrieved chunks, which should first be pre-computed by your retriever model.