# Facing issue building a simple RAG application using RetrievalQA

**URL:** <https://discuss.huggingface.co/t/facing-issue-building-a-simple-rag-application-using-retrievalqa/157340>\
**Category:** Beginners\
**Created:** [May 30, 2025, 5:54am UTC](https://discuss.huggingface.co/t/facing-issue-building-a-simple-rag-application-using-retrievalqa/157340 "2025-05-30T05:54:11Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![John6666](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/john6666/32/27664_2.png) [@John6666](https://discuss.huggingface.co/u/John6666)\
**Post date:** [May 30, 2025, 9:47am UTC](https://discuss.huggingface.co/t/facing-issue-building-a-simple-rag-application-using-retrievalqa/157340/2 "2025-05-30T09:47:56Z")

</div>

> **[tiiuae/falcon-7b-instruct · Hugging Face](https://huggingface.co/tiiuae/falcon-7b-instruct)**
>
> We’re on a journey to advance and democratize artificial intelligence through open source and open science.

The format of `repo_id` is correct, but since the model has not been deployed, it cannot be used as an API. Refer to the following post to find a model that can be used. Using a local model is more reliable, but requires a GPU.

> [@Persistent 404 Not Found Errors with Public Inference API](https://discuss.huggingface.co/t/persistent-404-not-found-errors-with-public-inference-api/154119/10):
>
> Hi all, thanks for reporting! You can check to see if your model is available to use with the HF Inference API (or any Inference Provider) here: [Models - Hugging Face](https://huggingface.co/models?inference_provider=hf-inference&sort=trending). If it’s not deployed by any Inference Provider, you can request provider support on the model page. Please note Inference Endpoints is available to use - more info here: [Inference Endpoints](https://huggingface.co/docs/inference-endpoints/index). Thanks!

---

_[View the full topic](https://discuss.huggingface.co/t/facing-issue-building-a-simple-rag-application-using-retrievalqa/157340)._
