parthsarthi03 / raptor

The official implementation of RAPTOR: Recursive Abstractive Processing for Tree-Organized Retrieval
https://arxiv.org/abs/2401.18059
MIT License
878 stars 126 forks source link

Support for Azure OpenAi #21

Closed ferrygun closed 6 months ago

ferrygun commented 6 months ago

Hi, do you have a plan to support Azure OpenAI in the near future?

parthsarthi03 commented 6 months ago

Hi! RAPTOR can be currently used with any inference setup. You can define your own inference code to use Azure OpenAI by defining your custom SummarizationModel, QAModel, and Embedding model. We have a tutorial for this available here.

ferrygun commented 6 months ago

Got it. Thank you!