← 开源
ZJU-OmniAI

Data-Copilot

Data-Copilot: Bridging Billions of Data and Humans with Autonomous Workflow

ApplicationsSpecialistsPython
在 GitHub 打开
增长势头
+024 小时新增 Star0.0%
1.51k
Star
153
Fork
+0
本周
3
贡献者
创建于 2023-06-09 · 更新于 2026-10-06 · 今日第 10124 名
主要开发者
zwq2018Meng-03yezhwi

ZJU-OmniAI/Data-Copilot 排名第 10,124,有 1,512 个星标。

同类别比较

ZJU-OmniAI/Data-Copilot 排名第 10,124,此处有 8 个同类条目;memfreeme/memfree 排名第 10,121。

同类别比较
名称排名指标
Coframe/coffee10,099
语言:
Python
星标数:
1,523
分叉数:
75
简介:
Build and iterate on your UI 10x faster with AI - right from your own IDE ☕️
kyutai-labs/unmute10,103
语言:
Python
星标数:
1,522
分叉数:
248
简介:
Make text LLMs listen and speak
fossasia/voxbento10,119
语言:
Python
星标数:
1,514
分叉数:
105
简介:
Open Source AI powered Interpretation Platform https://voxbento.com
memfreeme/memfree10,121
语言:
TypeScript
星标数:
1,514
分叉数:
213
简介:
MemFree - Hybrid AI Search Engine & AI Page Generator
andrewnguonly/Lumos10,129
语言:
TypeScript
星标数:
1,510
分叉数:
109
简介:
A RAG LLM co-pilot for browsing the web, powered by local LLMs
Open-Source-Legal/OpenContracts10,135
语言:
Python
星标数:
1,508
分叉数:
195
简介:
The open document intelligence platform for builders and hackers - DMS for the agentic world
appleboy/CodeGPT10,141
语言:
Go
星标数:
1,506
分叉数:
133
简介:
A CLI written in Go language that writes git commit messages or do a code review brief for you using ChatGPT AI (gpt-4.1, gpt-4o model) and automatically installs a git prepare-commit-msg hook.
CyberPunkMetalHead/binance-trading-bot-new-coins10,149
语言:
Python
星标数:
1,502
分叉数:
269
简介:
This Binance trading bot detects new coins as soon as they are listed on the Binance exchange and automatically places sell and buy orders. It comes with trailing stop loss and other features. If you like this project please consider donating via Brave.
关键参数与规格
关键参数与规格
参数值
语言Python
类别Applications
子类别Specialists
关键词Data processing, Finance
星标数1,512
分叉数153
贡献者3
创建日期2023-06-09
更新日期2026-10-06
1 天星标数0
7 天星标数0
排名10,124
上次排名10,139
排名变化15
7 天星标排名12,515
上次 7 天星标排名12,559
7 天星标排名变化44
总星标排名8,047
上次总星标排名8,032
总星标排名变化-15
README 摘录

Data-Copilot: Bridging Billions of Data and Humans with Autonomous Workflow **An LLM-based system that connects massive data with human requests: it autonomously manages, processes, analyzes, predicts and visualizes data. 05**: Data-Copilot was presented as an **Oral** at the ICLR 2024 Workshop on Large Language Models for Agents. 06**: We released the paper, the code and an online demo. 📖 Overview Data-Copilot is an LLM-based system that helps you address data-related tasks. It connects data sources

from different domains with diverse user needs, and can autonomously manage, process, analyze, predict and visualize data. When a request is received, it transforms raw data into the informative results that best match the user's intent. ⭐ **Designer**: Data-Copilot independently designs versatile interface tools with different functions through self-request and iterative refinement. ⭐ **Dispatcher**: Data-Copilot invokes the corresponding interfaces sequentially or in parallel, and transforms raw data from heterogeneous sources into graphics, tables and text, without human assistance. This

