sveltekit-modal-langchain Svelte Themes

Sveltekit Modal Langchain

An example SvelteKit project using sveltekit-modal, with a Python server endpoint written in langchain.

image

sveltekit-modal-langchain

An example SvelteKit project using https://github.com/semicognitive/sveltekit-modal, showing how easy it is to write Python endpoints in SvelteKit.

See the code for the example +server.py route here. You'll see it largely mirrors the SvelteKit built-in +server.js!

This example

  • Includes a frontend written in TailwindCSS
  • Has a api/summarize endpoint which takes a PDF upload, and summarizes it with the OpenAI Api! Written in Python with LangChain

Top categories

Loading Svelte Themes