• 请不要在回答技术问题时复制粘贴 AI 生成的内容
mfsw
V2EX  ›  程序员

gcp 300 美刀试用账号,如何让 gemini 3 flash 试用 Context Caching(上下文缓存)技术? 100rmb 红包答谢

  •  
  •   mfsw · Jan 28 · 1744 views
    This topic created in 122 days ago, the information mentioned may be changed or developed.

    如题,有时间可以帮忙的大佬请加我小而美:bGlhbmdnZXN5cw==

    mfsw
        2
    mfsw  
    OP
       Jan 28
    @DendimoN 老哥,我用的是 vertexai ,跟这个不一样。
    JasonRobert
        3
    JasonRobert  
       Jan 28
    用 create_cache() 创建缓存,然后 generate(prompt, cache.name) 复用缓存
    mfsw
        5
    mfsw  
    OP
       Jan 30
    @JasonRobert 感谢大佬,学习中
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2935 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 37ms · UTC 08:14 · PVG 16:14 · LAX 01:14 · JFK 04:14
    ♥ Do have faith in what you're doing.