Components for GPTs, generative AI, and LLM projects. Not only UI Components.
Project description
streamlit-gpt-vis
Streamlit binding for @AntV/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 set_gpt_vis
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}] }
\`\`\`
'''
set_gpt_vis(content)
API
set_gpt_vis(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.2.tar.gz
.
File metadata
- Download URL: streamlit-gpt-vis-0.0.2.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 | f37d39f87fff94c69ba0ef19aac624bbabb004ed1717b1b221563f893645d046 |
|
MD5 | 3bf0164907ba8e23870d2ed385a007af |
|
BLAKE2b-256 | 91e49eb15b6c5b84091b9cdc19c3b5b48186ef3c01e028e90f5bd94c881d6b41 |
File details
Details for the file streamlit_gpt_vis-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: streamlit_gpt_vis-0.0.2-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 | cecdce7a4dce0644d02606ba0e054cbd9c9ae97802a18c2f35346c05189491bd |
|
MD5 | b8edd6fccde0d687532b75a4c1b96419 |
|
BLAKE2b-256 | 65c691631b309fa0ee2e1b09dd4f5a624960350a2aaa0a19878b6f6bd235a4fd |