EZ way for api calling
Project description
Chat-to-Excel 智能表格分析工具
通过大模型(如通义千问)自动解析Excel文本数据,支持智能分析、结果保存与Prompt配置持久化
📌 近期亮点
Prompt配置持久化 🔄
- 自动保存:每次通过
info_collect()设置的prompt/inquiry等参数,将自动保存至本地prompt_tomb目录 - 按名称隔离:通过
name参数创建不同实例,实现多组独立配置共存(如客服质检/舆情分析等场景) - 断点续用:重启程序时自动加载同名实例的历史配置,无需重复输入参数
- 灵活管理:通过例如
info_collect(param='prompt')可单独修改特定参数,保留其他配置不变 - 细粒度控制:支持通过info_collect(temperature=0.7)单独调整任意参数,保持其他配置不变
🚀 主要功能
1. 大模型交互
- 支持Qwen系列模型(默认qwen-plus)
- 多线程并发处理(自动适配CPU核心数)
- 错误自动重试机制(单条数据最大重试2次)
2. 数据预处理
- 通话记录结构化解析(JSON→角色/内容)
- 非人工对话内容过滤(如系统提示音)
3. 灵活分析模式
- 全量分析:处理完整数据集
- 抽样调试:通过
data_sample()抽取小样本测试Prompt效果 - 单/多字段:支持单列独立分析或多列联合分析
4. 结果输出
- 自动插入分析结果列
- 保留原始数据结构
- 支持xlsx格式导出
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
p_chat_to_excel-12.0.tar.gz
(6.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file p_chat_to_excel-12.0.tar.gz.
File metadata
- Download URL: p_chat_to_excel-12.0.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b91c55fd9d658a2a13b92e6491fc21404f63a1632b70f2fe43164e388f24f247
|
|
| MD5 |
347195a88f5096e07332921e5ad1e6a3
|
|
| BLAKE2b-256 |
32f8d3b0c981edac8d7fb4750b3dc8e00824df5c80d798632561f0f9a3ce18f4
|
File details
Details for the file p_chat_to_excel-12.0-py3-none-any.whl.
File metadata
- Download URL: p_chat_to_excel-12.0-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fbca2c7a35d40e5742c78f1622071fb6f6188d4bf23f9cb43d901d522f82fbfc
|
|
| MD5 |
aa1874e10557914183043893fc60c343
|
|
| BLAKE2b-256 |
9f75becb9627e8fd6a1116a1a584d690a5d84c63fb173946067e24f8081f2c54
|