repository releases Data-Copilot for the Chinese financial market: stocks, funds, economic data, company financial data and live news. **Paper:** Data-Copilot: Bridging Billions of Data and Humans with Autonomous Workflow Wenqi Zhang, Yongliang Shen, Zeqi Tan, Guiyang Hou, Weiming Lu, Yueting Zhuang 🎬 Demo Watch the demo video. 5 | ✓ | ✓ | ✓ | ✓ | | Qwen-72B-Chat | ✓ | ✓ | ✓ | ✓ | Data-Copilot was built on GPT-3. 5, whose input was limited to 4k tokens at the time, so this release covers Chinese stocks, funds and economic data

. Data from foreign financial markets may be supported in the future. In the web demo, you enter the OpenAI or Azure-OpenAI key on the page instead. Run from the command line answers the example request at the end of the file. The model versions are set in ( ) and ( ). If your provider no longer offers them, change the model names there. An online version of this demo is on Hugging Face Spaces. For Azure-OpenAI, enter the key, the API

base and the deployment name (engine) instead. A paid OpenAI plan is recommended: with the rate limits of a free plan, the demo is very slow. Type your request, or pick one from the example boxes. The **Solving Step** box shows the intermediate workflow. The final answer appears as text (**Summary and Result**), a chart and a table. NOTE] Stock names are matched against a local copy of the stock list saved on 2023-04-21 ( ). Stocks that were listed

or renamed after that date are not found. 🗂️ Project Structure and contain the interface tools obtained in the first phase (interface design). contains the prompts and in-context demonstrations. ⚙️ How It Works handles a request in five stages: 1. **Intent detection**: rewrites the request into a precise instruction with concrete dates and indicators. **Task planning**: splits the instruction into a data task ( , or ) and a . **Tool calls**: the LLM plans a workflow of interface calls for the data task (step

by step, in parallel, or in a loop), and Data-Copilot runs it. **Visualization**: a second workflow draws charts or

常见问题

记录了多少星标和分叉?

ZJU-OmniAI/Data-Copilot 有 1,512 个星标和 153 个分叉。

仓库排名是多少?

ZJU-OmniAI/Data-Copilot 排名第 10,124。

记录的语言和类别是什么?

ZJU-OmniAI/Data-Copilot 有 1,512 个星标,语言为 Python,类别为 Applications。

哪个仓库排名最接近?

ZJU-OmniAI/Data-Copilot 与 memfreeme/memfree 比较,后者排名第 10,121,有 1,514 个星标。

README

Data-Copilot: Bridging Billions of Data and Humans with Autonomous Workflow

An LLM-based system that connects massive data with human requests:
it autonomously manages, processes, analyzes, predicts and visualizes data.

🔥 News

📖 Overview

Data-Copilot is an LLM-based system that helps you address data-related tasks. It connects data sources from different domains with diverse user needs, and can autonomously manage, process, analyze, predict and visualize data. When a request is received, it transforms raw data into the informative results that best match the user's intent.

  • ⭐ Designer: Data-Copilot independently designs versatile interface tools with different functions through self-request and iterative refinement.
  • ⭐ Dispatcher: Data-Copilot invokes the corresponding interfaces sequentially or in parallel, and transforms raw data from heterogeneous sources into graphics, tables and text, without human assistance.

This repository releases Data-Copilot for the Chinese financial market: stocks, funds, economic data, company financial data and live news.

Paper: Data-Copilot: Bridging Billions of Data and Humans with Autonomous Workflow

Wenqi Zhang, Yongliang Shen, Zeqi Tan, Guiyang Hou, Weiming Lu, Yueting Zhuang

🎬 Demo

Watch the demo video. Data-Copilot queries and predicts data autonomously:

Supported models and data sources:

Model CHN Stock CHN Fund CHN Economic data CHN Financial data
OpenAI GPT-3.5 ✓ ✓ ✓ ✓
Azure GPT-3.5 ✓ ✓ ✓ ✓
Qwen-72B-Chat ✓ ✓ ✓ ✓

Data-Copilot was built on GPT-3.5, whose input was limited to 4k tokens at the time, so this release covers Chinese stocks, funds and economic data. Data from foreign financial markets may be supported in the future.

🚀 Quick Start

1. Install

Python 3.8–3.10 is required (tested with Python 3.9 and 3.10).

