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.php24 protected $chatModel; variable in dokuwiki\\plugin\\aichat\\Embeddings
50 * @param ChatInterface $chatModel
56 ChatInterface $chatModel, argument
62 $this->chatModel = $chatModel;
134 $tokenlimit = $this->chatModel->getMaxInputTokenLength();
141 …floor($this->chatModel->getMaxInputTokenLength() / 4), // be able to fit 4 chunks into the max inp…
300 $tokenlimit = $limits ? $this->chatModel->getMaxInputTokenLength() : 0;
408 $tokenlimit = $limits ? $this->chatModel->getMaxInputTokenLength() : 0;
/plugin/aichat/cli/
Dsimulate.php71 $this->helper->factory->chatModel = $model['instance'];