Components for GPTs, generative AI, and LLM projects. Not only UI Components.
Project description
streamlit-gpt-vis
Components for GPTs, generative AI, and LLM projects. Not only UI Components.
Installation
pip install streamlit-gpt-vis
Usage
import streamlit as st
from streamlit_gpt_vis import gpt_vis_renderer
content = '''
# GPT-VIS \n\nComponents for GPTs, generative AI, and LLM projects. Not only UI Components.
Here’s a visualization of Haidilao's food delivery revenue from 2013 to 2022. You can see a steady increase over the years, with notable *growth* particularly in recent years.
\`\`\`vis-chart
{ "type": "line","data": [{"time":2013,"value":59.3},{"time":2014,"value":64.4},{"time":2015,"value":68.9},{"time":2016,"value":74.4},{"time":2017,"value":82.7},{"time":2018,"value":91.9},{"time":2019,"value":99.1},{"time":2020,"value":101.6},{"time":2021,"value":114.4},{"time":2022,"value":121}] }
\`\`\`
'''
gpt_vis_renderer(content, config=None)
API
gpt_vis_renderer(content: str, config: dict = None)
- content: Markdown content
- config: GPT-Vis ConfigProvider config
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file streamlit-gpt-vis-0.0.1.tar.gz
.
File metadata
- Download URL: streamlit-gpt-vis-0.0.1.tar.gz
- Upload date:
- Size: 1.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.9.6 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/1.0.0 urllib3/1.26.18 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f4da14ba70f5320ceeffcd6b82b6953b792318fe69f9d2b47843028b2ae87ad |
|
MD5 | 7a389303cc956d114255e30e6efaf17d |
|
BLAKE2b-256 | 16bc35300704b8d00bb760964220ebab2a86ffcb6187db5d5c1c8786505e88ff |
File details
Details for the file streamlit_gpt_vis-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: streamlit_gpt_vis-0.0.1-py3-none-any.whl
- Upload date:
- Size: 1.4 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.9.6 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/1.0.0 urllib3/1.26.18 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 97abae24244a0d8a22300ee9a9c82d179b2da53a3e9a4e70daca55208c19019f |
|
MD5 | 21280bde57a9ca72851ca2b844a0baab |
|
BLAKE2b-256 | d2663ffc993dd3fe950e5ce51d90b45b5a0c6b87446681b43b4df5ced4879633 |