git clone https://github.com/ZJU-OmniAI/Data-Copilot.git
cd Data-Copilot
conda create -n data-copilot python=3.10 -y
conda activate data-copilot
pip install -r requirements.txt

2. Set your keys

Data-Copilot reads its keys from environment variables:

Variable Needed for Get it from
TUSHARE_TOKEN all financial data Tushare
OPENAI_KEY GPT in main.py OpenAI
DASHSCOPE_API_KEY Qwen in main.py Alibaba Cloud Bailian
export TUSHARE_TOKEN="your-tushare-token"
export OPENAI_KEY="sk-..."

Some Tushare interfaces used here are only open to accounts with enough credits (积分). In the web demo, you enter the OpenAI or Azure-OpenAI key on the page instead.

3. Run from the command line

python main.py

main.py answers the example request at the end of the file. To ask something else, edit instruction. To switch the LLM, set model to "gpt" or "qwen-chat-72b".

The model versions are set in lab_gpt4_call.py (gpt-3.5-turbo) and lab_llms_call.py (qwen-72b-chat). If your provider no longer offers them, change the model names there.

4. Run the web demo

python app.py

Then open . An online version of this demo is on Hugging Face Spaces.

  1. Enter your OpenAI key and click OK. For Azure-OpenAI, enter the key, the API base and the deployment name (engine) instead. A paid OpenAI plan is recommended: with the rate limits of a free plan, the demo is very slow.

  2. Type your request, or pick one from the example boxes.

  3. Click Start. The Solving Step box shows the intermediate workflow. The final answer appears as text (Summary and Result), a chart and a table.

[!NOTE] Stock names are matched against a local copy of the stock list saved on 2023-04-21 (data/). Stocks that were listed or renamed after that date are not found.

🗂️ Project Structure

Data-Copilot
├── main.py                # the workflow: intent detection → task planning → tool calls → visualization → summary
├── app.py                 # Gradio web demo
├── tool.py                # interface tools: data acquisition, processing, prediction and visualization
├── lab_gpt4_call.py       # OpenAI and Azure-OpenAI calls
├── lab_llms_call.py       # Qwen (DashScope) and GLM calls
├── lab_llm_local_call.py  # local InternLM (optional; needs torch, transformers and modelscope)
├── prompt_lib/            # prompts and in-context demonstrations for each stage and task
├── tool_lib/              # interface descriptions shown to the LLM, one file per task
├── create_tool/           # atomic Tushare API descriptions used for interface design
├── data/                  # local lists: A-share stocks, funds, SW2021 industries
├── fonts/                 # SimHei font for Chinese text in charts
├── output/                # tables saved by print_save_table
├── docs/flowchart.md      # flowchart of main.py
└── assets/                # figures used in this README

tool.py and tool_lib/ contain the interface tools obtained in the first phase (interface design). prompt_lib/ contains the prompts and in-context demonstrations.

⚙️ How It Works

main.py handles a request in five stages:

  1. Intent detection: rewrites the request into a precise instruction with concrete dates and indicators.
  2. Task planning: splits the instruction into a data task (stock_task, fund_task or economic_task) and a visualization_task.
  3. Tool calls: the LLM plans a workflow of interface calls for the data task (step by step, in parallel, or in a loop), and Data-Copilot runs it.
  4. Visualization: a second workflow draws charts or prints tables from the results.
  5. Summary: the LLM explains the plan, the tools it used and the result.

A flowchart of main.py is also available.

🍺 Cases

Daily net inflow and cumulative inflow of northbound capital this year

China's quarterly GDP growth over the past ten years

A loop workflow: Q1 net profit growth of every SSE 50 constituent

📝 Citation

If you find this work useful, please cite:

@article{zhang2023data,
  title={Data-Copilot: Bridging Billions of Data and Humans with Autonomous Workflow},
  author={Zhang, Wenqi and Shen, Yongliang and Tan, Zeqi and Hou, Guiyang and Lu, Weiming and Zhuang, Yueting},
  journal={arXiv preprint arXiv:2306.07209},
  year={2023}
}

📬 Contact

If you have any questions, please open an issue or email zhangwenqi@zju.edu.cn.

🙏 Acknowledgement

排名相邻
同类项目