Home
last modified time | relevance | path

Searched refs:getMaxInputTokenLength (Results 1 – 6 of 6) sorted by relevance

/plugin/aichat/
DEmbeddings.php134 $tokenlimit = $this->chatModel->getMaxInputTokenLength();
141 …floor($this->chatModel->getMaxInputTokenLength() / 4), // be able to fit 4 chunks into the max inp…
142 …floor($this->embedModel->getMaxInputTokenLength() * 0.9), // only use 90% of the embedding model t…
300 $tokenlimit = $limits ? $this->chatModel->getMaxInputTokenLength() : 0;
408 $tokenlimit = $limits ? $this->chatModel->getMaxInputTokenLength() : 0;
Dhelper.php287 $remainingContext = $model->getMaxInputTokenLength(); // might be 0
/plugin/aichat/Model/
DModelInterface.php55 public function getMaxInputTokenLength(): int; function
DAbstractModel.php149 public function getMaxInputTokenLength(): int function in dokuwiki\\plugin\\aichat\\Model\\AbstractModel
/plugin/aichat/Model/Ollama/
DEmbeddingModel.php16 'num_ctx' => $this->getMaxInputTokenLength() ?: 512,
DChatModel.php17 'num_ctx' => $this->getMaxInputTokenLength() ?: 512