{"id":86111,"date":"2026-07-28T05:16:40","date_gmt":"2026-07-27T21:16:40","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/86111.html"},"modified":"2026-07-28T05:16:40","modified_gmt":"2026-07-27T21:16:40","slug":"saas%e5%a4%9a%e7%a7%9f%e6%88%b7%e7%9a%84ai%e8%83%bd%e5%8a%9b%e9%9b%86%e6%88%90%ef%bc%9a%e4%bb%8e%e6%a8%a1%e5%9e%8b%e8%b7%af%e7%94%b1%e5%88%b0%e6%95%b0%e6%8d%ae%e9%9a%94%e7%a6%bb%e7%9a%84%e5%ae%8c","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/86111.html","title":{"rendered":"SaaS\u591a\u79df\u6237\u7684AI\u80fd\u529b\u96c6\u6210\uff1a\u4ece\u6a21\u578b\u8def\u7531\u5230\u6570\u636e\u9694\u79bb\u7684\u5b8c\u6574\u67b6\u6784\u590d\u76d8"},"content":{"rendered":"<h2>SaaS\u591a\u79df\u6237\u7684AI\u80fd\u529b\u96c6\u6210&#xff1a;\u4ece\u6a21\u578b\u8def\u7531\u5230\u6570\u636e\u9694\u79bb\u7684\u5b8c\u6574\u67b6\u6784\u590d\u76d8<\/h2>\n<p>\u5728\u591a\u79df\u6237SaaS\u5e73\u53f0\u4e0a\u96c6\u6210\u5927\u6a21\u578b\u80fd\u529b&#xff0c;\u8fdc\u4e0d\u6b62&#034;\u8c03\u4e00\u4e2aAPI&#034;\u90a3\u4e48\u7b80\u5355\u3002\u6a21\u578b\u5982\u4f55\u6309\u79df\u6237\u8def\u7531&#xff1f;Token\u914d\u989d\u5982\u4f55\u7cbe\u786e\u63a7\u5236&#xff1f;\u5411\u91cf\u6570\u636e\u5982\u4f55\u505a\u5230\u79df\u6237\u9694\u79bb&#xff1f;\u672c\u6587\u57fa\u4e8e\u8fc7\u53bb\u534a\u5e74\u5728\u4e00\u5bb6B2B SaaS\u5e73\u53f0\u7684\u5b9e\u6218&#xff0c;\u590d\u76d8\u6574\u4e2aAI\u96c6\u6210\u67b6\u6784\u7684\u8bbe\u8ba1\u51b3\u7b56\u4e0e\u6280\u672f\u7ec6\u8282\u3002<\/p>\n<h3>\u4e00\u3001\u591a\u79df\u6237AI\u96c6\u6210\u7684\u6838\u5fc3\u6311\u6218<\/h3>\n<p>\u5728SaaS\u573a\u666f\u4e0b\u5c06\u5927\u6a21\u578b\u80fd\u529b\u5f00\u653e\u7ed9\u5404\u79df\u6237\u4f7f\u7528\u65f6&#xff0c;\u9762\u4e34\u4ee5\u4e0b\u6838\u5fc3\u95ee\u9898&#xff1a;<\/p>\n<li>\u6a21\u578b\u9009\u62e9\u591a\u6837\u6027&#xff1a;\u4e0d\u540c\u79df\u6237\u53ef\u80fd\u9700\u8981\u4e0d\u540c\u7684\u6a21\u578b&#xff08;GPT-4o\u3001Claude-3.5\u3001Qwen-Max\u7b49&#xff09;&#xff0c;\u751a\u81f3\u540c\u4e00\u79df\u6237\u7684\u4e0d\u540c\u573a\u666f\u4e5f\u9700\u8981\u4e0d\u540c\u6a21\u578b\u3002<\/li>\n<li>\u8d44\u6e90\u9694\u79bb\u4e0e\u516c\u5e73\u8c03\u5ea6&#xff1a;GPU\u8d44\u6e90\u662f\u7a00\u7f3a\u7684&#xff0c;\u5982\u4f55\u5728\u591a\u79df\u6237\u95f4\u516c\u5e73\u5206\u914d&#xff0c;\u907f\u514d\u67d0\u4e2a\u79df\u6237\u7684\u7a81\u53d1\u6d41\u91cf\u5f71\u54cd\u5176\u4ed6\u79df\u6237\u3002<\/li>\n<li>\u6570\u636e\u5b89\u5168\u8fb9\u754c&#xff1a;\u79df\u6237\u7684Prompt\u6a21\u677f\u3001\u5fae\u8c03\u6a21\u578b\u3001\u5411\u91cf\u77e5\u8bc6\u5e93\u7b49\u6570\u636e\u8d44\u4ea7\u5fc5\u987b\u4e25\u683c\u9694\u79bb\u3002<\/li>\n<li>\u6210\u672c\u5f52\u5c5e\u6e05\u6670&#xff1a;\u6bcf\u4e2a\u79df\u6237\u6d88\u8017\u7684Token\u5fc5\u987b\u7cbe\u786e\u8ba1\u91cf&#xff0c;\u652f\u6301\u591a\u7ef4\u5ea6\u8ba1\u8d39\u3002<\/li>\n<p>\u4e0b\u9762\u9010\u4e00\u5c55\u5f00\u6bcf\u4e2a\u95ee\u9898\u7684\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n<h3>\u4e8c\u3001\u6a21\u578b\u8def\u7531\u5c42\u7684\u67b6\u6784\u8bbe\u8ba1<\/h3>\n<h4>2.1 \u6a21\u578b\u5171\u4eab vs \u72ec\u5360\u7684\u67b6\u6784\u9009\u62e9<\/h4>\n<p>\u5728\u591a\u79df\u6237AI\u5e73\u53f0\u4e2d&#xff0c;\u6a21\u578b\u5b9e\u4f8b\u7684\u7ba1\u7406\u65b9\u5f0f\u51b3\u5b9a\u4e86\u8d44\u6e90\u5229\u7528\u7387\u548c\u9694\u79bb\u6027\u3002\u4e3b\u8981\u6709\u4e09\u79cd\u6a21\u5f0f&#xff1a;<\/p>\n<p>\u5b9e\u9645\u843d\u5730\u4e2d&#xff0c;\u6df7\u5408\u6a21\u5f0f\u662f\u6027\u4ef7\u6bd4\u6700\u9ad8\u7684\u65b9\u6848\u3002\u5171\u4eab\u57fa\u7840\u6a21\u578b\u5b9e\u4f8b\u8986\u76d680%\u7684\u901a\u7528\u573a\u666f&#xff0c;\u79df\u6237\u4e13\u5c5e\u7684\u5fae\u8c03\u6a21\u578b\u4ec5\u670d\u52a1\u4e8e\u9ad8\u4ef7\u503c\u5ba2\u6237\u7684\u6838\u5fc3\u4e1a\u52a1\u573a\u666f\u3002<\/p>\n<h4>2.2 \u6a21\u578b\u8def\u7531\u7684\u6838\u5fc3\u5b9e\u73b0<\/h4>\n<p>\u8def\u7531\u5c42\u9700\u8981\u89e3\u51b3&#034;\u54ea\u4e2a\u8bf7\u6c42\u53d1\u7ed9\u54ea\u4e2a\u6a21\u578b&#034;\u7684\u95ee\u9898&#xff0c;\u6838\u5fc3\u4ee3\u7801\u5982\u4e0b&#xff1a;<\/p>\n<p>&#064;Service<br \/>\npublic class ModelRouterService {<\/p>\n<p>    private final LoadingCache&lt;String, TenantModelConfig&gt; configCache;<br \/>\n    private final Map&lt;String, ModelInstancePool&gt; modelPools;<\/p>\n<p>    public ModelRouterService() {<br \/>\n        this.configCache &#061; Caffeine.newBuilder()<br \/>\n            .maximumSize(10_000)<br \/>\n            .expireAfterWrite(5, TimeUnit.MINUTES)<br \/>\n            .build(this::loadTenantConfig);<\/p>\n<p>        this.modelPools &#061; new ConcurrentHashMap&lt;&gt;();<br \/>\n    }<\/p>\n<p>    \/**<br \/>\n     * \u6839\u636e\u79df\u6237\u548c\u573a\u666f\u8def\u7531\u5230\u76ee\u6807\u6a21\u578b\u5b9e\u4f8b<br \/>\n     *\/<br \/>\n    public ModelInstance route(String tenantId, String scene, AIRequest request) {<br \/>\n        \/\/ 1. \u83b7\u53d6\u79df\u6237\u7684\u6a21\u578b\u914d\u7f6e<br \/>\n        TenantModelConfig config &#061; configCache.get(tenantId);<\/p>\n<p>        \/\/ 2. \u6839\u636e\u573a\u666f\u9009\u62e9\u6a21\u578b<br \/>\n        ModelPolicy policy &#061; config.getPolicy(scene);<br \/>\n        String modelName &#061; policy.getModelName();<\/p>\n<p>        \/\/ 3. \u68c0\u67e5\u662f\u5426\u4e3a\u79df\u6237\u4e13\u5c5e\u6a21\u578b<br \/>\n        if (policy.isDedicated()) {<br \/>\n            ModelInstance dedicated &#061; modelPools.get(tenantId &#043; &#034;:&#034; &#043; modelName);<br \/>\n            if (dedicated !&#061; null &amp;&amp; dedicated.isHealthy()) {<br \/>\n                return dedicated;<br \/>\n            }<br \/>\n            \/\/ \u4e13\u5c5e\u6a21\u578b\u4e0d\u53ef\u7528\u65f6&#xff0c;\u964d\u7ea7\u5230\u5171\u4eab\u6a21\u578b<br \/>\n            log.warn(&#034;Dedicated model unavailable for tenant&#061;{}, falling back to shared&#034;, tenantId);<br \/>\n        }<\/p>\n<p>        \/\/ 4. \u4ece\u5171\u4eab\u6c60\u83b7\u53d6\u5b9e\u4f8b<br \/>\n        ModelInstancePool pool &#061; modelPools.get(modelName);<br \/>\n        if (pool &#061;&#061; null) {<br \/>\n            throw new ModelNotFoundException(&#034;Model not found: &#034; &#043; modelName);<br \/>\n        }<\/p>\n<p>        return pool.acquire(tenantId, config.getPriority());<br \/>\n    }<\/p>\n<p>    private TenantModelConfig loadTenantConfig(String tenantId) {<br \/>\n        return tenantConfigRepository.findByTenantId(tenantId);<br \/>\n    }<br \/>\n}<\/p>\n<h4>2.3 \u8de8\u6a21\u578bProvider\u7684\u7edf\u4e00\u9002\u914d<\/h4>\n<p>\u4e0d\u540c\u6a21\u578b\u5382\u5546\u7684API\u683c\u5f0f\u5dee\u5f02\u5f88\u5927&#xff0c;\u901a\u8fc7\u9002\u914d\u5668\u6a21\u5f0f\u7edf\u4e00\u63a5\u5165&#xff1a;<\/p>\n<p>public interface ModelProviderAdapter {<\/p>\n<p>    \/** \u652f\u6301\u7684\u6a21\u578b\u5217\u8868 *\/<br \/>\n    List&lt;String&gt; supportedModels();<\/p>\n<p>    \/** \u5c06\u7edf\u4e00\u8bf7\u6c42\u8f6c\u6362\u4e3a\u5382\u5546\u7279\u5b9a\u683c\u5f0f *\/<br \/>\n    Object convertRequest(AIRequest unifiedRequest);<\/p>\n<p>    \/** \u5c06\u5382\u5546\u54cd\u5e94\u8f6c\u6362\u4e3a\u7edf\u4e00\u683c\u5f0f *\/<br \/>\n    AIResponse convertResponse(Object rawResponse);<\/p>\n<p>    \/** \u8c03\u7528\u6a21\u578b *\/<br \/>\n    CompletableFuture&lt;AIResponse&gt; invoke(AIRequest request, int timeoutMs);<br \/>\n}<\/p>\n<p>\/\/ OpenAI\u9002\u914d\u5668<br \/>\n&#064;Component<br \/>\npublic class OpenAIAdapter implements ModelProviderAdapter {<\/p>\n<p>    private final OpenAIClient client;<\/p>\n<p>    &#064;Override<br \/>\n    public Object convertRequest(AIRequest unifiedRequest) {<br \/>\n        return ChatCompletionRequest.builder()<br \/>\n            .model(unifiedRequest.getModel())<br \/>\n            .messages(convertMessages(unifiedRequest.getMessages()))<br \/>\n            .temperature(unifiedRequest.getTemperature())<br \/>\n            .maxTokens(unifiedRequest.getMaxTokens())<br \/>\n            .build();<br \/>\n    }<\/p>\n<p>    &#064;Override<br \/>\n    public CompletableFuture&lt;AIResponse&gt; invoke(AIRequest request, int timeoutMs) {<br \/>\n        ChatCompletionRequest openAIReq &#061; (ChatCompletionRequest) convertRequest(request);<br \/>\n        return client.createChatCompletion(openAIReq)<br \/>\n            .orTimeout(timeoutMs, TimeUnit.MILLISECONDS)<br \/>\n            .thenApply(this::convertResponse)<br \/>\n            .exceptionally(this::handleError);<br \/>\n    }<br \/>\n}<\/p>\n<h3>\u4e09\u3001\u79df\u6237\u7ea7\u522b\u7684Token\u914d\u989d\u4e0e\u9650\u6d41<\/h3>\n<h4>3.1 Token\u914d\u989d\u6a21\u578b\u8bbe\u8ba1<\/h4>\n<p>\u914d\u989d\u7cfb\u7edf\u9700\u8981\u652f\u6301\u591a\u79cd\u7ef4\u5ea6\u7684\u63a7\u5236&#xff1a;<\/p>\n<p>&#064;Data<br \/>\n&#064;Document(collection &#061; &#034;tenant_quota&#034;)<br \/>\npublic class TenantQuota {<br \/>\n    &#064;Id<br \/>\n    private String id;<br \/>\n    private String tenantId;<\/p>\n<p>    \/** \u5468\u671f\u7c7b\u578b&#xff1a;DAILY\/WEEKLY\/MONTHLY *\/<br \/>\n    private QuotaPeriod period;<\/p>\n<p>    \/** Token\u4e0a\u9650 *\/<br \/>\n    private Long tokenLimit;<\/p>\n<p>    \/** QPM\u9650\u5236&#xff08;\u6bcf\u5206\u949f\u8bf7\u6c42\u6570&#xff09; *\/<br \/>\n    private Integer qpmLimit;<\/p>\n<p>    \/** \u5e76\u53d1\u8bf7\u6c42\u6570\u9650\u5236 *\/<br \/>\n    private Integer concurrencyLimit;<\/p>\n<p>    \/** \u5df2\u4f7f\u7528Token&#xff08;Redis\u8ba1\u6570&#xff09; *\/<br \/>\n    &#064;Transient<br \/>\n    private Long usedTokens;<\/p>\n<p>    \/** \u662f\u5426\u8d85\u989d\u540e\u5141\u8bb8\u7ee7\u7eed\u4f7f\u7528&#xff08;\u4f1a\u4ea7\u751f\u9644\u52a0\u8d39&#xff09; *\/<br \/>\n    private Boolean overageAllowed;<\/p>\n<p>    \/** \u8d85\u989d\u500d\u6570\u4e0a\u9650 *\/<br \/>\n    private Double overageMultiplier;<br \/>\n}<\/p>\n<h4>3.2 \u57fa\u4e8e\u6ed1\u52a8\u7a97\u53e3\u7684\u5b9e\u65f6\u9650\u6d41<\/h4>\n<p>\u4f7f\u7528Redis\u7684Sorted Set\u5b9e\u73b0\u6ed1\u52a8\u7a97\u53e3\u9650\u6d41&#xff0c;\u7cbe\u786e\u5230\u6beb\u79d2\u7ea7&#xff1a;<\/p>\n<p>&#064;Component<br \/>\npublic class TokenRateLimiter {<\/p>\n<p>    private final StringRedisTemplate redis;<\/p>\n<p>    private static final String QUOTA_KEY_PREFIX &#061; &#034;ai:quota:&#034;;<br \/>\n    private static final String RATE_KEY_PREFIX &#061; &#034;ai:rate:&#034;;<\/p>\n<p>    \/**<br \/>\n     * \u68c0\u67e5\u5e76\u6263\u51cfToken\u914d\u989d<br \/>\n     * &#064;return true\u8868\u793a\u5141\u8bb8&#xff0c;false\u8868\u793a\u5df2\u8fbe\u4e0a\u9650<br \/>\n     *\/<br \/>\n    public boolean tryAcquire(String tenantId, int tokens) {<br \/>\n        String quotaKey &#061; QUOTA_KEY_PREFIX &#043; tenantId &#043; &#034;:&#034; &#043; today();<br \/>\n        String rateKey &#061; RATE_KEY_PREFIX &#043; tenantId;<\/p>\n<p>        \/\/ Lua\u811a\u672c\u4fdd\u8bc1\u539f\u5b50\u6027<br \/>\n        String script &#061; &#034;&#034;&#034;<br \/>\n            local quota_key &#061; KEYS[1]<br \/>\n            local rate_key &#061; KEYS[2]<br \/>\n            local tokens &#061; tonumber(ARGV[1])<br \/>\n            local limit &#061; tonumber(ARGV[2])<br \/>\n            local qpm &#061; tonumber(ARGV[3])<br \/>\n            local now &#061; tonumber(ARGV[4])<br \/>\n            local window &#061; now &#8211; 60000  &#8212; 1\u5206\u949f\u7a97\u53e3<\/p>\n<p>            &#8212; 1. \u68c0\u67e5\u65e5\u914d\u989d<br \/>\n            local used &#061; redis.call(&#039;GET&#039;, quota_key)<br \/>\n            if used and tonumber(used) &#043; tokens &gt; limit then<br \/>\n                return {0, &#039;quota_exceeded&#039;, used}<br \/>\n            end<\/p>\n<p>            &#8212; 2. \u6e05\u7406\u8fc7\u671f\u8bb0\u5f55\u5e76\u68c0\u67e5QPM<br \/>\n            redis.call(&#039;ZREMRANGEBYSCORE&#039;, rate_key, 0, window)<br \/>\n            local qpm_count &#061; redis.call(&#039;ZCARD&#039;, rate_key)<br \/>\n            if qpm_count &gt;&#061; qpm then<br \/>\n                return {0, &#039;qpm_exceeded&#039;, qpm_count}<br \/>\n            end<\/p>\n<p>            &#8212; 3. \u6263\u51cf\u914d\u989d\u5e76\u8bb0\u5f55\u8bf7\u6c42<br \/>\n            redis.call(&#039;INCRBY&#039;, quota_key, tokens)<br \/>\n            redis.call(&#039;EXPIRE&#039;, quota_key, 86400)<br \/>\n            redis.call(&#039;ZADD&#039;, rate_key, now, now .. &#039;:&#039; .. tokens)<\/p>\n<p>            return {1, &#039;ok&#039;, redis.call(&#039;GET&#039;, quota_key)}<br \/>\n            &#034;&#034;&#034;;<\/p>\n<p>        TenantQuota quota &#061; getQuota(tenantId);<br \/>\n        List&lt;Long&gt; result &#061; redis.execute(<br \/>\n            new DefaultRedisScript&lt;&gt;(script, List.class),<br \/>\n            List.of(quotaKey, rateKey),<br \/>\n            String.valueOf(tokens),<br \/>\n            String.valueOf(quota.getTokenLimit()),<br \/>\n            String.valueOf(quota.getQpmLimit()),<br \/>\n            String.valueOf(System.currentTimeMillis())<br \/>\n        );<\/p>\n<p>        return result.get(0) &#061;&#061; 1L;<br \/>\n    }<br \/>\n}<\/p>\n<h3>\u56db\u3001\u79df\u6237\u6570\u636e\u7684\u5411\u91cf\u9694\u79bb\u65b9\u6848<\/h3>\n<h4>4.1 Collection\u7c92\u5ea6 vs \u547d\u540d\u7a7a\u95f4\u9694\u79bb<\/h4>\n<p>\u5411\u91cf\u6570\u636e\u5e93&#xff08;\u4ee5Milvus\u4e3a\u4f8b&#xff09;\u63d0\u4f9b\u4e86\u4e24\u79cd\u9694\u79bb\u65b9\u5f0f&#xff1a;<\/p>\n<table>\n<tr>\u9694\u79bb\u65b9\u5f0f\u539f\u7406\u4f18\u52bf\u52a3\u52bf\u9002\u7528\u573a\u666f<\/tr>\n<tbody>\n<tr>\n<td>Collection\u7c92\u5ea6<\/td>\n<td>\u6bcf\u4e2a\u79df\u6237\u72ec\u7acbCollection<\/td>\n<td>\u7269\u7406\u9694\u79bb&#xff0c;\u5b89\u5168\u6027\u6700\u9ad8<\/td>\n<td>\u79df\u6237\u6570\u591a\u65f6\u7ba1\u7406\u590d\u6742<\/td>\n<td>\u5927\u5ba2\u6237\u3001\u9ad8\u5b89\u5168\u8981\u6c42<\/td>\n<\/tr>\n<tr>\n<td>\u547d\u540d\u7a7a\u95f4&#xff08;Partition Key&#xff09;<\/td>\n<td>\u5171\u4eabCollection&#xff0c;\u7528partition_key\u9694\u79bb<\/td>\n<td>\u7ba1\u7406\u7b80\u5355&#xff0c;\u8d44\u6e90\u5229\u7528\u7387\u9ad8<\/td>\n<td>\u53ef\u80fd\u8bef\u64cd\u4f5c\u8de8\u79df\u6237<\/td>\n<td>\u4e2d\u5c0f\u5ba2\u6237\u3001\u5feb\u901f\u63a5\u5165<\/td>\n<\/tr>\n<tr>\n<td>\u6df7\u5408\u65b9\u6848<\/td>\n<td>\u9ad8\u4ef7\u503c\u5ba2\u6237\u72ec\u7acbCollection&#xff0c;\u5176\u4ed6\u5171\u4eab<\/td>\n<td>\u517c\u987e\u5b89\u5168\u4e0e\u6210\u672c<\/td>\n<td>\u4ee3\u7801\u590d\u6742\u5ea6\u589e\u52a0<\/td>\n<td>\u5206\u5c42\u5ba2\u6237\u7b56\u7565<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>4.2 \u5411\u91cf\u5b58\u50a8\u7684\u79df\u6237\u9694\u79bb\u5b9e\u73b0<\/h4>\n<p>&#064;Service<br \/>\npublic class TenantVectorStoreService {<\/p>\n<p>    private final MilvusServiceClient milvusClient;<\/p>\n<p>    private static final String SHARED_COLLECTION &#061; &#034;tenant_knowledge_base&#034;;<br \/>\n    private static final String DEDICATED_COLLECTION_PREFIX &#061; &#034;kb_dedicated_&#034;;<\/p>\n<p>    \/**<br \/>\n     * \u63d2\u5165\u5411\u91cf\u6570\u636e&#xff0c;\u81ea\u52a8\u8def\u7531\u5230\u6b63\u786e\u7684\u5b58\u50a8\u7a7a\u95f4<br \/>\n     *\/<br \/>\n    public void insert(String tenantId, List&lt;Document&gt; documents) {<br \/>\n        TenantConfig config &#061; getTenantConfig(tenantId);<\/p>\n<p>        if (config.isVectorIsolationEnabled()) {<br \/>\n            \/\/ \u4e13\u5c5eCollection\u6a21\u5f0f<br \/>\n            String collectionName &#061; DEDICATED_COLLECTION_PREFIX &#043; tenantId;<br \/>\n            ensureCollection(collectionName);<br \/>\n            insertToCollection(collectionName, documents);<br \/>\n        } else {<br \/>\n            \/\/ \u5171\u4eabCollection &#043; \u5206\u533a\u952e\u9694\u79bb<br \/>\n            List&lt;InsertParam.Field&gt; fields &#061; buildFields(documents);<br \/>\n            \/\/ \u5173\u952e&#xff1a;\u5c06tenantId\u4f5c\u4e3apartition key\u5199\u5165<br \/>\n            fields.add(new InsertParam.Field(&#034;tenant_id&#034;,<br \/>\n                documents.stream().map(d -&gt; tenantId).collect(Collectors.toList())));<\/p>\n<p>            milvusClient.insert(InsertParam.newBuilder()<br \/>\n                .withCollectionName(SHARED_COLLECTION)<br \/>\n                .withFields(fields)<br \/>\n                .build());<br \/>\n        }<br \/>\n    }<\/p>\n<p>    \/**<br \/>\n     * \u641c\u7d22\u65f6\u81ea\u52a8\u6dfb\u52a0\u79df\u6237\u8fc7\u6ee4&#xff0c;\u9632\u6b62\u6570\u636e\u6cc4\u9732<br \/>\n     *\/<br \/>\n    public List&lt;SearchResult&gt; search(String tenantId, List&lt;Float&gt; embedding, int topK) {<br \/>\n        TenantConfig config &#061; getTenantConfig(tenantId);<br \/>\n        String collectionName &#061; config.isVectorIsolationEnabled()<br \/>\n            ? DEDICATED_COLLECTION_PREFIX &#043; tenantId<br \/>\n            : SHARED_COLLECTION;<\/p>\n<p>        SearchParam searchParam &#061; SearchParam.newBuilder()<br \/>\n            .withCollectionName(collectionName)<br \/>\n            .withVectorFieldName(&#034;embedding&#034;)<br \/>\n            .withVectors(List.of(embedding))<br \/>\n            .withTopK(topK)<br \/>\n            .withExpr(&#034;tenant_id &#061;&#061; \\\\&#034;&#034; &#043; tenantId &#043; &#034;\\\\&#034;&#034;)  \/\/ \u5f3a\u5236\u79df\u6237\u8fc7\u6ee4<br \/>\n            .withParams(&#034;{\\\\&#034;nprobe\\\\&#034;: 16}&#034;)<br \/>\n            .build();<\/p>\n<p>        return milvusClient.search(searchParam)<br \/>\n            .getData().getResults();<br \/>\n    }<br \/>\n}<\/p>\n<h4>4.3 \u79df\u6237\u81ea\u5b9a\u4e49Prompt\u4e0e\u5fae\u8c03\u9694\u79bb<\/h4>\n<p>\u5bf9\u4e8e\u5141\u8bb8\u79df\u6237\u81ea\u5b9a\u4e49Prompt\u6a21\u677f\u548c\u5fae\u8c03\u6a21\u578b\u7684\u573a\u666f&#xff0c;\u9700\u8981\u505a\u5230&#xff1a;<\/p>\n<p>&#064;Service<br \/>\npublic class TenantPromptService {<\/p>\n<p>    private final MongoTemplate mongo;<br \/>\n    private final MinioClient minio;<\/p>\n<p>    \/**<br \/>\n     * \u79df\u6237\u7ea7\u522b\u7684Prompt\u6a21\u677f\u7ba1\u7406<br \/>\n     * \u6bcf\u4e2a\u79df\u6237\u7684Prompt\u5b58\u50a8\u5728\u72ec\u7acbMongoDB Collection\u6216\u5e26tenant_id\u7d22\u5f15\u7684\u6587\u6863\u4e2d<br \/>\n     *\/<br \/>\n    public PromptTemplate getTemplate(String tenantId, String templateName) {<br \/>\n        Query query &#061; new Query(Criteria<br \/>\n            .where(&#034;tenantId&#034;).is(tenantId)<br \/>\n            .and(&#034;name&#034;).is(templateName)<br \/>\n            .and(&#034;status&#034;).is(&#034;ACTIVE&#034;));<\/p>\n<p>        \/\/ \u79df\u6237ID\u5f3a\u5236\u4f5c\u4e3a\u67e5\u8be2\u6761\u4ef6&#xff0c;\u9632\u6b62\u8d8a\u6743\u8bbf\u95ee<br \/>\n        return mongo.findOne(query, PromptTemplate.class, &#034;prompt_templates&#034;);<br \/>\n    }<\/p>\n<p>    \/**<br \/>\n     * \u5fae\u8c03\u6a21\u578b\u6587\u4ef6\u7684\u7269\u7406\u9694\u79bb<br \/>\n     * \u5b58\u50a8\u8def\u5f84&#xff1a;\/models\/{tenantId}\/{modelName}\/checkpoint-{step}\/<br \/>\n     *\/<br \/>\n    public String getModelStoragePath(String tenantId, String modelName) {<br \/>\n        return String.format(&#034;models\/%s\/%s\/&#034;, tenantId, modelName);<br \/>\n    }<\/p>\n<p>    \/**<br \/>\n     * \u52a0\u8f7d\u5fae\u8c03\u6a21\u578b\u65f6\u7684\u79df\u6237\u9694\u79bb\u6821\u9a8c<br \/>\n     *\/<br \/>\n    public FineTunedModel loadModel(String tenantId, String modelId) {<br \/>\n        FineTunedModel model &#061; modelRepository.findById(modelId);<br \/>\n        \/\/ \u5173\u952e\u65ad\u8a00&#xff1a;\u6a21\u578b\u5fc5\u987b\u5c5e\u4e8e\u5f53\u524d\u79df\u6237<br \/>\n        if (!model.getTenantId().equals(tenantId)) {<br \/>\n            throw new AccessDeniedException(<br \/>\n                &#034;Model &#034; &#043; modelId &#043; &#034; does not belong to tenant &#034; &#043; tenantId);<br \/>\n        }<br \/>\n        return model;<br \/>\n    }<br \/>\n}<\/p>\n<h3>\u4e94\u3001\u603b\u7ed3<\/h3>\n<p>\u591a\u79df\u6237SaaS\u7684AI\u80fd\u529b\u96c6\u6210&#xff0c;\u672c\u8d28\u662f\u5728\u8d44\u6e90\u6548\u7387\u4e0e\u6570\u636e\u9694\u79bb\u4e4b\u95f4\u505a\u5e73\u8861\u3002\u56de\u987e\u6574\u4e2a\u67b6\u6784&#xff1a;<\/p>\n<li>\u6a21\u578b\u8def\u7531&#xff1a;\u6df7\u5408\u6a21\u5f0f&#xff08;\u5171\u4eab&#043;\u4e13\u5c5e&#xff09;\u662f\u6027\u4ef7\u6bd4\u6700\u4f18\u89e3&#xff0c;\u9002\u914d\u5668\u6a21\u5f0f\u89e3\u51b3\u591aProvider\u63a5\u5165\u7684\u7edf\u4e00\u6027\u95ee\u9898\u3002<\/li>\n<li>\u914d\u989d\u9650\u6d41&#xff1a;Redis\u6ed1\u52a8\u7a97\u53e3\u5b9e\u73b0\u6beb\u79d2\u7ea7\u7cbe\u786e\u63a7\u5236&#xff0c;Lua\u811a\u672c\u4fdd\u8bc1\u539f\u5b50\u6027&#xff0c;\u652f\u6301Token&#043;QPM&#043;\u5e76\u53d1\u4e09\u7ef4\u9650\u6d41\u3002<\/li>\n<li>\u5411\u91cf\u9694\u79bb&#xff1a;\u9ad8\u4ef7\u503c\u79df\u6237\u72ec\u7acbCollection&#xff08;\u7269\u7406\u9694\u79bb&#xff09;&#xff0c;\u666e\u901a\u79df\u6237\u5171\u4eabCollection&#043;Partition Key&#xff08;\u903b\u8f91\u9694\u79bb&#xff09;&#xff0c;\u5206\u5c42\u7b56\u7565\u517c\u987e\u5b89\u5168\u4e0e\u6210\u672c\u3002<\/li>\n<li>Prompt\u4e0e\u6a21\u578b\u9694\u79bb&#xff1a;\u5b58\u50a8\u5c42\u9762\u901a\u8fc7\u8def\u5f84\u524d\u7f00\u548c\u7d22\u5f15\u9694\u79bb&#xff0c;\u67e5\u8be2\u5c42\u9762\u5f3a\u5236\u8ffd\u52a0tenant_id\u6761\u4ef6&#xff0c;\u4ee3\u7801\u5c42\u9762\u8fdb\u884c\u65ad\u8a00\u6821\u9a8c&#xff0c;\u5f62\u6210\u4e09\u5c42\u9632\u62a4\u3002<\/li>\n<p>\u8fd9\u5957\u67b6\u6784\u5728\u652f\u6491\u65e5\u5747\u5343\u4e07\u7ea7AI\u8c03\u7528\u91cf\u7684\u540c\u65f6&#xff0c;\u6210\u529f\u901a\u8fc7\u4e86SOC2\u5b89\u5168\u5ba1\u8ba1&#xff0c;\u9a8c\u8bc1\u4e86\u65b9\u6848\u7684\u53ef\u884c\u6027\u548c\u5b89\u5168\u6027\u3002\u5173\u952e\u5728\u4e8e&#xff1a;\u4e0d\u8981\u8bd5\u56fe\u7528\u4e00\u79cd\u65b9\u6848\u8986\u76d6\u6240\u6709\u79df\u6237&#xff0c;\u5206\u5c42\u7b56\u7565\u624d\u662f\u591a\u79df\u6237\u67b6\u6784\u7684\u7b2c\u4e00\u6027\u539f\u7406\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>SaaS\u591a\u79df\u6237\u7684AI\u80fd\u529b\u96c6\u6210&#xff1a;\u4ece\u6a21\u578b\u8def\u7531\u5230\u6570\u636e\u9694\u79bb\u7684\u5b8c\u6574\u67b6\u6784\u590d\u76d8\u5728\u591a\u79df\u6237SaaS\u5e73\u53f0\u4e0a\u96c6\u6210\u5927\u6a21\u578b\u80fd\u529b&#xff0c;\u8fdc\u4e0d\u6b62\\&#8221;\u8c03\u4e00\u4e2aAPI\\&#8221;\u90a3\u4e48\u7b80\u5355\u3002\u6a21\u578b\u5982\u4f55\u6309\u79df\u6237\u8def\u7531&#xff1f;Token\u914d\u989d\u5982\u4f55\u7cbe\u786e\u63a7\u5236&#xff1f;\u5411\u91cf\u6570\u636e\u5982\u4f55\u505a\u5230\u79df\u6237\u9694\u79bb&#xff1f;\u672c\u6587\u57fa\u4e8e\u8fc7\u53bb\u534a\u5e74\u5728\u4e00\u5bb6B2B SaaS\u5e73\u53f0\u7684\u5b9e\u6218&#xff0c;\u590d\u76d8\u6574\u4e2aAI\u96c6\u6210\u67b6\u6784\u7684\u8bbe\u8ba1\u51b3\u7b56\u4e0e\u6280\u672f\u7ec6\u8282\u3002\u4e00\u3001\u591a\u79df\u6237AI\u96c6\u6210\u7684\u6838\u5fc3\u6311\u6218<br \/>\n\u5728SaaS\u573a\u666f\u4e0b\u5c06\u5927\u6a21\u578b\u80fd\u529b\u5f00\u653e\u7ed9\u5404\u79df\u6237\u4f7f\u7528\u65f6&#xff0c;\u9762\u4e34<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[99,426],"topic":[],"class_list":["post-86111","post","type-post","status-publish","format-standard","hentry","category-server","tag-java","tag-jvm"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>SaaS\u591a\u79df\u6237\u7684AI\u80fd\u529b\u96c6\u6210\uff1a\u4ece\u6a21\u578b\u8def\u7531\u5230\u6570\u636e\u9694\u79bb\u7684\u5b8c\u6574\u67b6\u6784\u590d\u76d8 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/86111.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"SaaS\u591a\u79df\u6237\u7684AI\u80fd\u529b\u96c6\u6210\uff1a\u4ece\u6a21\u578b\u8def\u7531\u5230\u6570\u636e\u9694\u79bb\u7684\u5b8c\u6574\u67b6\u6784\u590d\u76d8 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"SaaS\u591a\u79df\u6237\u7684AI\u80fd\u529b\u96c6\u6210&#xff1a;\u4ece\u6a21\u578b\u8def\u7531\u5230\u6570\u636e\u9694\u79bb\u7684\u5b8c\u6574\u67b6\u6784\u590d\u76d8\u5728\u591a\u79df\u6237SaaS\u5e73\u53f0\u4e0a\u96c6\u6210\u5927\u6a21\u578b\u80fd\u529b&#xff0c;\u8fdc\u4e0d\u6b62&quot;\u8c03\u4e00\u4e2aAPI&quot;\u90a3\u4e48\u7b80\u5355\u3002\u6a21\u578b\u5982\u4f55\u6309\u79df\u6237\u8def\u7531&#xff1f;Token\u914d\u989d\u5982\u4f55\u7cbe\u786e\u63a7\u5236&#xff1f;\u5411\u91cf\u6570\u636e\u5982\u4f55\u505a\u5230\u79df\u6237\u9694\u79bb&#xff1f;\u672c\u6587\u57fa\u4e8e\u8fc7\u53bb\u534a\u5e74\u5728\u4e00\u5bb6B2B SaaS\u5e73\u53f0\u7684\u5b9e\u6218&#xff0c;\u590d\u76d8\u6574\u4e2aAI\u96c6\u6210\u67b6\u6784\u7684\u8bbe\u8ba1\u51b3\u7b56\u4e0e\u6280\u672f\u7ec6\u8282\u3002\u4e00\u3001\u591a\u79df\u6237AI\u96c6\u6210\u7684\u6838\u5fc3\u6311\u6218 \u5728SaaS\u573a\u666f\u4e0b\u5c06\u5927\u6a21\u578b\u80fd\u529b\u5f00\u653e\u7ed9\u5404\u79df\u6237\u4f7f\u7528\u65f6&#xff0c;\u9762\u4e34\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/86111.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-07-27T21:16:40+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/86111.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/86111.html\",\"name\":\"SaaS\u591a\u79df\u6237\u7684AI\u80fd\u529b\u96c6\u6210\uff1a\u4ece\u6a21\u578b\u8def\u7531\u5230\u6570\u636e\u9694\u79bb\u7684\u5b8c\u6574\u67b6\u6784\u590d\u76d8 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-07-27T21:16:40+00:00\",\"dateModified\":\"2026-07-27T21:16:40+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/86111.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/86111.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/86111.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"SaaS\u591a\u79df\u6237\u7684AI\u80fd\u529b\u96c6\u6210\uff1a\u4ece\u6a21\u578b\u8def\u7531\u5230\u6570\u636e\u9694\u79bb\u7684\u5b8c\u6574\u67b6\u6784\u590d\u76d8\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"SaaS\u591a\u79df\u6237\u7684AI\u80fd\u529b\u96c6\u6210\uff1a\u4ece\u6a21\u578b\u8def\u7531\u5230\u6570\u636e\u9694\u79bb\u7684\u5b8c\u6574\u67b6\u6784\u590d\u76d8 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/86111.html","og_locale":"zh_CN","og_type":"article","og_title":"SaaS\u591a\u79df\u6237\u7684AI\u80fd\u529b\u96c6\u6210\uff1a\u4ece\u6a21\u578b\u8def\u7531\u5230\u6570\u636e\u9694\u79bb\u7684\u5b8c\u6574\u67b6\u6784\u590d\u76d8 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"SaaS\u591a\u79df\u6237\u7684AI\u80fd\u529b\u96c6\u6210&#xff1a;\u4ece\u6a21\u578b\u8def\u7531\u5230\u6570\u636e\u9694\u79bb\u7684\u5b8c\u6574\u67b6\u6784\u590d\u76d8\u5728\u591a\u79df\u6237SaaS\u5e73\u53f0\u4e0a\u96c6\u6210\u5927\u6a21\u578b\u80fd\u529b&#xff0c;\u8fdc\u4e0d\u6b62\"\u8c03\u4e00\u4e2aAPI\"\u90a3\u4e48\u7b80\u5355\u3002\u6a21\u578b\u5982\u4f55\u6309\u79df\u6237\u8def\u7531&#xff1f;Token\u914d\u989d\u5982\u4f55\u7cbe\u786e\u63a7\u5236&#xff1f;\u5411\u91cf\u6570\u636e\u5982\u4f55\u505a\u5230\u79df\u6237\u9694\u79bb&#xff1f;\u672c\u6587\u57fa\u4e8e\u8fc7\u53bb\u534a\u5e74\u5728\u4e00\u5bb6B2B SaaS\u5e73\u53f0\u7684\u5b9e\u6218&#xff0c;\u590d\u76d8\u6574\u4e2aAI\u96c6\u6210\u67b6\u6784\u7684\u8bbe\u8ba1\u51b3\u7b56\u4e0e\u6280\u672f\u7ec6\u8282\u3002\u4e00\u3001\u591a\u79df\u6237AI\u96c6\u6210\u7684\u6838\u5fc3\u6311\u6218 \u5728SaaS\u573a\u666f\u4e0b\u5c06\u5927\u6a21\u578b\u80fd\u529b\u5f00\u653e\u7ed9\u5404\u79df\u6237\u4f7f\u7528\u65f6&#xff0c;\u9762\u4e34","og_url":"https:\/\/www.wsisp.com\/helps\/86111.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-07-27T21:16:40+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"5 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/86111.html","url":"https:\/\/www.wsisp.com\/helps\/86111.html","name":"SaaS\u591a\u79df\u6237\u7684AI\u80fd\u529b\u96c6\u6210\uff1a\u4ece\u6a21\u578b\u8def\u7531\u5230\u6570\u636e\u9694\u79bb\u7684\u5b8c\u6574\u67b6\u6784\u590d\u76d8 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-07-27T21:16:40+00:00","dateModified":"2026-07-27T21:16:40+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/86111.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/86111.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/86111.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"SaaS\u591a\u79df\u6237\u7684AI\u80fd\u529b\u96c6\u6210\uff1a\u4ece\u6a21\u578b\u8def\u7531\u5230\u6570\u636e\u9694\u79bb\u7684\u5b8c\u6574\u67b6\u6784\u590d\u76d8"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/86111","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=86111"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/86111\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=86111"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=86111"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=86111"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=86111"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}