# JavaScript RAG Web Apps with LlamaIndex

**URL:** https://community.deeplearning.ai/c/short-course-q-a/javascript-rag-web-apps-with-llamaindex/439.md

[Latest](https://community.deeplearning.ai/latest.md) · [Categories](https://community.deeplearning.ai/categories.md) · [Tags](https://community.deeplearning.ai/tags.md)

---

## [SimpleResponseBuilder && ResponseSynthesizer are missing](https://community.deeplearning.ai/t/simpleresponsebuilder-responsesynthesizer-are-missing/758423)

<div class="topic-metadata">

**Author:** [@cyanbasic](https://community.deeplearning.ai/u/cyanbasic)\
**Replies:** 0\
**Last updated:** [January 26, 2025, 9:35am UTC](https://community.deeplearning.ai/t/simpleresponsebuilder-responsesynthesizer-are-missing/758423 "2025-01-26T09:35:49Z")

</div>

//response builder let customResponseBuilder = new llamaIndex.SimpleResponseBuilder( customServiceContext, customPrompt ); let customSynthesizer = new llamaIndex.ResponseSynthesizer({ responseBuilder…

---

## [Issue running LlamaIndex js app](https://community.deeplearning.ai/t/issue-running-llamaindex-js-app/748483)

<div class="topic-metadata">

**Author:** [@anushalihala](https://community.deeplearning.ai/u/anushalihala)\
**Replies:** 5\
**Last updated:** [January 9, 2025, 1:06pm UTC](https://community.deeplearning.ai/t/issue-running-llamaindex-js-app/748483 "2025-01-09T13:06:38Z")

</div>

Im trying to run this app GitHub - togethercomputer/llamaindex-chatbot: A RAG Chatbot with Next.js, Together.ai and Llama Index But im getting this error \[Bug\] Problem working with Next.js · Issue #210 · huggingface/tra…

---

## [Run locally with gemini](https://community.deeplearning.ai/t/run-locally-with-gemini/745331)

<div class="topic-metadata">

**Author:** [@guillaume63](https://community.deeplearning.ai/u/guillaume63)\
**Replies:** 0\
**Last updated:** [January 3, 2025, 1:51pm UTC](https://community.deeplearning.ai/t/run-locally-with-gemini/745331 "2025-01-03T13:51:38Z")

</div>

In order to have better control, can you share your experiences with running locally (vscode under wsl or linux) and using gemini as llm (with “gemini-1.5-flash”) with my own API\_KEY I have already deno up and running …

---

## [Trying to Run in Local Jupyter but missing Env variables](https://community.deeplearning.ai/t/trying-to-run-in-local-jupyter-but-missing-env-variables/665910)

<div class="topic-metadata">

**Author:** [@LakshmiS](https://community.deeplearning.ai/u/LakshmiS)\
**Replies:** 1\
**Last updated:** [July 26, 2024, 10:37am UTC](https://community.deeplearning.ai/t/trying-to-run-in-local-jupyter-but-missing-env-variables/665910 "2024-07-26T10:37:43Z")

</div>

I am trying to run the notebooks in my Jupyter in local, I really don’t understand how to setup the env variables like: “DLAI\_LOCAL\_URL”, “PORT1” and “PORT2”. I tried giving localhost and various port values but it did n…

---

## [Can't spawn npm on Windows 11](https://community.deeplearning.ai/t/cant-spawn-npm-on-windows-11/632888)

<div class="topic-metadata">

**Author:** [@quiksilver10152](https://community.deeplearning.ai/u/quiksilver10152)\
**Replies:** 2\
**Last updated:** [June 5, 2024, 8:26pm UTC](https://community.deeplearning.ai/t/cant-spawn-npm-on-windows-11/632888 "2024-06-05T20:26:00Z")

</div>

I am attempting to run my RAG server locally and all of the code is working except the runFrontend() portion which returns an error: Stack trace: NotFound: Failed to spawn ‘npm’: program not found at spawnSync (ext:ru…

---

## [Different embedding model per index](https://community.deeplearning.ai/t/different-embedding-model-per-index/622828)

<div class="topic-metadata">

**Author:** [@Berenike](https://community.deeplearning.ai/u/Berenike)\
**Replies:** 1\
**Last updated:** [May 6, 2024, 10:47pm UTC](https://community.deeplearning.ai/t/different-embedding-model-per-index/622828 "2024-05-06T22:47:40Z")

</div>

For “Advanced queries with agents”: How to handle the case where two indices were created with different embedding models in a separate process? How would I know which embedding model was used for creating the vector sto…

---

## [Code not working in a local Jupyter notebook](https://community.deeplearning.ai/t/code-not-working-in-a-local-jupyter-notebook/603682)

<div class="topic-metadata">

**Author:** [@Wafa\_K](https://community.deeplearning.ai/u/Wafa_K)\
**Replies:** 3\
**Last updated:** [April 4, 2024, 9:07pm UTC](https://community.deeplearning.ai/t/code-not-working-in-a-local-jupyter-notebook/603682 "2024-04-04T21:07:02Z")

</div>

I tried to run the code of the second lesson in my local Jupyter environment but it didn’t work.

---

## [Invoke custom LLMs using the VectorStoreIndex api of llamaIndex](https://community.deeplearning.ai/t/invoke-custom-llms-using-the-vectorstoreindex-api-of-llamaindex/601990)

<div class="topic-metadata">

**Author:** [@Saurabh\_Kumar3](https://community.deeplearning.ai/u/Saurabh_Kumar3)\
**Replies:** 2\
**Last updated:** [April 1, 2024, 2:52pm UTC](https://community.deeplearning.ai/t/invoke-custom-llms-using-the-vectorstoreindex-api-of-llamaindex/601990 "2024-04-01T14:52:02Z")

</div>

How do I invoke customized openAI or non openAI llms as part of the VectorStoreIndex ?

---

## [Trouble Running JavaScript in Jupyter Notebook?](https://community.deeplearning.ai/t/trouble-running-javascript-in-jupyter-notebook/600658)

<div class="topic-metadata">

**Author:** [@Leem](https://community.deeplearning.ai/u/Leem)\
**Replies:** 2\
**Last updated:** [March 31, 2024, 10:37am UTC](https://community.deeplearning.ai/t/trouble-running-javascript-in-jupyter-notebook/600658 "2024-03-31T10:37:56Z")

</div>

Hi, For those encountering difficulties running the JavaScript code in their Jupyter notebooks, you can make things easier by installing deno. Follow the instructions provided in this link: Deno 1.37: Modern JavaScript …
