SvelteKit
If you're looking to use LangChain in a SvelteKit project, you can check out svelte-chat-langchain.
The app is a SvelteKit implementation of the QA Chatbot Chat Langchain and is best used as a reference to learn the basics of a QA chatbot over documents or as a starting point for your own custom implementation.
The example shows one possible way to implement ingestion (document loading, splitting, and embedding) as well as RAG (Retrieval Augmented Generation), LCEL, conditional chaining, and streaming.
Links
- Repository: https://github.com/SimonPrammer/svelte-chat-langchain
- Blog post: QA Chatbot: Chatting with your Documents made simple for a step-by-step guide!