HSLiu-Initial / CtrlA

This includes the original implementation of CtrlA: Adaptive Retrieval-Augmented Generation via Inherent Control.
Apache License 2.0
62 stars 8 forks source link

bm25 and bge is not implement? #1

Open oujieww opened 6 days ago

oujieww commented 6 days ago

hi,

i want to run the code, but find: bm25 return none, i find the code: def wiki_search(query, size=10): pass

does it mean that the function is not implement? where can I find it?

HSLiu-Initial commented 6 days ago

Hello! Both our retrievers (BM25 and BGE) are deployed on the server using Flask, as mentioned in the Retriever Setup section of the README. We have provided the code for deployment and usage. We will upload a more complete version of the code later, including a retriever for local use and implementations for some multi-hop datasets.

oujieww commented 6 days ago

@HSLiu-Initial thank you so much for your reply!

yeah! i find the deployment and usage demo for retriever. The code i am looking for is the usage function in expriments. Looking forward to your subsequent code, thank you.