{"repo":"Azure-Samples/serverless-chat-langchainjs","free":true,"listed":false,"github":"https://github.com/Azure-Samples/serverless-chat-langchainjs","clone":"git clone https://github.com/Azure-Samples/serverless-chat-langchainjs.git","description":"Build your own serverless AI Chat with Retrieval-Augmented-Generation using LangChain.js, TypeScript and Azure","language":"TypeScript","stars":860,"topics":["azure","azure-functions","generative-ai","javascript","langchain-js","mongodb","retrieval-augmented-generation","serverless","typescript","rag"],"license":"MIT","category":"ai-agents","readme_excerpt":"Serverless AI Chat with RAG using LangChain.js :star: If you like this sample, star it on GitHub — it helps a lot! Overview • Get started • Run the sample • Resources • FAQ • Troubleshooting This sample shows how to build a serverless AI chat experience with Retrieval-Augmented Generation using LangChain.js and Azure. The application is hosted on Azure Static Web Apps and Azure Functions, with Azure Cosmos DB for NoSQL as the vector database. You can use it as a starting point for building more complex AI applications. [!TIP] You can test this application locally without any cost using Ollama. Follow the instructions in the Local Development section to get started. Overview Building AI applications can be complex and time-consuming, but using LangChain.js and Azure serverless technologies allows to greatly simplify the process. This application is a chatbot that uses a set of enterprise documents to generate responses to user queries. We provide sample data to make this sample ready to try, but feel free to replace it with your own. We use a fictitious company called Contoso Real Estate , and the experience allows its customers to ask support questions about the usage of its products. The sample data includes a set of documents that describes its terms of service, privacy policy and a support guide. This application is made from multiple components: - A web app made with a single chat web component built with Lit and hosted on Azure Static Web Apps. The code is located in the","default_branch":null,"files":null,"tree":[],"storefront":"/r/Azure-Samples","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Azure-Samples/serverless-chat-langchainjs/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}