【文章自荐】同一段提示词反复发,怎么比较 GPT API 中转的缓存表现

Open Beginner friendly
#214 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
68/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Active
Domain
content

Research direction

Read the proposed article title, link, and summary in the issue, then check the repository’s contribution guidance for how to submit weekly content. Confirm the entry matches the project’s format and that its description accurately reflects the article. Done when the article is added in the expected format.

Written by the indexing model from the issue text.

Description

  • 文章标题:同一段提示词反复发,怎么比较 GPT API 中转的缓存表现
  • 文章链接:https://cloud.tencent.com/developer/article/2787810
  • 文章摘要:用虚构工单做两组对照:一组重复提示词前缀,另一组改变前缀,其他请求条件尽量一致。分别记录缓存用量字段、响应延迟和实际扣费。接口不返回缓存字段时,不把速度更快当成命中证据。文章里也提到了我在协助分享的 GPT-Rankings,仅用于筛选测试对象。
Dominant language
No language data
Stars
612
Forks
34
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from eryajf/learning-weekly

All issues in eryajf/learning-weekly

Similar issues

More Content issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.