Skip to content

Short demo on how to use Chainlit library for using Large Language Models API.

Notifications You must be signed in to change notification settings

di37/chainlit-tutorial

Repository files navigation

Basic Chainlit Demo

This is just basic demo to show how LLM agents can be shown in crispy User Interface. Chainlit library helps us accomplishing that in seconds. Modify the code in main.py file and the python scripts in utils folder - constants.py and helper.py.

To spin up Chainlit on web browser

chainlit run main.py -w --port 3000

Running the Image on Docker

  • On the terminal command, run sudo docker-compose up for building and running the image.
  • To stop running the image and delete its container: sudo docker-compose down.
  • For any code changes and is to be reflected in the docker image: sudo docker-compose build.

References

About

Short demo on how to use Chainlit library for using Large Language Models API.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published