You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -55,31 +56,43 @@ A valid API key for the AlibabaCloud AI Search API.
55
56
The name of the model service to use for the {infer} task.
56
57
+
57
58
--
58
-
Available service_ids for the `text_embedding` task:
59
+
Available service_ids for the `completion` task:
59
60
60
-
* `ops-text-embedding-001`
61
-
* `ops-text-embedding-zh-001`
62
-
* `ops-text-embedding-en-001`
63
-
* `ops-text-embedding-002`
61
+
* `ops-qwen-turbo`
62
+
* `qwen-turbo`
63
+
* `qwen-plus`
64
+
* `qwen-max`
65
+
÷ `qwen-max-longcontext`
64
66
65
-
For the supported `text_embedding` service_ids, refer to the https://help.aliyun.com/zh/open-search/search-platform/developer-reference/text-embedding-api-details[documentation].
67
+
For the supported `completion` service_ids, refer to the https://help.aliyun.com/zh/open-search/search-platform/developer-reference/text-generation-api-details[documentation].
68
+
69
+
Available service_id for the `rerank` task is:
70
+
71
+
* `ops-bge-reranker-larger`
72
+
73
+
For the supported `rerank` service_id, refer to the https://help.aliyun.com/zh/open-search/search-platform/developer-reference/ranker-api-details[documentation].
66
74
67
75
Available service_id for the `sparse_embedding` task:
68
76
69
77
* `ops-text-sparse-embedding-001`
70
78
71
79
For the supported `sparse_embedding` service_id, refer to the https://help.aliyun.com/zh/open-search/search-platform/developer-reference/text-sparse-embedding-api-details[documentation].
72
80
73
-
Available service_id for the `rerank` task is:
81
+
Available service_ids for the `text_embedding` task:
74
82
75
-
* `ops-bge-reranker-larger`
83
+
* `ops-text-embedding-001`
84
+
* `ops-text-embedding-zh-001`
85
+
* `ops-text-embedding-en-001`
86
+
* `ops-text-embedding-002`
87
+
88
+
For the supported `text_embedding` service_ids, refer to the https://help.aliyun.com/zh/open-search/search-platform/developer-reference/text-embedding-api-details[documentation].
76
89
77
-
For the supported `rerank` service_id, refer to the https://help.aliyun.com/zh/open-search/search-platform/developer-reference/ranker-api-details[documentation].
78
90
--
79
91
80
92
`host`:::
81
93
(Required, string)
82
-
The name of the host address used for the {infer} task. You can find the host address at https://opensearch.console.aliyun.com/cn-shanghai/rag/api-key[ the API keys section] of the documentation.
94
+
The name of the host address used for the {infer} task.
95
+
You can find the host address at https://opensearch.console.aliyun.com/cn-shanghai/rag/api-key[the API keys section] of the documentation.
83
96
84
97
`workspace`:::
85
98
(Required, string)
@@ -130,25 +143,43 @@ If `true`, the token name will be returned in the response. Defaults to `false`
130
143
[[inference-example-alibabacloud-ai-search]]
131
144
==== AlibabaCloud AI Search service examples
132
145
133
-
The following example shows how to create an {infer} endpoint called `alibabacloud_ai_search_embeddings` to perform a `text_embedding` task type.
146
+
The following example shows how to create an {infer} endpoint called `alibabacloud_ai_search_completion` to perform a `completion` task type.
0 commit comments