ADK for TypeScript: API Reference
    Preparing search index...

    函数:stripAdkIdentityPreamble

    • 从系统提示信息中删除 ADK(Adobe Digital Kit)为每个代理(agent)生成的标识信息(即前导字符串)。

      Turns:

      You are an agent. Your internal name is "rerank_11".
      The description about you is "..."
      
      <the actual instruction>
      

      仅将数据存储在该指令中,这样共享同一指令的代理程序也会共享同一个缓存会话。详见…… ChromeBuiltInLlmParams.normalizeSystemPrompt.

      参数

      • systemPrompt: string

      返回值 string