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

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

  •  
  •   mfsw · Jan 28 · 1722 views
    This topic created in 118 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   ·   5828 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 44ms · UTC 02:33 · PVG 10:33 · LAX 19:33 · JFK 22:33
    ♥ Do have faith in what you're doing.