Home
last modified time | relevance | path

Searched refs:chatModel (Results 1 – 3 of 3) sorted by relevance

/plugin/aichat/
DModelFactory.php13 public $chatModel; variable in dokuwiki\\plugin\\aichat\\ModelFactory
35 $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;
DEmbeddings.php27 protected $chatModel; variable in dokuwiki\\plugin\\aichat\\Embeddings
53 * @param ChatInterface $chatModel
59 ChatInterface $chatModel, argument
65 $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
/plugin/aichat/cli/
Dsimulate.php71 $this->helper->factory->chatModel = $model['instance'];