AI_ModelCacheLists

用于查看模型缓存列表。

语法

text AI_ModelCacheLists()

返回值

返回缓存模型列表。

描述

用于列举当前缓存的模型,便于对执行性能分析。

示例

  1. 执行模型调用AI_CallModel

    SELECT polar_ai.ai_callmodel('ai_model_cache1', '风急天高猿啸哀'::text);
  2. 查看模型缓存。

    SELECT polar_ai.AI_ModelCacheLists();

    返回结果如下:

     model cache count 1, cache list is : ai_model_cache1;