Panel Chat Examples¶
Panels Chat Components are available from Panel v1.3.0.
To install and serve all examples:
git clone https://github.com/holoviz-topics/panel-chat-examples cd panel-chat-examples # Optionally create a new virtual environment with conda, venv, etc. pip install . # Optionally set the OPENAI_API_KEY environment variable panel serve docs/examples/**/*.py --static-dirs thumbnails=docs/assets/thumbnails --autoreload
Then open http://localhost:5006 in your browser.
Note the default installation is not optimized for GPU usage. To enable GPU support for local
models (i.e. not OpenAI), install
ctransformers with the proper backend and modify the scripts configs' accordingly, e.g.
n_gpu_layers=1 for a single GPU.
We would ❤️ to collaborate with you. Check out the DEVELOPER GUIDE for to get started.
This project is licensed under the terms of the MIT license.