Warning, /utilities/alpaka/src/core/kllmcoresettings.kcfg is written in an unsupported language. File is not indexed.
0001 <?xml version="1.0" encoding="UTF-8"?> 0002 0003 <!-- 0004 SPDX-FileCopyrightText: 2023 Loren Burkholder <computersemiexpert@outlook.com> 0005 0006 SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL 0007 --> 0008 0009 <kcfg xmlns="http://www.kde.org/standards/kcfg/1.0" 0010 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 0011 xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0 0012 http://www.kde.org/standards/kcfg/1.0/kcfg.xsd" > 0013 <include>KUser</include> 0014 <include>QEventLoop</include> 0015 <include>KLLMInterface.h</include> 0016 <include>KLLMConstants.h</include> 0017 <kcfgfile name="alpakarc"/> 0018 <group name="Ollama"> 0019 <entry name="ServerUrl" type="Url"> 0020 <label>The URL to the Ollama instance</label> 0021 <default code="true">KLLMCore::ollamaUrl()</default> 0022 </entry> 0023 </group> 0024 <group name="LLM"> 0025 <entry name="SystemPrompt" type="String"> 0026 <label>The system prompt for the LLM</label> 0027 <default code="true"> 0028 [] { 0029 KUser user; 0030 return QStringLiteral("You are an AI assistant. You are speaking to a person named %1. " 0031 "Be helpful, professional, and courteous. Do not give inaccurate " 0032 "information.") 0033 .arg(user.property(KUser::UserProperty::FullName).toString()); 0034 } () 0035 </default> 0036 </entry> 0037 <entry name="Model" type="String"> 0038 <label>The model used to generate responses</label> 0039 </entry> 0040 </group> 0041 <group name="General"> 0042 <entry name="SystemTray" type="bool"> 0043 <label>Close Alpaka to system tray</label> 0044 <default>false</default> 0045 </entry> 0046 </group> 0047 </kcfg>