{"id":18282005,"url":"https://github.com/antvis/gpt-vis","last_synced_at":"2026-01-20T10:01:22.192Z","repository":{"id":207146521,"uuid":"718188122","full_name":"antvis/GPT-Vis","owner":"antvis","description":"🤖 GPT Vision, Open Source Vision components for GPTs, generative AI, and LLM projects. Not only UI Components.","archived":false,"fork":false,"pushed_at":"2026-01-20T08:26:40.000Z","size":98483,"stargazers_count":642,"open_issues_count":16,"forks_count":80,"subscribers_count":23,"default_branch":"main","last_synced_at":"2026-01-20T09:28:16.014Z","etag":null,"topics":["antvis","gpts","llm","lui","visualization"],"latest_commit_sha":null,"homepage":"https://gpt-vis.antv.vision/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/antvis.png","metadata":{"files":{"readme":"README.ja-JP.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-11-13T15:07:53.000Z","updated_at":"2026-01-20T08:31:56.000Z","dependencies_parsed_at":"2023-12-07T03:24:12.213Z","dependency_job_id":"b689a345-64a4-48fb-920e-326280719f7e","html_url":"https://github.com/antvis/GPT-Vis","commit_stats":{"total_commits":51,"total_committers":14,"mean_commits":3.642857142857143,"dds":0.7647058823529411,"last_synced_commit":"21a604b6c09d9d0c28c56f821b433ab900c3eaa5"},"previous_names":["eosphoros-ai/gpt-vis","antvis/gpt-vis"],"tags_count":33,"template":false,"template_full_name":null,"purl":"pkg:github/antvis/GPT-Vis","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antvis%2FGPT-Vis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antvis%2FGPT-Vis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antvis%2FGPT-Vis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antvis%2FGPT-Vis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/antvis","download_url":"https://codeload.github.com/antvis/GPT-Vis/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antvis%2FGPT-Vis/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28601284,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T09:39:28.479Z","status":"ssl_error","status_checked_at":"2026-01-20T09:38:10.511Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["antvis","gpts","llm","lui","visualization"],"created_at":"2024-11-05T13:04:03.010Z","updated_at":"2026-01-20T10:01:22.172Z","avatar_url":"https://github.com/antvis.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg src=\"https://gw.alipayobjects.com/zos/antfincdn/R8sN%24GNdh6/language.svg\" width=\"18\"\u003e [English](./README.md) | [简体中文](./README.zh-CN.md) | 日本語\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/eosphoros-ai/GPT-Vis/assets/17919400/c8804ffb-d3d6-45d3-846f-cf217681ab05\" height=70\"\u003e\n\u003c/div\u003e\n\n\u003ch1 align=\"center\"\u003eGPT-Vis\u003c/h1\u003e\n\n\u003cdiv align=\"center\"\u003e\n\nGPTs、生成AI、およびLLMプロジェクトのためのコンポーネント。**UIコンポーネントだけではありません**。[MCP](https://github.com/antvis/mcp-server-chart) の方法で使用する。\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://gpt-vis.antv.vision\" target=\"_blank\"\u003eドキュメント\u003c/a\u003e •\n  \u003ca href=\"/knowledges\" target=\"_blank\"\u003e知識\u003c/a\u003e •\n  \u003ca href=\"https://www.tbox.cn/share/202504APmv6c00373739?platform=WebService\" target=\"_blank\"\u003eエージェントデモ\u003c/a\u003e •\n  \u003ca href=\"https://github.com/antvis/mcp-server-chart\" target=\"_blank\"\u003eMCP Server\u003c/a\u003e\n\u003c/p\u003e\n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003cvideo src=\"https://github.com/user-attachments/assets/b8eb4a89-b0ed-4a39-8fab-316161949446\" /\u003e\n\u003c/div\u003e\n\n## ✨ 特徴\n\n- 🤖 **LLMプロトコル**: LLMエージェントカードのための視覚的プロトコルで、LLMの対話型インタラクションとサービスのシリアライズされた出力のために設計されており、AIアプリケーションへの迅速な統合を容易にします。\n- 🍡 **LLMコンポーネント**: LLMアプリケーションのために開発されたコンポーネントで、20以上の一般的なVISコンポーネントが組み込まれており、カスタマイズされたUI要件のための便利な拡張メカニズムとアーキテクチャ設計を提供します。\n- 📈 **LLMアクセス**: チャート知識ベースとチャート推奨モデルをシームレスにLLMにアクセスし、LLMのために視覚カードを直接出力し、エージェントのための知識ベースと推奨モデルソリューションを提供します。\n\n## 📦 インストール\n\n```bash\n$ npm i @antv/gpt-vis --save\n```\n\n## 🔨 使用方法\n\n```jsx\nimport { GPTVis } from '@antv/gpt-vis';\n\nconst markdownContent = `\n# GPT-VIS \\n\\nGPTs、生成AI、およびLLMプロジェクトのためのコンポーネント。UIコンポーネントだけではありません。\n\nここに、2013年から2022年までのHaidilaoのフードデリバリー収益の視覚化があります。年々着実に増加しており、特に最近の年では顕著な*成長*が見られます。\n\n\\`\\`\\`vis-chart\n{\n  \"type\": \"line\",\n  \"data\": [\n    { \"time\": \"2013\", \"value\": 59.3 },\n    { \"time\": \"2014\", \"value\": 64.4 },\n    { \"time\": \"2015\", \"value\": 68.9 },\n    { \"time\": \"2016\", \"value\": 74.4 },\n    { \"time\": \"2017\", \"value\": 82.7 },\n    { \"time\": \"2018\", \"value\": 91.9 },\n    { \"time\": \"2019\", \"value\": 99.1 },\n    { \"time\": \"2020\", \"value\": 101.6 },\n    { \"time\": \"2021\", \"value\": 114.4 },\n    { \"time\": \"2022\", \"value\": 121 }\n  ]\n}\n\\`\\`\\`\n`;\n\nexport default () =\u003e {\n  return \u003cGPTVis\u003e{markdownContent}\u003c/GPTVis\u003e;\n};\n```\n\n\u003cdetails\u003e\n\u003csummary\u003e🛠 レンダラーUIのカスタマイズ\u003c/summary\u003e\n\n```jsx\nimport { GPTVisLite, withChartCode, ChartType, Pie } from '@antv/gpt-vis';\n\nconst markdownContent = `\n\\`\\`\\`my-ui\nmy data\n\\`\\`\\`\n\n\\`\\`\\`vis-chart\n{\n  \"type\": \"pie\",\n  \"data\": [\n    { \"category\": \"カテゴリ1\", \"value\": 27 },\n    { \"category\": \"カテゴリ2\", \"value\": 25 },\n    { \"category\": \"カテゴリ3\", \"value\": 18 },\n    { \"category\": \"その他\", \"value\": 5 }\n  ]\n}\n\\`\\`\\`\n`;\n\nconst customRenderers = { 'my-ui': ({ children }) =\u003e \u003cdiv\u003e{children}\u003c/div\u003e };\nconst components = {\n  code: withChartCode({\n    languageRenderers: customRenderers, // カスタムブロックレンダラーを登録\n    components: { [ChartType.Pie]: Pie }, // パイチャートを登録\n  }),\n};\n\nexport default () =\u003e {\n  return \u003cGPTVisLite components={components}\u003e{markdownContent}\u003c/GPTVisLite\u003e;\n};\n```\n\n\u003c/details\u003e\n\n## 🐍 Streamlit\n\n```python\nimport streamlit as st\nfrom streamlit_gpt_vis import set_gpt_vis\n\ncontent = '''\nここに、2013年から2022年までのHaidilaoのフードデリバリー収益の視覚化があります。年々着実に増加しており、特に最近の年では顕著な*成長*が見られます。\n\n\\`\\`\\`vis-chart\n{\"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}]}\n\\`\\`\\`\n'''\n\nset_gpt_vis(content)\n```\n\n詳細はこちら 👉 [streamlit-gpt-vis](https://github.com/antvis/GPT-Vis/tree/main/bindings/streamlit-gpt-vis)\n\n## ビジュアル知識\n\n[ビジュアル知識ベース](https://github.com/antvis/GPT-Vis/tree/main/knowledges)の目的は、エージェントがさまざまなデータ可視化チャートを理解、選択、作成するのを支援するための包括的かつ体系的なリソースを提供することです。以下は、RAGを通じて評価データセットに基づいて正確なチャートプロトコルを生成するためのメトリクスです。\n\n|               |                         |                      |               |                      |                 |         |\n| ------------- | ----------------------- | -------------------- | ------------- | -------------------- | --------------- | ------- |\n| Line(Multi)   | Column(Grouped/Stacked) | Pie                  | Area(Stacked) | Bar(Grouped/Stacked) | Scatter(Bubble) | Heatmap |\n| 40/40         | 25/27                   | 13/14                | 18/18         | 18/20                | 10/10           | 9/10    |\n| Histogram     | Tree Map                | Word Cloud           | Radar         | Dual Axis            | Rich Text NTV   | Pin Map |\n| 15/16         | 13/15                   | 11/12                | 23/23         | 13/14                | 7.3/10          | 10/11   |\n| Network Graph | Mind Map                | Organizational Chart | Flow Diagram  | Fishbone Diagram     |                 |         |\n| 8/10          | 12/14                   | 10/12                | 10/11         | 10/12                |                 |         |\n|               |                         |                      |               |                      |                 |         |\n\n注: X/Y形式の数字は、データセットに対して評価されたときのそれぞれのチャートタイプのメトリクスを表しています。\n\n## 🤖 チャート推奨データセット\n\nチャート推奨データセットは、与えられたデータに基づいてチャートタイプを推奨する能力を評価または微調整するために設計されています。データセットは現在、16種類のチャートをカバーしており、各チャートタイプには1〜3の異なるデータシナリオがあり、各シナリオには15以上のチャートデータインスタンスがあります。データセットは継続的に更新されており、使用ケースから収集したチャートデータの提供を歓迎します。データセットの詳細については、[evaluations/recommend](https://github.com/antvis/GPT-Vis/blob/main/evaluations/datastes/recommend/README.en.md)をご覧ください。\n\n## 💻 開発\n\n```bash\n# 依存関係をインストール\n$ pnpm install\n\n# ドキュメントデモでライブラリを開発\n$ pnpm dev\n\n# ライブラリのソースコードをビルド\n$ pnpm build\n```\n\n## ライセンス\n\n[MIT](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantvis%2Fgpt-vis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fantvis%2Fgpt-vis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantvis%2Fgpt-vis/lists"}