OllamaInterface/Documentation/Source/Plugin_AI_Ollama.OllamaInterface.OllamaHistoryWidget.html

changeset 44
ef9a85b8768a
parent 33
acc362920670
child 68
ca2e671f894e
equal deleted inserted replaced
43:cd85a7eed7f7 44:ef9a85b8768a
134 </table> 134 </table>
135 135
136 136
137 <a NAME="OllamaHistoryWidget.__init__" ID="OllamaHistoryWidget.__init__"></a> 137 <a NAME="OllamaHistoryWidget.__init__" ID="OllamaHistoryWidget.__init__"></a>
138 <h4>OllamaHistoryWidget (Constructor)</h4> 138 <h4>OllamaHistoryWidget (Constructor)</h4>
139 <b>OllamaHistoryWidget</b>(<i>title, model, jsonStr=None, parent=None</i>) 139 <b>OllamaHistoryWidget</b>(<i>title, model, mainWidget, jsonStr=None, parent=None</i>)
140 <p> 140 <p>
141 Constructor 141 Constructor
142 </p> 142 </p>
143 143
144 <dl> 144 <dl>
149 </dd> 149 </dd>
150 <dt><i>model</i> (str)</dt> 150 <dt><i>model</i> (str)</dt>
151 <dd> 151 <dd>
152 name of the model used for the chat 152 name of the model used for the chat
153 </dd> 153 </dd>
154 <dt><i>mainWidget</i> (OllamaWidget)</dt>
155 <dd>
156 reference to the Ollama main widget
157 </dd>
154 <dt><i>jsonStr</i> (str (optional))</dt> 158 <dt><i>jsonStr</i> (str (optional))</dt>
155 <dd> 159 <dd>
156 string containing JSON serialize chat history data 160 string containing JSON serialized chat history data
157 (defaults to None) 161 (defaults to None)
158 </dd> 162 </dd>
159 <dt><i>parent</i> (QWidget (optional))</dt> 163 <dt><i>parent</i> (QWidget (optional))</dt>
160 <dd> 164 <dd>
161 reference to the parent widget (defaults to None) 165 reference to the parent widget (defaults to None)

eric ide

mercurial