Skip to main content

Util list:

  • count_tokens: GPT系列模型下,计算文本使用的token
  • calculate_total_tokens: GPT系列模型下,计算多轮对话使用的token
  • CommonGPTModel: 常见的 GPT 模型使用名称
  • os_environ_setting: API key 的环境变量设置,或者进行代理IP和端口设置(必须先于 chat_with_llm 进行调用;或者自己手动进行了 api key 的配置,就不用调用了)
  • chat_with_llm: 与 LLM 进行文本对话

Metadata

Release files for tq-openai-utils 0.0.1.post1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tq-openai-utils 0.0.1.post1
File Size Uploaded Provenance Actions
tq_openai_utils-0.0.1.post1.tar.gz 5.0 kB Without provenance Details for tq_openai_utils-0.0.1.post1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for tq-openai-utils 0.0.1.post1
File Interpreter ABI Platform Actions
tq_openai_utils-0.0.1.post1-py3-none-any.whl Python 3 none any Details for tq_openai_utils-0.0.1.post1-py3-none-any.whl

Total release size: 10.5 kB

Release files / tq_openai_utils-0.0.1.post1.tar.gz

Download URL tq_openai_utils-0.0.1.post1.tar.gz
Size 5.0 kB
Tags Source
SHA-256 checksum
How to use checksums
675a525cad7d357ee71eb37f5d03027f48476e11a617c8ab5cb79c4ee89a5ccc
BLAKE2b-256 checksum
How to use checksums
0824a05ab0de6e1d13b156d346e709fd1d30dedde54a394c8ca75cd4e1068969
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.13

Release files / tq_openai_utils-0.0.1.post1-py3-none-any.whl

Download URL tq_openai_utils-0.0.1.post1-py3-none-any.whl
Size 5.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
18b6bb0c9653e914f709c98e213581ba14c42fc0056f71cce4b11b19b90343a2
BLAKE2b-256 checksum
How to use checksums
16f22c5bb02de543203a2165a8db2cc98bafbde3599119995bc024378e29dc50
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.13

Security for tq-openai-utils 0.0.1.post1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.1.post1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page