Home
last modified time | relevance | path

Searched refs:embedding (Results 1 – 25 of 34) sorted by path

12

/plugin/aichat/
H A DChunk.php16 * @param float[] $embedding
24 protected $embedding,
95 return $this->embedding;
99 * @param float[] $embedding
101 public function setEmbedding($embedding): void
103 $this->embedding = $embedding;
186 $data['embedding'],
199 'embedding' => $this->embedding,
14 protected $embedding; global() variable in dokuwiki\\plugin\\aichat\\Chunk
27 __construct($page, $id, $text, $embedding, $created = '', $score = 0) global() argument
96 setEmbedding($embedding) global() argument
[all...]
H A DEmbeddings.php18 * Pages are split into chunks of 1000 tokens each. For each chunk the embedding vector is fetched from
114 floor($this->embedModel->getMaxInputTokenLength() * 0.9), // only use 90% of the embedding model to be safe
165 * Split the given page, fetch embedding vectors and return Chunks
207 $embedding = $this->embedModel->getEmbedding($part);
211 'Failed to get embedding for chunk of page {page}: {msg}',
217 $chunkList[] = new Chunk($page, $firstChunkID, $part, $embedding);
/plugin/aichat/Storage/
H A DSQLiteStorage.php55 json_decode((string) $record['embedding'], true, 512, JSON_THROW_ON_ERROR),
92 'embedding' => json_encode($chunk->getEmbedding(), JSON_THROW_ON_ERROR),
130 json_decode((string) $record['embedding'], true, 512, JSON_THROW_ON_ERROR),
148 'SELECT *, COSIM(?, embedding) AS similarity
163 json_decode((string) $record['embedding'], true, 512, JSON_THROW_ON_ERROR),
197 * @param string $embedding JSON encoded vector array
200 public function sqliteCosineSimilarityCallback($query, $embedding)
204 json_decode($embedding, true, 512, JSON_THROW_ON_ERROR)
214 * @param float[] $embedding The normalized vector of the chunk
217 protected function cosineSimilarity($queryVector, $embedding)
134 sqliteCosineSimilarityCallback($query, $embedding) global() argument
147 cosineSimilarity($queryVector, $embedding) global() argument
[all...]
/plugin/aichat/db/
H A Dupdate0001.sql5 embedding BLOB NOT NULL, field
/plugin/codemirror/dist/
H A Dscripts.min.js.map1embedding direction.\n for (var i$6 = 0; i$6 < len; ++i$6) {\n if (isNeutral.test(type…
/plugin/codeprettify/code-prettify/
H A DCHANGES.md51 * Support for `nocode` spans to allow embedding of line numbers and code
H A DREADME.md114 You may also use the [HTML 5][3] convention of embedding a `<code>` element
/plugin/command/ext/
H A Dabstract.php14 function getCachedData($embedding, $params, $paramHash, $content, argument
31 if($embedding == 'block')
H A Ddt.php14 function getCachedData($embedding, $params, $paramHash, $content, argument
67 if($embedding == 'block')
/plugin/command/inc/
H A Dembedding.php117 $embedding = $this->getEmbeddingType();
119 '$p, $pH, $c, &$e', '"'.$embedding.'", $p, $pH, $c, $e');
154 $embedding = $this->getEmbeddingType();
156 '$c, &$r, &$e', '"'.$embedding.'", $c, $r, $e');
H A Dextension.php69 * @param string $embedding 'inline' or 'block'
99 function getCachedData($embedding, $params, $paramHash, $content, argument
119 * @param string $embedding 'inline' or 'block'
139 function runCommand($embedding, $cachedData, &$renderer, argument
/plugin/dirtylittlehelper/mermaid/editor/docs/
H A D2.2.js.map1embedding, isolate, or override established by the box. Note: for HTML content use the 'dir' attri…
H A D3.3.js.map1embedding page, it is **strongly discouraged** to use both `allow-scripts` and `allow-same-origin`…
H A Dbundle.js.map1embedding\n return new MonarchLineState(stack, embeddedModeData);\n }\n i…
/plugin/embeddedphp/
H A Dplugin.info.txt6 desc Allows embedding PHP code on wiki pages
/plugin/explorertree/
H A Dplugin.info.txt6 desc DokuWiki helper for embedding NS/page explorer to a plugin
/plugin/farm/install/animaltemplate/data/pages/wiki/
H A Dsyntax.txt406 **Please Note**: HTML and PHP embedding is disabled by default in the configuration. If disabled, t…
/plugin/farmer/_animal/data/pages/wiki/
H A Dsyntax.txt452 **Please Note**: HTML and PHP embedding is disabled by default in the configuration. If disabled, the code is displayed instead of executed.
/plugin/findologicxmlexport/vendor/hoa/stream/
H A DREADME.md519 the `Hoa\Stream\Composite` abstract class), i.e. streams embedding
/plugin/findologicxmlexport/vendor/twig/twig/doc/
H A Dtemplates.rst326 This behavior depends on the application embedding Twig.
/plugin/flowplay2/flowplayer/
H A DREADME.txt4 * Sample HTML files + JavaScript for embedding the players are in the html directory.
389 - Added a new view that shows the HTML code for embedding the video in blogs etc.
403 - The player now dynamically resizes itself if the size is changed in the embedding HTML. This
411 Fixed the embedding feature so that the displayed code works in MySpace.
/plugin/flowplay2/flowplayer/html/
H A Dflashembed.min.js_0.262 * flashembed 0.26. Adobe Flash embedding script
/plugin/flowplayer/player/
H A DREADME.txt197 - fixed event dispatching when embedding flowplayer without flowplayer.js (=without playlist config…
378 - Now allows the embedding HTML to script the player even if the player is loaded from another doma…
/plugin/fontface/
H A Dinstall_fonts.txt4 The settings depend on the embedding technique you use.
/plugin/gist/
H A Dgist.php11 function getCachedData($embedding, $params, $paramHash, $content, &$errorMessage) argument

12