Skip to content

alexcjwei/splitgpt-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Backend

Built with FastAPI and LangChain + OpenAI's ChatGPT3.5 API. Deployed on Heroku.

Live on Vercel: https://splitgpt-alexwei.vercel.app/

Frontend: https://github.com/alexcjwei/splitgpt-frontend

Features

  • Single POST endpoint /create-contributions-table, which takes text and returns the table data for the frontend
  • A 3-step chain which first lists purchase data as text, then formats that list into a Markdown table, and finally extracts that Markdown table into structured format to respond with.
  • Also an input validation chain to make sure people aren't submitting random nonsense

Installation

pip install -r requirements.txt
fastapi dev main.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published