#2323rd of 34 in RAG and search

serverless-chat-langchainjs

RAG chatbot sample on Azure Functions, Cosmos DB and LangChain.js

Releases and problems feed (RSS)

Stars
869
License
MIT
Last commit
Oct 2026
Language
TypeScript
Stars, last 30 weeks+19
27 Apr 2026: 850 stars4 May 2026: 852 stars11 May 2026: 852 stars18 May 2026: 852 stars25 May 2026: 852 stars1 Jun 2026: 852 stars8 Jun 2026: 854 stars15 Jun 2026: 854 stars22 Jun 2026: 854 stars29 Jun 2026: 854 stars6 Jul 2026: 855 stars13 Jul 2026: 855 stars20 Jul 2026: 855 stars27 Jul 2026: 857 stars3 Aug 2026: 858 stars10 Aug 2026: 858 stars17 Aug 2026: 859 stars24 Aug 2026: 860 stars31 Aug 2026: 860 stars7 Sept 2026: 860 stars14 Sept 2026: 860 stars21 Sept 2026: 860 stars28 Sept 2026: 861 stars5 Oct 2026: 861 stars12 Oct 2026: 861 stars19 Oct 2026: 863 stars26 Oct 2026: 864 stars2 Nov 2026: 866 stars9 Nov 2026: 867 stars16 Nov 2026: 869 stars23 Nov 2026: 869 stars

850 on 27 Apr 2026869 on 23 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

A TypeScript sample that answers questions over PDF documents using LangChain.js, with a Lit chat web component on Azure Static Web Apps and an Azure Functions API. Azure Cosmos DB for NoSQL stores vectors and per-user chat history, and Blob Storage holds the source files. It runs against Azure OpenAI or locally with Ollama (llama3.1 and nomic-embed-text).

Who it is for: JavaScript developers building RAG chat apps on Azure

Strengths

  • Full path wired: ingestion, vector store, retrieval, chat history and web UI
  • Runs locally with Ollama, so no cloud cost for testing
  • One-command Azure deploy with azd up, plus optional CI/CD via azd pipeline config
  • Uses the HTTP protocol for AI chat apps between web app and API

Weaknesses

  • Tied to Azure services: Functions, Static Web Apps, Cosmos DB, Blob Storage
  • Azure deploy needs Azure OpenAI access and role-assignment permissions
  • Local Ollama models may not follow citation and follow-up question formatting
  • Sample data is a fictitious company; ingestion is shown for PDFs in /data

What it needs

  • TypeScript, Azure OpenAI, Ollama llama3.1, Ollama nomic-embed-text
  • Needs Azure Static Web Apps, Azure Functions, Azure Cosmos DB for NoSQL, Azure Blob Storage, Azure OpenAI, Azure Developer CLI, Node.js 20+, Ollama (local mode)

Also in RAG and search

See all 34
Also in RAG and search
RankProjectScore
#21rag-postgres-openai-pythonRAG over Postgres table rows with hybrid search and SQL filters512 starsMIT43 out of 100
#22generativeaiexamplesNVIDIA notebooks and sample apps for RAG, agents and NeMo microservices4.2k starsApache-2.042 out of 100
#24ai-starter-kitSambaNova Python kits for document RAG, search assistant, function calling251 starsApache-2.040 out of 100
#25azure-search-openai-javascriptTypeScript RAG on Azure AI Search with separate indexer and search services327 starsMIT39 out of 100
#26llm-answer-enginePerplexity-style Next.js answer engine over Brave search results5k starsMIT36 out of 100