microsoft / graphrag

A modular graph-based Retrieval-Augmented Generation (RAG) system
https://microsoft.github.io/graphrag/
MIT License
19.99k stars 1.95k forks source link

[Feature Request]: Add out-of-the-box support for HuggingFace API models #516

Closed rincon-santi closed 4 months ago

rincon-santi commented 4 months ago

Is your feature request related to a problem? Please describe.

Right now, only openAI and Azure models are supported out-of-the-box, add support for HF API

Describe the solution you'd like

Add a huggingface folder in graphrag/llm

Additional context

No response

natoverse commented 4 months ago

Consolidating alternate model issues here: https://github.com/microsoft/graphrag/issues/657