Skip to content

Simple boilerplate app for using LangchainJS and OpenAI with Sveltekit (PDF Summarizer Chain example)

Notifications You must be signed in to change notification settings

xpluscal/sveltekit-langchain-boilerplate

Repository files navigation

sveltekit-langchain-boilerplate

App Screenshot

Welcome to the SvelteKit & Langchain Boilerplate repository! This project provides a solid starting point for building powerful, AI-driven applications using SvelteKit for the frontend and LangChain to integrate large language models (LLMs).

Overview

This boilerplate combines the simplicity and ease of use of SvelteKit, a popular framework for building web applications, with the power of LangChain, a library designed to help developers leverage LLMs alongside other sources of computation and knowledge.

With this boilerplate, you can easily create applications such as question-answering systems, chatbots, and intelligent agents by harnessing the power of LLMs, while benefiting from the performance and developer experience offered by SvelteKit.

Uses Picocss

Getting started

  1. Install the dependencies
npm install
  1. Add your OPENAI_API_KEY to the .env file

  2. Start the app in development mode

npm run dev

Deploying

To deploy your app, run

npm run build

About

Simple boilerplate app for using LangchainJS and OpenAI with Sveltekit (PDF Summarizer Chain example)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published