EZ way for api calling
Project description
api_call方法:P_chat_to_excel
Chat-to-Excel 智能表格分析工具
通过大模型(如通义千问)自动解析Excel文本数据,支持智能分析、结果保存与Prompt配置持久化
📌 核心亮点
Prompt配置持久化 🔄
- 自动保存:每次通过
info_collect()设置的prompt/inquiry等参数,将自动保存至本地prompt_tomb目录 - 按名称隔离:通过
name参数创建不同实例,实现多组独立配置共存(如客服质检/舆情分析等场景) - 断点续用:重启程序时自动加载同名实例的历史配置,无需重复输入参数
- 灵活管理:通过例如
info_collect(param='prompt')可单独修改特定参数,保留其他配置不变
🚀 主要功能
1. 大模型交互
- 支持Qwen系列模型(默认qwen-plus)
- 多线程并发处理(自动适配CPU核心数)
- 错误自动重试机制(单条数据最大重试2次)
2. 数据预处理
- 通话记录结构化解析(JSON→角色/内容)
- 非人工对话内容过滤(如系统提示音)
3. 灵活分析模式
- 全量分析:处理完整数据集
- 抽样调试:通过
data_sample()抽取小样本测试Prompt效果 - 单/多字段:支持单列独立分析或多列联合分析
4. 结果输出
- 自动插入分析结果列
- 保留原始数据结构
- 支持xlsx格式导出
作者: 徐鹏
邮箱: xupeng23456@126.com
创建日期: 2025年4月24日
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-11.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-11.0.tar.gz.
File metadata
- Download URL: p_chat_to_excel-11.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 |
76abfaae9aa4dff06529d3f0df5d8cdf17c7942b6e259c19c77904aa48abbf63
|
|
| MD5 |
bec233ec82c47043327d8ff8a59bae66
|
|
| BLAKE2b-256 |
9fc68ca0a1769f55910425bd177e711fb6add50a1dc3584efe58719e21a51c71
|
File details
Details for the file p_chat_to_excel-11.0-py3-none-any.whl.
File metadata
- Download URL: p_chat_to_excel-11.0-py3-none-any.whl
- Upload date:
- Size: 5.7 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 |
9e9c9557764370bf569e39aead60e2b7aa708aa3584f8f7d2a125d78002f2803
|
|
| MD5 |
ae580d73908df88d69f7c0db46741558
|
|
| BLAKE2b-256 |
9b721bd35e1530574d8bd5941ec7441be8d3fbbe66aeecf62ec4ce26aedc45d9
|