# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2023, Xorbits Inc.
# This file is distributed under the same license as the Xinference package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2023.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Xinference\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-09-09 12:13+0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: zh_TW <LL@li.org>\n"
"Language: zh_TW\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"
"Generated-By: Babel 2.18.0\n"

#: ../../source/user_guide/client_api.rst:5
msgid "Client API"
msgstr "用戶端 API"

#: ../../source/user_guide/client_api.rst:7
msgid "Complete Client API Reference: :ref:`reference_index`"
msgstr "完整地 API 指南： :ref:`reference_index`"

#: ../../source/user_guide/client_api.rst:9
msgid ""
"To utilize the Client API, initiate the xinference server using the command "
"below:"
msgstr "使用 Client API，需要先使用以下命令拉起 Xinference 服務："

#: ../../source/user_guide/client_api.rst:18
msgid ""
"Based on the log above, the endpoint is `http://127.0.0.1:9997`. Users can "
"connect to the xinference server through this endpoint using the Client."
msgstr ""
"在命令日誌裡會列印服務地址，上述日誌中為 `http://127.0.0.1:9997`。使用者可以透過 Client 連接 Xinference "
"服務。"

#: ../../source/user_guide/client_api.rst:20
msgid ""
"Models are categorized into LLM, embedding, image, etc. We plan to introduce"
" more model types in the future."
msgstr "所有模型被分為 LLM、embedding、rerank 等類型。後續可能會支援更多類型的模型。"

#: ../../source/user_guide/client_api.rst:23
msgid "LLM"
msgstr "LLM"

#: ../../source/user_guide/client_api.rst:25
msgid "To list the available built-in LLM models:"
msgstr "列出所有內建支援的 LLM 模型："

#: ../../source/user_guide/client_api.rst:38
msgid "To initialize an LLM and chat:"
msgstr "初始化一個大語言模型並且與之對話："

#: ../../source/user_guide/client_api.rst:41
#: ../../source/user_guide/client_api.rst:183
#: ../../source/user_guide/client_api.rst:254
#: ../../source/user_guide/client_api.rst:323
msgid "Xinference Client"
msgstr "Xinference Client"

#: ../../source/user_guide/client_api.rst:65
#: ../../source/user_guide/client_api.rst:215
#: ../../source/user_guide/client_api.rst:278
#: ../../source/user_guide/client_api.rst:347
msgid "OpenAI Client"
msgstr "OpenAI Client"

#: ../../source/user_guide/client_api.rst:67
msgid ""
"Openai client request with the same function as before, excluding launch "
"model. More details refer to: https://platform.openai.com/docs/api-"
"reference/chat?lang=python"
msgstr ""
"使用 OpenAI 發送請求時，除了建立模型之外，其餘請求皆保持與 OpenAI 的介面相容。OpenAI 的使用方式可參考 "
"https://platform.openai.com/docs/api-reference/chat?lang=python"

#: ../../source/user_guide/client_api.rst:89
msgid "OpenAI Client Tool Calls"
msgstr "OpenAI 工具調用"

#: ../../source/user_guide/client_api.rst:134
#: ../../source/user_guide/client_api.rst:197
#: ../../source/user_guide/client_api.rst:229
#: ../../source/user_guide/client_api.rst:269
#: ../../source/user_guide/client_api.rst:293
#: ../../source/user_guide/client_api.rst:337
#: ../../source/user_guide/client_api.rst:362
#: ../../source/user_guide/client_api.rst:391
msgid "Output:"
msgstr "输出："

#: ../../source/user_guide/client_api.rst:142
msgid "Anthropic Client"
msgstr "Anthropic Client"

#: ../../source/user_guide/client_api.rst:144
msgid "Anthropic API's access address is: /anthropic/v1/messages"
msgstr "Anthropic的API訪問地址為：/anthropic/v1/messages"

#: ../../source/user_guide/client_api.rst:165
msgid "Embedding"
msgstr "Embedding"

#: ../../source/user_guide/client_api.rst:167
msgid "To list the available built-in embedding models:"
msgstr "列出所有內建支援的 embedding 模型："

#: ../../source/user_guide/client_api.rst:180
msgid "To launch an embedding model and embed text:"
msgstr "拉起 embedding 模型並使用文本向量化："

#: ../../source/user_guide/client_api.rst:217
msgid ""
"Openai client request with the same function as before, excluding launch "
"model. More details refer to: https://platform.openai.com/docs/api-"
"reference/embeddings?lang=python"
msgstr ""
"使用 Openai 發送請求時，除了建立模型，其餘的請求都保持與 Openai 的介面相容。Openai 使用方式可參考 "
"https://platform.openai.com/docs/api-reference/embeddings?lang=python"

#: ../../source/user_guide/client_api.rst:236
msgid "Image"
msgstr "圖片"

#: ../../source/user_guide/client_api.rst:238
#: ../../source/user_guide/client_api.rst:303
msgid "To list the available built-in image models:"
msgstr "列出所有內建的文生圖模型："

#: ../../source/user_guide/client_api.rst:251
msgid "To initiate an image model and generate an image using a text prompt:"
msgstr "初始化一個文生圖模型並透過提示詞生成圖片："

#: ../../source/user_guide/client_api.rst:280
msgid ""
"Openai client request with the same function as before, excluding launch "
"model. More details refer to: https://platform.openai.com/docs/api-"
"reference/images/create?lang=python"
msgstr ""
"使用 OpenAI 發送請求時，除了建立模型，其餘請求都保持與 OpenAI 的介面相容。OpenAI 的使用方式可參考 "
"https://platform.openai.com/docs/api-reference/images/create?lang=python"

#: ../../source/user_guide/client_api.rst:301
msgid "Audio"
msgstr ""

#: ../../source/user_guide/client_api.rst:320
msgid "To initiate an audio model and get text from an audio:"
msgstr "初始化一個語音模型並透過語音生成文字："

#: ../../source/user_guide/client_api.rst:349
msgid ""
"Openai client request with the same function as before. More details refer "
"to: https://platform.openai.com/docs/api-reference/audio/createTranscription"
msgstr ""
"使用 OpenAI 發送請求時，除了建立模型，其餘的請求都保持與 OpenAI 的介面相容。OpenAI 的使用方式可參考 "
"https://platform.openai.com/docs/api-reference/images/create?lang=python"

#: ../../source/user_guide/client_api.rst:370
msgid "Rerank"
msgstr "Rerank"

#: ../../source/user_guide/client_api.rst:371
msgid "To launch a rerank model and compute the similarity scores:"
msgstr "拉起 rerank 模型並計算文字相似度："

#~ msgid ""
#~ "Anthropic client request with the same function as before, excluding launch "
#~ "model."
#~ msgstr "使用 Anthropic 發送請求時，除了創建模型，其餘請求皆保持與 Anthropic 的接口相容。"
