raptor icon indicating copy to clipboard operation
raptor copied to clipboard

Custom Model Guidance

Open jwahnn opened this issue 1 year ago • 5 comments

Hi, thanks for sharing the code publicly. I have a few questions about using a custom model for RAPTOR:

  1. Do I create a new file for running the lines under "Setting Up RAPTOR" and "Adding Documents to the Tree" or is there a specific location to add these lines code?
  2. How does setting up RAPTOR and adding documents differ with using a custom model? Do I just follow what's on the README page but ignore importing os and setting up my openai key?
  3. Would adding documents to the tree be the same regardless of the type of model (custom vs. baseline) I use?
  4. I assume the RetrievalAugmentation function is unique to RAPTOR, correct? In other words, using a different model still preserves the methods of RAPTOR, right?

Thanks in advance! Was looking forward to this work :)

jwahnn avatar Feb 27 '24 07:02 jwahnn