diff -r 3c2bcbf7eeaf -r ca2e671f894e OllamaInterface/Documentation/Source/Plugin_AI_Ollama.OllamaInterface.OllamaChatWidget.html --- a/OllamaInterface/Documentation/Source/Plugin_AI_Ollama.OllamaInterface.OllamaChatWidget.html Tue Dec 10 15:48:48 2024 +0100 +++ b/OllamaInterface/Documentation/Source/Plugin_AI_Ollama.OllamaInterface.OllamaChatWidget.html Mon Apr 07 18:22:14 2025 +0200 @@ -166,6 +166,10 @@ <td>Private slot to scroll the chat scroll area to the bottom.</td> </tr> <tr> +<td><a href="#OllamaChatWidget.__setHeader">__setHeader</a></td> +<td>Private method to set the header label.</td> +</tr> +<tr> <td><a href="#OllamaChatWidget.addMessage">addMessage</a></td> <td>Public method to add a new message.</td> </tr> @@ -174,6 +178,10 @@ <td>Public method to append a given message to the bottom most message box.</td> </tr> <tr> +<td><a href="#OllamaChatWidget.chatParametersChanged">chatParametersChanged</a></td> +<td>Public slot to handle a change of the chat parameters.</td> +</tr> +<tr> <td><a href="#OllamaChatWidget.clear">clear</a></td> <td>Public method to clear the list of messages.</td> </tr> @@ -226,6 +234,24 @@ Private slot to scroll the chat scroll area to the bottom. </p> +<a NAME="OllamaChatWidget.__setHeader" ID="OllamaChatWidget.__setHeader"></a> +<h4>OllamaChatWidget.__setHeader</h4> +<b>__setHeader</b>(<i>title, model</i>) +<p> + Private method to set the header label. +</p> + +<dl> + +<dt><i>title</i> (str)</dt> +<dd> +chat title +</dd> +<dt><i>model</i> (str)</dt> +<dd> +model of the chat +</dd> +</dl> <a NAME="OllamaChatWidget.addMessage" ID="OllamaChatWidget.addMessage"></a> <h4>OllamaChatWidget.addMessage</h4> <b>addMessage</b>(<i>role, message, scrollToBottom=True</i>) @@ -263,6 +289,28 @@ message text to be appended </dd> </dl> +<a NAME="OllamaChatWidget.chatParametersChanged" ID="OllamaChatWidget.chatParametersChanged"></a> +<h4>OllamaChatWidget.chatParametersChanged</h4> +<b>chatParametersChanged</b>(<i>_hid, title, model</i>) +<p> + Public slot to handle a change of the chat parameters. +</p> + +<dl> + +<dt><i>_hid</i> (str)</dt> +<dd> +history ID (unused) +</dd> +<dt><i>title</i> (str)</dt> +<dd> +new chat title +</dd> +<dt><i>model</i> (str)</dt> +<dd> +new chat model +</dd> +</dl> <a NAME="OllamaChatWidget.clear" ID="OllamaChatWidget.clear"></a> <h4>OllamaChatWidget.clear</h4> <b>clear</b>(<i></i>) @@ -280,13 +328,13 @@ <dl> <dt>Return:</dt> <dd> -DESCRIPTION +history ID of the chat </dd> </dl> <dl> <dt>Return Type:</dt> <dd> -TYPE +str </dd> </dl> <a NAME="OllamaChatWidget.getRecentMessage" ID="OllamaChatWidget.getRecentMessage"></a>