Searched refs:useContext (Results 1 – 1 of 1) sorted by relevance
| /plugin/dokullm/ |
| H A D | LlmClient.php | 114 public function process($action, $text, $metadata = [], $useContext = true) argument 144 return $this->callAPI($action, $prompt, $metadata, $useContext); 155 … * @param bool $useContext Whether to include template and examples in the context (default: true) 255 … * @param bool $useContext Whether to include template and examples in the context (default: true) 260 … private function callAPI($command, $prompt, $metadata = [], $useContext = true, $useTools = false) argument 267 …if ($useContext && !empty($metadata) && (!empty($metadata['template']) || !empty($metadata['exampl…
|