Slyracoon23 / langchain-ui-api

🧬 A back-end for Langchain UI

Home Page:https://dolphin-app-tmpol.ondigitalocean.app/api/v1/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Langchain UI API

Getting started

  1. Clone the repo into a public GitHub repository (or fork https://github.com/homanp/langchain-ui-api/fork). If you plan to distribute the code, keep the source code public.

    git clone https://github.com/homanp/langchain-ui-api.git

Generate ads with GPT

  1. Create and activate a virtual environment

    virtualenv MY_ENV
    source MY_ENV/bin/activate
  2. Install packages with pip

    cd langchain-ui-api
    pip install -r requirements.txt
  3. Set up your .env file

    • Duplicate .env.example to .env
  4. Run the project

    uvicorn main:app --reload

Deployment

Deploy to DO

Contributions

Our mission is to make it easy for anyone to create and run LLM apps in the cloud. We are super happy for any contributions you would like to make. Create new features, fix bugs or improve on infra.

You can read more on how to contribute here.

About

🧬 A back-end for Langchain UI

https://dolphin-app-tmpol.ondigitalocean.app/api/v1/

License:MIT License


Languages

Language:Python 94.6%Language:Dockerfile 5.4%