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-2.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-2.0-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: p_talk_to_ai-2.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-2.0.tar.gz
Algorithm Hash digest
SHA256 790537e049e7da4a1ec7aea9363211d4eb5250bceab0940a82d86658a019ac12
MD5 775c72261752ed37842f6dcc99fdb67e
BLAKE2b-256 1b16f703eed1f1773b1a5a02743ec8070a1a4be9fabf3b72326759459fff5bd0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: p_talk_to_ai-2.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-2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 994e7bb5ddc5a5da9b63fe36e8d77977dece6714c72c1ff9ca81877c43a88617
MD5 b55563cbb1326c762bcc4f3f6f42a836
BLAKE2b-256 f8333c3a04925a52fd388356cea94d06db8c3c221ce8892740e4fa1a3bdcb962

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