Skip to main content

EZ way for api calling

Project description

AI 对话助手 - p_talk_to_ai

一个支持持久化对话记录和流式交互的AI对话工具(兼容Deepseek等开源大模型)


🌟 核心特性

对话记忆持久化 💾

  • 自动存档:每次对话自动保存至{name}_tomb.pkl文件
  • 会话恢复:初始化时自动加载同名历史对话记录
  • 多会话管理:通过不同name参数创建独立对话实例
  • 一键清空new_talk()方法快速开启全新对话

流式交互体验 🌊

  • 实时显示模型思考过程(需模型支持)
  • 支持Token使用统计(默认关闭)
  • 流畅的内容分段输出

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

p_talk_to_ai-1.0.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

p_talk_to_ai-1.0-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file p_talk_to_ai-1.0.tar.gz.

File metadata

  • Download URL: p_talk_to_ai-1.0.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.4

File hashes

Hashes for p_talk_to_ai-1.0.tar.gz
Algorithm Hash digest
SHA256 955cbb0dde0fab3d5650e43d33c6a29ba2be6094a9c21e74453e4f3e2a233985
MD5 c0c2a140271739f622895840f8493640
BLAKE2b-256 4998b1bcc924229751afce9b209d2641c63635321d47289251cdf134ae2dcf6b

See more details on using hashes here.

File details

Details for the file p_talk_to_ai-1.0-py3-none-any.whl.

File metadata

  • Download URL: p_talk_to_ai-1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.4

File hashes

Hashes for p_talk_to_ai-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c3ee6d640cc2678ab2142dc91e97026ec3bb44986ca97a313f3f0a1b6f20ec4a
MD5 edc751cb7eb57bec6c282d8f93f6cdc5
BLAKE2b-256 d45c6f1006be334183a71f1295acef8a28222d24942b7d559ced542c82c6fb65

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page