{"id":34295,"date":"2024-07-24T15:53:54","date_gmt":"2024-07-24T07:53:54","guid":{"rendered":"https:\/\/www.deepin.org\/?page_id=34295"},"modified":"2024-07-24T15:55:58","modified_gmt":"2024-07-24T07:55:58","slug":"uos-ai-model-configuration-guide","status":"publish","type":"page","link":"https:\/\/www.deepin.org.cn\/en\/uos-ai-model-configuration-guide\/","title":{"rendered":"UOS AI Model Configuration Guide"},"content":{"rendered":"&nbsp;<\/p>\n<h1 style=\"text-align: center;\"><strong>GPT Model Configuration<\/strong><\/h1>\n<p>1\u3001 To use the GPT model, you need to get the API Key of OpenAI first.<\/p>\n<p>2\u3001[API Key] Get link: <a href=\"https:\/\/platform.openai.com\/settings\/profile?tab=api-keys\"><u>https:\/\/platform.openai.com\/settings\/profile?tab=api-keys<\/u><\/a><\/p>\n<p>In the following interface, click [Create new secret key] to start creating a new key. After the key is created, copy and save the key.<\/p>\n<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-34296 aligncenter\" src=\"https:\/\/www.deepin.org\/wp-content\/uploads\/2024\/07\/\u56fe\u72471-1.png\" alt=\"\" width=\"1920\" height=\"738\" srcset=\"https:\/\/www.deepin.org.cn\/wp-content\/uploads\/2024\/07\/\u56fe\u72471-1.png 1920w, https:\/\/www.deepin.org.cn\/wp-content\/uploads\/2024\/07\/\u56fe\u72471-1-300x115.png 300w, https:\/\/www.deepin.org.cn\/wp-content\/uploads\/2024\/07\/\u56fe\u72471-1-1024x394.png 1024w, https:\/\/www.deepin.org.cn\/wp-content\/uploads\/2024\/07\/\u56fe\u72471-1-150x58.png 150w, https:\/\/www.deepin.org.cn\/wp-content\/uploads\/2024\/07\/\u56fe\u72471-1-768x295.png 768w, https:\/\/www.deepin.org.cn\/wp-content\/uploads\/2024\/07\/\u56fe\u72471-1-1536x590.png 1536w, https:\/\/www.deepin.org.cn\/wp-content\/uploads\/2024\/07\/\u56fe\u72471-1-24x9.png 24w, https:\/\/www.deepin.org.cn\/wp-content\/uploads\/2024\/07\/\u56fe\u72471-1-36x14.png 36w, https:\/\/www.deepin.org.cn\/wp-content\/uploads\/2024\/07\/\u56fe\u72471-1-48x18.png 48w\" sizes=\"(max-width: 1920px) 100vw, 1920px\" \/><\/p>\n<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-34297 aligncenter\" src=\"https:\/\/www.deepin.org\/wp-content\/uploads\/2024\/07\/\u56fe\u72472-1.png\" alt=\"\" width=\"1920\" height=\"766\" srcset=\"https:\/\/www.deepin.org.cn\/wp-content\/uploads\/2024\/07\/\u56fe\u72472-1.png 1920w, https:\/\/www.deepin.org.cn\/wp-content\/uploads\/2024\/07\/\u56fe\u72472-1-300x120.png 300w, https:\/\/www.deepin.org.cn\/wp-content\/uploads\/2024\/07\/\u56fe\u72472-1-1024x409.png 1024w, https:\/\/www.deepin.org.cn\/wp-content\/uploads\/2024\/07\/\u56fe\u72472-1-150x60.png 150w, https:\/\/www.deepin.org.cn\/wp-content\/uploads\/2024\/07\/\u56fe\u72472-1-768x306.png 768w, https:\/\/www.deepin.org.cn\/wp-content\/uploads\/2024\/07\/\u56fe\u72472-1-1536x613.png 1536w, https:\/\/www.deepin.org.cn\/wp-content\/uploads\/2024\/07\/\u56fe\u72472-1-24x10.png 24w, https:\/\/www.deepin.org.cn\/wp-content\/uploads\/2024\/07\/\u56fe\u72472-1-36x14.png 36w, https:\/\/www.deepin.org.cn\/wp-content\/uploads\/2024\/07\/\u56fe\u72472-1-48x19.png 48w\" sizes=\"(max-width: 1920px) 100vw, 1920px\" \/><\/p>\n<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-34298 aligncenter\" src=\"https:\/\/www.deepin.org\/wp-content\/uploads\/2024\/07\/\u56fe\u72474-1.png\" alt=\"\" width=\"1920\" height=\"775\" srcset=\"https:\/\/www.deepin.org.cn\/wp-content\/uploads\/2024\/07\/\u56fe\u72474-1.png 1920w, https:\/\/www.deepin.org.cn\/wp-content\/uploads\/2024\/07\/\u56fe\u72474-1-300x121.png 300w, https:\/\/www.deepin.org.cn\/wp-content\/uploads\/2024\/07\/\u56fe\u72474-1-1024x413.png 1024w, https:\/\/www.deepin.org.cn\/wp-content\/uploads\/2024\/07\/\u56fe\u72474-1-150x61.png 150w, https:\/\/www.deepin.org.cn\/wp-content\/uploads\/2024\/07\/\u56fe\u72474-1-768x310.png 768w, https:\/\/www.deepin.org.cn\/wp-content\/uploads\/2024\/07\/\u56fe\u72474-1-1536x620.png 1536w, https:\/\/www.deepin.org.cn\/wp-content\/uploads\/2024\/07\/\u56fe\u72474-1-24x10.png 24w, https:\/\/www.deepin.org.cn\/wp-content\/uploads\/2024\/07\/\u56fe\u72474-1-36x15.png 36w, https:\/\/www.deepin.org.cn\/wp-content\/uploads\/2024\/07\/\u56fe\u72474-1-48x19.png 48w\" sizes=\"(max-width: 1920px) 100vw, 1920px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>3\u3001\u00a0Fill in the UOS AI configuration:<\/p>\n<ul>\n<li>Open the UOS AI setting page, click [Add], you can checkthe model parameterconfiguration page;<\/li>\n<li>LLM: In [Model Type], select [GPT 3.5] or [GPT 4.0] ;<\/li>\n<li>Account: Name your model, which mainly used to distinguish different models.The name will be displayed in the model selection box in the main interface of UOS AI application.<\/li>\n<li>APIKey: The saved OpenAI Key above.<\/li>\n<\/ul>\n<p><img loading=\"lazy\" class=\"alignnone wp-image-34299 aligncenter\" src=\"https:\/\/www.deepin.org\/wp-content\/uploads\/2024\/07\/\u56fe\u72475.png\" alt=\"\" width=\"916\" height=\"830\" srcset=\"https:\/\/www.deepin.org.cn\/wp-content\/uploads\/2024\/07\/\u56fe\u72475.png 680w, https:\/\/www.deepin.org.cn\/wp-content\/uploads\/2024\/07\/\u56fe\u72475-300x272.png 300w, https:\/\/www.deepin.org.cn\/wp-content\/uploads\/2024\/07\/\u56fe\u72475-150x136.png 150w, https:\/\/www.deepin.org.cn\/wp-content\/uploads\/2024\/07\/\u56fe\u72475-24x22.png 24w, https:\/\/www.deepin.org.cn\/wp-content\/uploads\/2024\/07\/\u56fe\u72475-36x33.png 36w, https:\/\/www.deepin.org.cn\/wp-content\/uploads\/2024\/07\/\u56fe\u72475-48x43.png 48w\" sizes=\"(max-width: 916px) 100vw, 916px\" \/><\/p>\n<p><img loading=\"lazy\" class=\"alignnone wp-image-34300 aligncenter\" src=\"https:\/\/www.deepin.org\/wp-content\/uploads\/2024\/07\/\u56fe\u72476.png\" alt=\"\" width=\"658\" height=\"538\" srcset=\"https:\/\/www.deepin.org.cn\/wp-content\/uploads\/2024\/07\/\u56fe\u72476.png 528w, https:\/\/www.deepin.org.cn\/wp-content\/uploads\/2024\/07\/\u56fe\u72476-300x245.png 300w, https:\/\/www.deepin.org.cn\/wp-content\/uploads\/2024\/07\/\u56fe\u72476-150x123.png 150w, https:\/\/www.deepin.org.cn\/wp-content\/uploads\/2024\/07\/\u56fe\u72476-24x20.png 24w, https:\/\/www.deepin.org.cn\/wp-content\/uploads\/2024\/07\/\u56fe\u72476-36x29.png 36w, https:\/\/www.deepin.org.cn\/wp-content\/uploads\/2024\/07\/\u56fe\u72476-48x39.png 48w\" sizes=\"(max-width: 658px) 100vw, 658px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h1 style=\"text-align: center;\"><strong>Customized Model Configuration<\/strong><\/h1>\n<h2><strong>Pre-conditions<\/strong><\/h2>\n<ol>\n<li>Model Interface Requirement: The interface specification of UOS AI's custom model is OpenAI's \/v1\/chat\/completions, so only model services that provide OpenAI-compatible interfaces can be added to UOS AI for use.<\/li>\n<li>Application version requirement: UOS AI 1.3.0 or above.<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<h2><strong>Online Model Access<\/strong><\/h2>\n<p>We will introduce the method of adding online models. In this example, we will use Moonshot API.<\/p>\n<p><strong>Moonshot<\/strong><\/p>\n<p>1\u3001Get API: Open the API description of the Moonshot: <a href=\"#api-%E8%AF%B4%E6%98%8E\"><u>https:\/\/platform.moonshot.cn\/docs\/api\/chat#api-%E8%AF%B4%E6%98%8E<\/u><\/a><\/p>\n<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-34301 aligncenter\" src=\"https:\/\/www.deepin.org\/wp-content\/uploads\/2024\/07\/\u56fe\u72477.png\" alt=\"\" width=\"1103\" height=\"670\" srcset=\"https:\/\/www.deepin.org.cn\/wp-content\/uploads\/2024\/07\/\u56fe\u72477.png 1103w, https:\/\/www.deepin.org.cn\/wp-content\/uploads\/2024\/07\/\u56fe\u72477-300x182.png 300w, https:\/\/www.deepin.org.cn\/wp-content\/uploads\/2024\/07\/\u56fe\u72477-1024x622.png 1024w, https:\/\/www.deepin.org.cn\/wp-content\/uploads\/2024\/07\/\u56fe\u72477-150x91.png 150w, https:\/\/www.deepin.org.cn\/wp-content\/uploads\/2024\/07\/\u56fe\u72477-768x467.png 768w, https:\/\/www.deepin.org.cn\/wp-content\/uploads\/2024\/07\/\u56fe\u72477-24x15.png 24w, https:\/\/www.deepin.org.cn\/wp-content\/uploads\/2024\/07\/\u56fe\u72477-36x22.png 36w, https:\/\/www.deepin.org.cn\/wp-content\/uploads\/2024\/07\/\u56fe\u72477-48x29.png 48w\" sizes=\"(max-width: 1103px) 100vw, 1103px\" \/><\/p>\n<ul>\n<li>According to thedocumentabove, the request address is: <a href=\"https:\/\/api.moonshot.cn\/v1\/chat\/completions\"><u>https:\/\/api.moonshot.cn\/v1\/chat\/completions<\/u><\/a><\/li>\n<li>Model name: moonshot-v1-8k<\/li>\n<\/ul>\n<p>2\u3001Get API Key<\/p>\n<ul>\n<li>Login to the console desk of Moonshot and enter \u201cAPI Key Management\u201d: <a href=\"https:\/\/platform.moonshot.cn\/console\/api-keys\"><u>https:\/\/platform.moonshot.cn\/console\/api-keys<\/u><\/a><\/li>\n<li>Click the \u201cCreate\u201d button on the right side to generate API Key, and copy the generated key in this interface.<\/li>\n<\/ul>\n<p>3\u3001Add model in UOS AI.<\/p>\n<p>4\u3001Enter the UOS AI setting interface to add models. Switch to \u201cCustom\u201d in the model option of the model adding interface. Then fill in the following information:<\/p>\n<ul>\n<li>API Key: Paste the key you copied in the previous step in the API Key field.<\/li>\n<li>Account Name: Give your model a name, mainly used to distinguish different models, the name will be shown in the model selection box in the main interface of UOS AI application.<\/li>\n<li>Model name: fill in the model name declared by Moonshot API in step 1: moonshot-v1-8k<\/li>\n<li>Request address: UOS AI will automatically add\/chat\/completions to the request address, so the address filled in here needs to remove the\/chat\/completions\u00a0from the Moonshot\u2019\u00a0address.<\/li>\n<li>The actual fill in is: https:\/\/api.moonshot.cn\/v1<\/li>\n<li>Click Confirm to complete the verification and then you can use it in the dialog window.<\/li>\n<\/ul>\n<p><img loading=\"lazy\" class=\"alignnone wp-image-34302 aligncenter\" src=\"https:\/\/www.deepin.org\/wp-content\/uploads\/2024\/07\/\u56fe\u72478.png\" alt=\"\" width=\"739\" height=\"640\" srcset=\"https:\/\/www.deepin.org.cn\/wp-content\/uploads\/2024\/07\/\u56fe\u72478.png 528w, https:\/\/www.deepin.org.cn\/wp-content\/uploads\/2024\/07\/\u56fe\u72478-300x259.png 300w, https:\/\/www.deepin.org.cn\/wp-content\/uploads\/2024\/07\/\u56fe\u72478-150x130.png 150w, https:\/\/www.deepin.org.cn\/wp-content\/uploads\/2024\/07\/\u56fe\u72478-24x21.png 24w, https:\/\/www.deepin.org.cn\/wp-content\/uploads\/2024\/07\/\u56fe\u72478-36x31.png 36w, https:\/\/www.deepin.org.cn\/wp-content\/uploads\/2024\/07\/\u56fe\u72478-48x41.png 48w\" sizes=\"(max-width: 739px) 100vw, 739px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>5\u3001Other online models compatible with OpenAI API interface can be accessed by the above method. The following is the API description of some big model vendors.<\/p>\n<ul>\n<li>ZhiPu: https:\/\/open.bigmodel.cn\/dev\/api#glm-4<\/li>\n<li>Baichuan: https:\/\/platform.baichuan-ai.com\/docs\/api<\/li>\n<li>Tongyi Qianqian: https:\/\/help.aliyun.com\/zh\/dashscope\/developer-reference\/compatibility-of-openai-with-dashscope<\/li>\n<li>LingYiWanWu: https:\/\/platform.lingyiwanwu.com\/docs#api-%E5%B9%B3%E5%8F%B0<\/li>\n<li>Deepseek: https:\/\/platform.deepseek.com\/api-docs\/zh-cn\/<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h2><strong>Local Model Access<\/strong><\/h2>\n<p><strong>Install Ollama<\/strong><\/p>\n<p>1\u3001Before running the local model, you need to install Ollama, which isalocal deployment tool for open source programming language models, through which you can easily deploy open source large models locally.<\/p>\n<p>2\u3001Ollama repository address: https:\/\/github.com\/ollama\/ollama<\/p>\n<p>3\u3001Follow the tutorial to install the ollama program on your system.<\/p>\n<ul>\n<li>Execute the following commands to directly install ollama.<\/li>\n<li>Compile and install, Docker installation please refer to the instructions in Github.<\/li>\n<\/ul>\n<blockquote><p>Bash<br \/>\ncurl -fsSL https:\/\/ollama.com\/install.sh | sh<\/p><\/blockquote>\n<p>4\u3001Get the service address: 127.0.0.1:11434; subsequent backup.<\/p>\n<p><img loading=\"lazy\" class=\"alignnone wp-image-34303 aligncenter\" src=\"https:\/\/www.deepin.org\/wp-content\/uploads\/2024\/07\/\u56fe\u72479.png\" alt=\"\" width=\"873\" height=\"287\" srcset=\"https:\/\/www.deepin.org.cn\/wp-content\/uploads\/2024\/07\/\u56fe\u72479.png 1978w, https:\/\/www.deepin.org.cn\/wp-content\/uploads\/2024\/07\/\u56fe\u72479-300x98.png 300w, https:\/\/www.deepin.org.cn\/wp-content\/uploads\/2024\/07\/\u56fe\u72479-1024x335.png 1024w, https:\/\/www.deepin.org.cn\/wp-content\/uploads\/2024\/07\/\u56fe\u72479-150x49.png 150w, https:\/\/www.deepin.org.cn\/wp-content\/uploads\/2024\/07\/\u56fe\u72479-768x252.png 768w, https:\/\/www.deepin.org.cn\/wp-content\/uploads\/2024\/07\/\u56fe\u72479-1536x503.png 1536w, https:\/\/www.deepin.org.cn\/wp-content\/uploads\/2024\/07\/\u56fe\u72479-24x8.png 24w, https:\/\/www.deepin.org.cn\/wp-content\/uploads\/2024\/07\/\u56fe\u72479-36x12.png 36w, https:\/\/www.deepin.org.cn\/wp-content\/uploads\/2024\/07\/\u56fe\u72479-48x16.png 48w\" sizes=\"(max-width: 873px) 100vw, 873px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><strong>Run the model<\/strong><\/p>\n<p>1\u3001After installing Ollama, run the model in the terminal, e.g. Qwen2's 7B model.<\/p>\n<blockquote><p>Bash<br \/>\nollama run qwen2:7b<\/p><\/blockquote>\n<p>2\u3001The model will be downloaded automatically the first time you run it, and you need to wait for a while according to the network condition.<\/p>\n<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-34304 aligncenter\" src=\"https:\/\/www.deepin.org\/wp-content\/uploads\/2024\/07\/\u56fe\u724710.png\" alt=\"\" width=\"1242\" height=\"57\" srcset=\"https:\/\/www.deepin.org.cn\/wp-content\/uploads\/2024\/07\/\u56fe\u724710.png 1242w, https:\/\/www.deepin.org.cn\/wp-content\/uploads\/2024\/07\/\u56fe\u724710-300x14.png 300w, https:\/\/www.deepin.org.cn\/wp-content\/uploads\/2024\/07\/\u56fe\u724710-1024x47.png 1024w, https:\/\/www.deepin.org.cn\/wp-content\/uploads\/2024\/07\/\u56fe\u724710-150x7.png 150w, https:\/\/www.deepin.org.cn\/wp-content\/uploads\/2024\/07\/\u56fe\u724710-768x35.png 768w, https:\/\/www.deepin.org.cn\/wp-content\/uploads\/2024\/07\/\u56fe\u724710-24x1.png 24w, https:\/\/www.deepin.org.cn\/wp-content\/uploads\/2024\/07\/\u56fe\u724710-36x2.png 36w, https:\/\/www.deepin.org.cn\/wp-content\/uploads\/2024\/07\/\u56fe\u724710-48x2.png 48w\" sizes=\"(max-width: 1242px) 100vw, 1242px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>3\u3001Ollama model repository can be found at https:\/\/ollama.com\/library, you can choose the model according to your needs.<\/p>\n<p><img loading=\"lazy\" class=\"wp-image-34305 aligncenter\" src=\"https:\/\/www.deepin.org\/wp-content\/uploads\/2024\/07\/\u56fe\u724711.png\" alt=\"\" width=\"813\" height=\"707\" srcset=\"https:\/\/www.deepin.org.cn\/wp-content\/uploads\/2024\/07\/\u56fe\u724711.png 1000w, https:\/\/www.deepin.org.cn\/wp-content\/uploads\/2024\/07\/\u56fe\u724711-300x261.png 300w, https:\/\/www.deepin.org.cn\/wp-content\/uploads\/2024\/07\/\u56fe\u724711-150x131.png 150w, https:\/\/www.deepin.org.cn\/wp-content\/uploads\/2024\/07\/\u56fe\u724711-768x668.png 768w, https:\/\/www.deepin.org.cn\/wp-content\/uploads\/2024\/07\/\u56fe\u724711-24x21.png 24w, https:\/\/www.deepin.org.cn\/wp-content\/uploads\/2024\/07\/\u56fe\u724711-36x31.png 36w, https:\/\/www.deepin.org.cn\/wp-content\/uploads\/2024\/07\/\u56fe\u724711-48x42.png 48w\" sizes=\"(max-width: 813px) 100vw, 813px\" \/><\/p>\n<p><img loading=\"lazy\" class=\"wp-image-34306 aligncenter\" src=\"https:\/\/www.deepin.org\/wp-content\/uploads\/2024\/07\/\u56fe\u724712.png\" alt=\"\" width=\"726\" height=\"442\" srcset=\"https:\/\/www.deepin.org.cn\/wp-content\/uploads\/2024\/07\/\u56fe\u724712.png 883w, https:\/\/www.deepin.org.cn\/wp-content\/uploads\/2024\/07\/\u56fe\u724712-300x183.png 300w, https:\/\/www.deepin.org.cn\/wp-content\/uploads\/2024\/07\/\u56fe\u724712-150x91.png 150w, https:\/\/www.deepin.org.cn\/wp-content\/uploads\/2024\/07\/\u56fe\u724712-768x468.png 768w, https:\/\/www.deepin.org.cn\/wp-content\/uploads\/2024\/07\/\u56fe\u724712-24x15.png 24w, https:\/\/www.deepin.org.cn\/wp-content\/uploads\/2024\/07\/\u56fe\u724712-36x22.png 36w, https:\/\/www.deepin.org.cn\/wp-content\/uploads\/2024\/07\/\u56fe\u724712-48x29.png 48w\" sizes=\"(max-width: 726px) 100vw, 726px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><strong>UOS AI Configuration<\/strong><\/p>\n<p>1\u3001 After Ollama starts the model, you can add the model in UOS AI.<\/p>\n<p>2\u3001Enter the model adding interface of UOS AI, and select the model type as Custom.<\/p>\n<p>3\u3001Account name: Name your model which mainly used to distinguish different models. The name will be displayed in the model selection box in the main interface of UOS AI application.<\/p>\n<p>4\u3001APIKey: Ollama has not enabled authentication, you can fill in the name as you like.<\/p>\n<p>5\u3001Model name: fill in the name of the model that Ollama is running, such as qwen2:7b in the previous section, then fill in qwen2:7b here.<\/p>\n<p>6\u3001Model request address:<\/p>\n<ul>\n<li>Ollama's default service address is 127.0.0.1:11434 and its OpenAI compatible interface is http:\/\/127.0.0.1:11434\/v1\/chat\/completions<\/li>\n<li>Therefore, in UOS AI, you only need to fill in http:\/\/127.0.0.1:11434\/v1.<\/li>\n<\/ul>\n<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-34307 aligncenter\" src=\"https:\/\/www.deepin.org\/wp-content\/uploads\/2024\/07\/\u56fe\u724713.png\" alt=\"\" width=\"528\" height=\"456\" srcset=\"https:\/\/www.deepin.org.cn\/wp-content\/uploads\/2024\/07\/\u56fe\u724713.png 528w, https:\/\/www.deepin.org.cn\/wp-content\/uploads\/2024\/07\/\u56fe\u724713-300x259.png 300w, https:\/\/www.deepin.org.cn\/wp-content\/uploads\/2024\/07\/\u56fe\u724713-150x130.png 150w, https:\/\/www.deepin.org.cn\/wp-content\/uploads\/2024\/07\/\u56fe\u724713-24x21.png 24w, https:\/\/www.deepin.org.cn\/wp-content\/uploads\/2024\/07\/\u56fe\u724713-36x31.png 36w, https:\/\/www.deepin.org.cn\/wp-content\/uploads\/2024\/07\/\u56fe\u724713-48x41.png 48w\" sizes=\"(max-width: 528px) 100vw, 528px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>7\u3001After finishing adding, you can talk with local models in UOS AI.<\/p>\n<p>&nbsp;<\/p>\n<h1><strong>Appendix\uff1a<\/strong><\/h1>\n<p>\uff081\uff09<a href=\"https:\/\/distrowatch.com\/index.php?distribution=deepin\">deepin All Versions\uff08include deepin V15\uff09<\/a><\/p>\n<p>\uff082\uff09<a href=\"https:\/\/www.deepin.org\/uos-ai-gets-a-major-upgrade\/\">UOS Al Revolutionizes into Next-Level Intelligence.\u00a0<\/a><\/p>\n<p>&nbsp;<\/p>\n<article id=\"post-34267\" class=\"post-34267 post type-post status-publish format-standard hentry category-technology-sharing category-community-news\">\n<div class=\"entry-content\">\n<p style=\"text-align: right;\">Content source: deepin community<br \/>\nReprinted with attribution<\/p>\n<\/div>\n<\/article>","protected":false},"excerpt":{"rendered":"<p>&nbsp; GPT Model Configuration 1\u3001 To use the GPT model, you need to get the API Key of OpenAI first. 2\u3001[API Key] Get link: https:\/\/platform.openai.com\/settings\/profile?tab=api-keys In the following interface, click [Create new secret key] to start creating a new key. After the key is created, copy and save the key. &nbsp; 3\u3001\u00a0Fill in the UOS AI configuration: Open the UOS AI setting page, click [Add], you can checkthe model parameterconfiguration page; LLM: In [Model Type], select [GPT 3.5] or [GPT 4.0] ; Account: Name your model, which mainly used to distinguish different models.The name will be displayed in the model ...<a href=https:\/\/www.deepin.org.cn\/en\/uos-ai-model-configuration-guide\/>Read more<\/a><\/p>\n","protected":false},"author":11164,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"https:\/\/www.deepin.org.cn\/en\/wp-json\/wp\/v2\/pages\/34295"}],"collection":[{"href":"https:\/\/www.deepin.org.cn\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.deepin.org.cn\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.deepin.org.cn\/en\/wp-json\/wp\/v2\/users\/11164"}],"replies":[{"embeddable":true,"href":"https:\/\/www.deepin.org.cn\/en\/wp-json\/wp\/v2\/comments?post=34295"}],"version-history":[{"count":3,"href":"https:\/\/www.deepin.org.cn\/en\/wp-json\/wp\/v2\/pages\/34295\/revisions"}],"predecessor-version":[{"id":34310,"href":"https:\/\/www.deepin.org.cn\/en\/wp-json\/wp\/v2\/pages\/34295\/revisions\/34310"}],"wp:attachment":[{"href":"https:\/\/www.deepin.org.cn\/en\/wp-json\/wp\/v2\/media?parent=34295"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}