# 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: 2023-11-01 10:48+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/examples/gradio_chatinterface.rst:5
msgid "Example: Gradio ChatInterface🤗"
msgstr "範例：Gradio 聊天界面🤗"

#: ../../source/examples/gradio_chatinterface.rst:7
msgid "**Description**:"
msgstr "**描述**："

#: ../../source/examples/gradio_chatinterface.rst:9
msgid ""
"This example showcases how to build a chatbot with 120 lines of code with "
"Gradio ChatInterface and Xinference local LLM"
msgstr ""
"這個範例展示了如何使用Gradio ChatInterface 聊天介面接口和 Xinference 本地LLM構建一個只有120行程式碼的聊天機器人。"

#: ../../source/examples/gradio_chatinterface.rst:11
msgid "**Used Technology**:"
msgstr "涉及技術"

#: ../../source/examples/gradio_chatinterface.rst:13
msgid ""
"@ `Xinference <https://github.com/xorbitsai/inference>`_ as a LLM model "
"hosting service"
msgstr ""
"@ `Xinference <https://github.com/xorbitsai/inference>`_ 作為 LLM 模型託管服務"

#: ../../source/examples/gradio_chatinterface.rst:15
msgid ""
"@ `Gradio <https://github.com/gradio-app/gradio>`_ as a web interface for "
"the chatbot"
msgstr "@ `Gradio <https://github.com/gradio-app/gradio>`_ 作為聊天機器人的 Web 介面"

#: ../../source/examples/gradio_chatinterface.rst:17
msgid "**Detailed Explanation on the Demo Functionality** :"
msgstr "**關於示範功能的詳細說明**："

#: ../../source/examples/gradio_chatinterface.rst:19
msgid ""
"Parse user-provided command line arguments to capture essential model "
"parameters such as model name, size, format, and quantization."
msgstr "解析使用者提供的命令列參數，以擷取關鍵的模型參數，例如模型名稱、大小、格式與量化方式。"

#: ../../source/examples/gradio_chatinterface.rst:21
msgid ""
"Establish a connection to the Xinference framework and deploy the specified "
"model, ensuring it's ready for real-time interactions."
msgstr "建立與 Xinference 框架的連接並部署指定的模型，確保它準備好進行即時互動。"

#: ../../source/examples/gradio_chatinterface.rst:23
msgid ""
"Implement helper functions (flatten and to_chat) to efficiently handle and "
"store chat interactions, ensuring the model has context for generating "
"relevant responses."
msgstr "實現輔助函數（flatten和to_chat），以高效處理和儲存聊天互動，確保模型具有生成相關回應的上下文。"

#: ../../source/examples/gradio_chatinterface.rst:25
msgid ""
"Set up an interactive chat interface using Gradio, allowing users to "
"communicate with the model in a user-friendly environment."
msgstr "使用 Gradio 設置互動式聊天介面，允許使用者在友善的環境中與模型進行通訊。"

#: ../../source/examples/gradio_chatinterface.rst:27
msgid ""
"Activate the Gradio web interface, enabling users to start their chat "
"sessions and receive model-generated responses based on their queries."
msgstr "啟動 Gradio Web 介面，讓使用者能夠開始他們的聊天會話，並根據他們的查詢接收模型生成的回應。"

#: ../../source/examples/gradio_chatinterface.rst:29
msgid "**Source Code** :"
msgstr "**原始碼**"

#: ../../source/examples/gradio_chatinterface.rst:30
msgid ""
"`Gradio ChatInterface "
"<https://github.com/xorbitsai/inference/blob/main/examples/gradio_chatinterface.py>`_"
msgstr ""
