58 <tr> |
58 <tr> |
59 <td><a href="#OllamaWidget.__aboutToShowOllamaMenu">__aboutToShowOllamaMenu</a></td> |
59 <td><a href="#OllamaWidget.__aboutToShowOllamaMenu">__aboutToShowOllamaMenu</a></td> |
60 <td>Private slot to set the action enabled status.</td> |
60 <td>Private slot to set the action enabled status.</td> |
61 </tr> |
61 </tr> |
62 <tr> |
62 <tr> |
|
63 <td><a href="#OllamaWidget.__chatHistoryDialogClosed">__chatHistoryDialogClosed</a></td> |
|
64 <td>Private method to handle the closing of a chat history dialog.</td> |
|
65 </tr> |
|
66 <tr> |
63 <td><a href="#OllamaWidget.__checkHistoryModels">__checkHistoryModels</a></td> |
67 <td><a href="#OllamaWidget.__checkHistoryModels">__checkHistoryModels</a></td> |
64 <td>Private slot to set the chat history entry states according to available models.</td> |
68 <td>Private slot to set the chat history entry states according to available models.</td> |
65 </tr> |
69 </tr> |
66 <tr> |
70 <tr> |
67 <td><a href="#OllamaWidget.__connectClient">__connectClient</a></td> |
71 <td><a href="#OllamaWidget.__connectClient">__connectClient</a></td> |
206 <tr> |
210 <tr> |
207 <td><a href="#OllamaWidget.__setHeaderLabel">__setHeaderLabel</a></td> |
211 <td><a href="#OllamaWidget.__setHeaderLabel">__setHeaderLabel</a></td> |
208 <td>Private slot to receive the 'ollama' server version and set the header.</td> |
212 <td>Private slot to receive the 'ollama' server version and set the header.</td> |
209 </tr> |
213 </tr> |
210 <tr> |
214 <tr> |
211 <td><a href="#OllamaWidget.__showModelLibrary">__showModelLibrary</a></td> |
|
212 <td>Private slot to open the 'ollama' model librayr web site.</td> |
|
213 </tr> |
|
214 <tr> |
|
215 <td><a href="#OllamaWidget.__showModels">__showModels</a></td> |
215 <td><a href="#OllamaWidget.__showModels">__showModels</a></td> |
216 <td>Private slot to ask the 'ollama' server for a list of available models with some details.</td> |
216 <td>Private slot to ask the 'ollama' server for a list of available models with some details.</td> |
217 </tr> |
217 </tr> |
218 <tr> |
218 <tr> |
|
219 <td><a href="#OllamaWidget.__showOllamaUrl">__showOllamaUrl</a></td> |
|
220 <td>Private method to open an 'ollama' URL given by its configuration key.</td> |
|
221 </tr> |
|
222 <tr> |
219 <td><a href="#OllamaWidget.__showRunningModels">__showRunningModels</a></td> |
223 <td><a href="#OllamaWidget.__showRunningModels">__showRunningModels</a></td> |
220 <td>Private slot to show a dialog with data of the running models.</td> |
224 <td>Private slot to show a dialog with data of the running models.</td> |
221 </tr> |
225 </tr> |
222 <tr> |
226 <tr> |
223 <td><a href="#OllamaWidget.__startLocalServer">__startLocalServer</a></td> |
227 <td><a href="#OllamaWidget.__startLocalServer">__startLocalServer</a></td> |
232 <td>Private slot to stop a running local 'ollama' server instance.</td> |
236 <td>Private slot to stop a running local 'ollama' server instance.</td> |
233 </tr> |
237 </tr> |
234 <tr> |
238 <tr> |
235 <td><a href="#OllamaWidget.__updateMessageEditState">__updateMessageEditState</a></td> |
239 <td><a href="#OllamaWidget.__updateMessageEditState">__updateMessageEditState</a></td> |
236 <td>Private slot to set the enabled state of the message line edit and the send button.</td> |
240 <td>Private slot to set the enabled state of the message line edit and the send button.</td> |
|
241 </tr> |
|
242 <tr> |
|
243 <td><a href="#OllamaWidget.__viewChatHistory">__viewChatHistory</a></td> |
|
244 <td>Private slot to show the chat history in a separate window.</td> |
237 </tr> |
245 </tr> |
238 <tr> |
246 <tr> |
239 <td><a href="#OllamaWidget.clearHistory">clearHistory</a></td> |
247 <td><a href="#OllamaWidget.clearHistory">clearHistory</a></td> |
240 <td>Public method to clear the history entries and close all chats.</td> |
248 <td>Public method to clear the history entries and close all chats.</td> |
241 </tr> |
249 </tr> |
295 <b>__aboutToShowOllamaMenu</b>(<i></i>) |
303 <b>__aboutToShowOllamaMenu</b>(<i></i>) |
296 <p> |
304 <p> |
297 Private slot to set the action enabled status. |
305 Private slot to set the action enabled status. |
298 </p> |
306 </p> |
299 |
307 |
|
308 <a NAME="OllamaWidget.__chatHistoryDialogClosed" ID="OllamaWidget.__chatHistoryDialogClosed"></a> |
|
309 <h4>OllamaWidget.__chatHistoryDialogClosed</h4> |
|
310 <b>__chatHistoryDialogClosed</b>(<i>dialog</i>) |
|
311 <p> |
|
312 Private method to handle the closing of a chat history dialog. |
|
313 </p> |
|
314 |
|
315 <dl> |
|
316 |
|
317 <dt><i>dialog</i> (OllamaChatDialog)</dt> |
|
318 <dd> |
|
319 reference to the closed dialog |
|
320 </dd> |
|
321 </dl> |
300 <a NAME="OllamaWidget.__checkHistoryModels" ID="OllamaWidget.__checkHistoryModels"></a> |
322 <a NAME="OllamaWidget.__checkHistoryModels" ID="OllamaWidget.__checkHistoryModels"></a> |
301 <h4>OllamaWidget.__checkHistoryModels</h4> |
323 <h4>OllamaWidget.__checkHistoryModels</h4> |
302 <b>__checkHistoryModels</b>(<i>modelNames</i>) |
324 <b>__checkHistoryModels</b>(<i>modelNames</i>) |
303 <p> |
325 <p> |
304 Private slot to set the chat history entry states according to available |
326 Private slot to set the chat history entry states according to available |
796 <dt><i>version</i> (str)</dt> |
818 <dt><i>version</i> (str)</dt> |
797 <dd> |
819 <dd> |
798 'ollama' server version' |
820 'ollama' server version' |
799 </dd> |
821 </dd> |
800 </dl> |
822 </dl> |
801 <a NAME="OllamaWidget.__showModelLibrary" ID="OllamaWidget.__showModelLibrary"></a> |
|
802 <h4>OllamaWidget.__showModelLibrary</h4> |
|
803 <b>__showModelLibrary</b>(<i></i>) |
|
804 <p> |
|
805 Private slot to open the 'ollama' model librayr web site. |
|
806 </p> |
|
807 |
|
808 <a NAME="OllamaWidget.__showModels" ID="OllamaWidget.__showModels"></a> |
823 <a NAME="OllamaWidget.__showModels" ID="OllamaWidget.__showModels"></a> |
809 <h4>OllamaWidget.__showModels</h4> |
824 <h4>OllamaWidget.__showModels</h4> |
810 <b>__showModels</b>(<i></i>) |
825 <b>__showModels</b>(<i></i>) |
811 <p> |
826 <p> |
812 Private slot to ask the 'ollama' server for a list of available models with |
827 Private slot to ask the 'ollama' server for a list of available models with |
813 some details. |
828 some details. |
814 </p> |
829 </p> |
815 |
830 |
|
831 <a NAME="OllamaWidget.__showOllamaUrl" ID="OllamaWidget.__showOllamaUrl"></a> |
|
832 <h4>OllamaWidget.__showOllamaUrl</h4> |
|
833 <b>__showOllamaUrl</b>(<i>urlKey</i>) |
|
834 <p> |
|
835 Private method to open an 'ollama' URL given by its configuration key. |
|
836 </p> |
|
837 |
|
838 <dl> |
|
839 |
|
840 <dt><i>urlKey</i> (str)</dt> |
|
841 <dd> |
|
842 URL configuration key |
|
843 </dd> |
|
844 </dl> |
816 <a NAME="OllamaWidget.__showRunningModels" ID="OllamaWidget.__showRunningModels"></a> |
845 <a NAME="OllamaWidget.__showRunningModels" ID="OllamaWidget.__showRunningModels"></a> |
817 <h4>OllamaWidget.__showRunningModels</h4> |
846 <h4>OllamaWidget.__showRunningModels</h4> |
818 <b>__showRunningModels</b>(<i></i>) |
847 <b>__showRunningModels</b>(<i></i>) |
819 <p> |
848 <p> |
820 Private slot to show a dialog with data of the running models. |
849 Private slot to show a dialog with data of the running models. |
848 <p> |
877 <p> |
849 Private slot to set the enabled state of the message line edit and the send |
878 Private slot to set the enabled state of the message line edit and the send |
850 button. |
879 button. |
851 </p> |
880 </p> |
852 |
881 |
|
882 <a NAME="OllamaWidget.__viewChatHistory" ID="OllamaWidget.__viewChatHistory"></a> |
|
883 <h4>OllamaWidget.__viewChatHistory</h4> |
|
884 <b>__viewChatHistory</b>(<i>hid</i>) |
|
885 <p> |
|
886 Private slot to show the chat history in a separate window. |
|
887 </p> |
|
888 |
|
889 <dl> |
|
890 |
|
891 <dt><i>hid</i> (str)</dt> |
|
892 <dd> |
|
893 ID of the history to be shown |
|
894 </dd> |
|
895 </dl> |
853 <a NAME="OllamaWidget.clearHistory" ID="OllamaWidget.clearHistory"></a> |
896 <a NAME="OllamaWidget.clearHistory" ID="OllamaWidget.clearHistory"></a> |
854 <h4>OllamaWidget.clearHistory</h4> |
897 <h4>OllamaWidget.clearHistory</h4> |
855 <b>clearHistory</b>(<i></i>) |
898 <b>clearHistory</b>(<i></i>) |
856 <p> |
899 <p> |
857 Public method to clear the history entries and close all chats. |
900 Public method to clear the history entries and close all chats. |