Home
last modified time | relevance | path

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

/plugin/aichat/
H A DEmbeddings.php134 …$tokenlimit = min($this->embedModel->getMaxInputTokenLength(), $this->chatModel->getMaxInputTokenL…
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;
412 $tokenlimit = $limits ? $this->chatModel->getMaxInputTokenLength() : 0;
H A Dhelper.php288 $remainingContext = $model->getMaxInputTokenLength(); // might be 0
/plugin/aichat/Model/
H A DModelInterface.php55 public function getMaxInputTokenLength(): int; function
H A DAbstractModel.php149 public function getMaxInputTokenLength(): int function in dokuwiki\\plugin\\aichat\\Model\\AbstractModel
/plugin/aichat/Model/Ollama/
H A DEmbeddingModel.php16 'num_ctx' => $this->getMaxInputTokenLength() ?: 512,
H A DChatModel.php17 'num_ctx' => $this->getMaxInputTokenLength() ?: 512