Searched refs:chatModel (Results 1 – 3 of 3) sorted by relevance
13 public $chatModel; variable in dokuwiki\\plugin\\aichat\\ModelFactory35 $this->chatModel = null;61 if ($this->chatModel instanceof ChatInterface) {62 return $this->chatModel;64 $this->chatModel = $this->loadModel('chat', $this->config['chatmodel']);65 $this->chatModel->setDebug($this->debug);66 return $this->chatModel;
27 protected $chatModel; variable in dokuwiki\\plugin\\aichat\\Embeddings53 * @param ChatInterface $chatModel59 ChatInterface $chatModel, argument65 $this->chatModel = $chatModel;138 …floor($this->chatModel->getMaxInputTokenLength() / 4), // be able to fit 4 chunks into the max inp…284 ($this->chatModel->getMaxInputTokenLength() / $this->getChunkSize()),310 … if ($size + $chunkSize > $this->chatModel->getMaxInputTokenLength()) break; // we have enough
71 $this->helper->factory->chatModel = $model['instance'];