History log of /plugin/aichat/script/ (Results 1 – 22 of 22)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
72fdb01b28-Oct-2025 Andreas Gohr <gohr@cosmocode.de>

fix double intro message. fixes #44

connectedCallback may run multiple times, because the component is
readded to the dom when the section edit initializes.


/plugin/aichat/Embeddings.php
/plugin/aichat/Model/AbstractModel.php
/plugin/aichat/Model/Anthropic/ChatModel.php
/plugin/aichat/Model/Anthropic/models.json
/plugin/aichat/Model/Gemini/AbstractGeminiModel.php
/plugin/aichat/Model/Gemini/ChatModel.php
/plugin/aichat/Model/Gemini/models.json
/plugin/aichat/Model/Groq/ChatModel.php
/plugin/aichat/Model/Groq/models.json
/plugin/aichat/Model/Mistral/AbstractMistralModel.php
/plugin/aichat/Model/Mistral/models.json
/plugin/aichat/Model/ModelInterface.php
/plugin/aichat/Model/Ollama/AbstractOllama.php
/plugin/aichat/Model/Ollama/ChatModel.php
/plugin/aichat/Model/Ollama/EmbeddingModel.php
/plugin/aichat/Model/Ollama/models.json
/plugin/aichat/Model/OpenAI/AbstractOpenAIModel.php
/plugin/aichat/Model/OpenAI/ChatModel.php
/plugin/aichat/Model/OpenAI/models.json
/plugin/aichat/Model/Reka/ChatModel.php
/plugin/aichat/Model/VoyageAI/EmbeddingModel.php
/plugin/aichat/Model/VoyageAI/models.json
/plugin/aichat/ModelFactory.php
/plugin/aichat/ModelSetting.php
/plugin/aichat/RemoteResponse/Chunk.php
/plugin/aichat/RemoteResponse/LlmReply.php
/plugin/aichat/Storage/AbstractStorage.php
/plugin/aichat/Storage/ChromaStorage.php
/plugin/aichat/Storage/PineconeStorage.php
/plugin/aichat/Storage/QdrantStorage.php
/plugin/aichat/Storage/SQLiteStorage.php
/plugin/aichat/conf/default.php
/plugin/aichat/conf/metadata.php
/plugin/aichat/lang/de/lang.php
/plugin/aichat/lang/en/lang.php
/plugin/aichat/lang/en/settings.php
/plugin/aichat/lang/fr/lang.php
/plugin/aichat/lang/fr/settings.php
/plugin/aichat/lang/ko/lang.php
/plugin/aichat/lang/ko/settings.php
/plugin/aichat/lang/pt-br/lang.php
/plugin/aichat/lang/pt-br/settings.php
/plugin/aichat/plugin.info.txt
/plugin/aichat/remote.php
/plugin/aichat/renderer.php
AIChatChat.js
/plugin/aichat/syntax/chat.php
/plugin/aichat/syntax/ignore.php
7a329d8a01-Apr-2025 Andreas Gohr <andi@splitbrain.org>

keep page context enabled until reload

This disables it when you change the page

1eaa955f01-Apr-2025 Andreas Gohr <andi@splitbrain.org>

fix overflow of <pre> tags in answers

ed47fd8727-Mar-2025 Andreas Gohr <andi@splitbrain.org>

new UI with option to chat about the current page


/plugin/aichat/Embeddings.php
/plugin/aichat/Model/AbstractModel.php
/plugin/aichat/Model/Anthropic/ChatModel.php
/plugin/aichat/Model/Anthropic/models.json
/plugin/aichat/Model/Gemini/AbstractGeminiModel.php
/plugin/aichat/Model/Gemini/models.json
/plugin/aichat/Model/Groq/ChatModel.php
/plugin/aichat/Model/Groq/models.json
/plugin/aichat/Model/Mistral/AbstractMistralModel.php
/plugin/aichat/Model/Mistral/models.json
/plugin/aichat/Model/ModelInterface.php
/plugin/aichat/Model/Ollama/AbstractOllama.php
/plugin/aichat/Model/Ollama/ChatModel.php
/plugin/aichat/Model/Ollama/EmbeddingModel.php
/plugin/aichat/Model/Ollama/models.json
/plugin/aichat/Model/OpenAI/AbstractOpenAIModel.php
/plugin/aichat/Model/OpenAI/ChatModel.php
/plugin/aichat/Model/OpenAI/models.json
/plugin/aichat/Model/Reka/ChatModel.php
/plugin/aichat/Model/VoyageAI/EmbeddingModel.php
/plugin/aichat/Model/VoyageAI/models.json
/plugin/aichat/ModelFactory.php
/plugin/aichat/ModelSetting.php
/plugin/aichat/RemoteResponse/Chunk.php
/plugin/aichat/RemoteResponse/LlmReply.php
/plugin/aichat/Storage/AbstractStorage.php
/plugin/aichat/Storage/ChromaStorage.php
/plugin/aichat/Storage/PineconeStorage.php
/plugin/aichat/Storage/QdrantStorage.php
/plugin/aichat/Storage/SQLiteStorage.php
/plugin/aichat/action.php
/plugin/aichat/conf/default.php
/plugin/aichat/conf/metadata.php
/plugin/aichat/helper.php
/plugin/aichat/lang/de/lang.php
/plugin/aichat/lang/en/lang.php
/plugin/aichat/lang/en/settings.php
/plugin/aichat/lang/pt-br/lang.php
/plugin/aichat/lang/pt-br/settings.php
/plugin/aichat/plugin.info.txt
/plugin/aichat/remote.php
/plugin/aichat/renderer.php
AIChatChat.js
/plugin/aichat/syntax/chat.php
/plugin/aichat/syntax/ignore.php
726299cb18-Nov-2024 Eduardo Mozart de Oliveira <2974895+eduardomozart@users.noreply.github.com>

Translate error message

36c4749d19-Jun-2024 Andreas Gohr <andi@splitbrain.org>

do not use synthetic submit event on enter

This didn't work correctly for some reason in Firefox. Instead we
directly call the submit handler

f31e961616-May-2024 Andreas Gohr <andi@splitbrain.org>

focus the user question instead of scrolling to the end

6beed32726-Mar-2024 Andreas Gohr <andi@splitbrain.org>

print score in chat

This makes it easier to tweak the similarity threshold

3d64482325-Mar-2024 Andreas Gohr <andi@splitbrain.org>

animate button on first show

f43684f413-Mar-2024 Andreas Gohr <andi@splitbrain.org>

add send button

Some people said they're not clear how to send messages, so a button was
added. Pressing Enter still works. The entry was changed to a textarea
making longer questions easier. Shift-

add send button

Some people said they're not clear how to send messages, so a button was
added. Pressing Enter still works. The entry was changed to a textarea
making longer questions easier. Shift-Enter can be used to add line
breaks. All button titles are now translatable.

show more ...


/plugin/aichat/.github/workflows/dokuwiki.yml
/plugin/aichat/AIChat.php
/plugin/aichat/Chunk.php
/plugin/aichat/Embeddings.php
/plugin/aichat/Model/AbstractModel.php
/plugin/aichat/Model/OpenAI/GPT35Turbo.php
/plugin/aichat/Model/OpenAI/GPT35Turbo16k.php
/plugin/aichat/Model/OpenAI/GPT4.php
/plugin/aichat/Storage/AbstractStorage.php
/plugin/aichat/Storage/ChromaStorage.php
/plugin/aichat/Storage/PineconeStorage.php
/plugin/aichat/Storage/QdrantStorage.php
/plugin/aichat/Storage/SQLiteStorage.php
/plugin/aichat/_test/GeneralTest.php
/plugin/aichat/action.php
/plugin/aichat/cli.php
/plugin/aichat/composer.json
/plugin/aichat/composer.lock
/plugin/aichat/conf/default.php
/plugin/aichat/conf/metadata.php
/plugin/aichat/db/latest.version
/plugin/aichat/db/update0002.sql
/plugin/aichat/db/update0003.sql
/plugin/aichat/deleted.files
/plugin/aichat/helper.php
/plugin/aichat/lang/de/lang.php
/plugin/aichat/lang/en/lang.php
/plugin/aichat/lang/en/prompt_noanswer.txt
/plugin/aichat/lang/en/prompt_question.txt
/plugin/aichat/lang/en/settings.php
/plugin/aichat/lang/languages.php
/plugin/aichat/plugin.info.txt
AIChatButton.js
AIChatChat.js
/plugin/aichat/syntax/chat.php
/plugin/aichat/syntax/similar.php
/plugin/aichat/vendor/bdelespierre/php-kmeans/.styleci.yml
/plugin/aichat/vendor/bdelespierre/php-kmeans/CHANGELOG.md
/plugin/aichat/vendor/bdelespierre/php-kmeans/CONTRIBUTING.md
/plugin/aichat/vendor/bdelespierre/php-kmeans/LICENSE.md
/plugin/aichat/vendor/bdelespierre/php-kmeans/README.md
/plugin/aichat/vendor/bdelespierre/php-kmeans/composer.json
/plugin/aichat/vendor/bdelespierre/php-kmeans/demo.php
/plugin/aichat/vendor/bdelespierre/php-kmeans/src/KMeans/Cluster.php
/plugin/aichat/vendor/bdelespierre/php-kmeans/src/KMeans/Point.php
/plugin/aichat/vendor/bdelespierre/php-kmeans/src/KMeans/Space.php
/plugin/aichat/vendor/composer/ClassLoader.php
/plugin/aichat/vendor/composer/autoload_namespaces.php
/plugin/aichat/vendor/composer/autoload_static.php
/plugin/aichat/vendor/composer/installed.json
/plugin/aichat/vendor/composer/installed.php
e7d7ef4c14-Aug-2023 Andreas Gohr <andi@splitbrain.org>

reuse link colors when styling chat and buttons

6dd3ce0914-Aug-2023 Andreas Gohr <andi@splitbrain.org>

brainier button icon

3d0065c715-Jun-2023 Andreas Gohr <andi@splitbrain.org>

fix visibility changes in chat dialog

622aa5a815-Jun-2023 Andreas Gohr <andi@splitbrain.org>

added button to reset the conversation

This is needed to start conversing on a new topic

7017fcea14-Jun-2023 Andreas Gohr <andi@splitbrain.org>

parse answers as markdown

0ee3303413-Jun-2023 Andreas Gohr <andi@splitbrain.org>

added float option

343176f913-Jun-2023 Andreas Gohr <andi@splitbrain.org>

fix focus and z-index behavior

98cb11da13-Jun-2023 Andreas Gohr <andi@splitbrain.org>

do not use title on chatbutton element

It's influencing the dialog. A separate attribute that then sets the
title on the start button only makes more sense.

bddd899c11-Jun-2023 Andreas Gohr <andi@splitbrain.org>

fix access of sources

a107768c09-Jun-2023 Andreas Gohr <andi@splitbrain.org>

added fullscreen mode

23cafd9f09-Jun-2023 Andreas Gohr <andi@splitbrain.org>

german translation and more styling adjustments

0337f47f08-Jun-2023 Andreas Gohr <andi@splitbrain.org>

Frontend integration with simple syntax component


/plugin/aichat/.gitattributes
/plugin/aichat/Embeddings.php
/plugin/aichat/LICENSE
/plugin/aichat/OpenAI.php
/plugin/aichat/README
/plugin/aichat/action.php
/plugin/aichat/cli.php
/plugin/aichat/composer.json
/plugin/aichat/composer.lock
/plugin/aichat/conf/default.php
/plugin/aichat/conf/metadata.php
/plugin/aichat/helper.php
/plugin/aichat/lang/en/lang.php
/plugin/aichat/lang/en/prompt_question.txt
/plugin/aichat/lang/en/prompt_rephrase.txt
/plugin/aichat/lang/en/settings.php
/plugin/aichat/plugin.info.txt
/plugin/aichat/script.js
AIChatButton.js
AIChatChat.js
/plugin/aichat/syntax.php
/plugin/aichat/vendor/autoload.php
/plugin/aichat/vendor/composer/ClassLoader.php
/plugin/aichat/vendor/composer/InstalledVersions.php
/plugin/aichat/vendor/composer/LICENSE
/plugin/aichat/vendor/composer/autoload_classmap.php
/plugin/aichat/vendor/composer/autoload_namespaces.php
/plugin/aichat/vendor/composer/autoload_psr4.php
/plugin/aichat/vendor/composer/autoload_real.php
/plugin/aichat/vendor/composer/autoload_static.php
/plugin/aichat/vendor/composer/installed.json
/plugin/aichat/vendor/composer/installed.php
/plugin/aichat/vendor/composer/platform_check.php
/plugin/aichat/vendor/hexogen/kdtree/.editorconfig
/plugin/aichat/vendor/hexogen/kdtree/.github/CODE_OF_CONDUCT.md
/plugin/aichat/vendor/hexogen/kdtree/.github/CONTRIBUTING.md
/plugin/aichat/vendor/hexogen/kdtree/.github/ISSUE_TEMPLATE/bug_report.md
/plugin/aichat/vendor/hexogen/kdtree/.github/ISSUE_TEMPLATE/feature_request.md
/plugin/aichat/vendor/hexogen/kdtree/.github/workflows/tests.yml
/plugin/aichat/vendor/hexogen/kdtree/.styleci.yml
/plugin/aichat/vendor/hexogen/kdtree/CHANGELOG.md
/plugin/aichat/vendor/hexogen/kdtree/LICENSE.md
/plugin/aichat/vendor/hexogen/kdtree/README.md
/plugin/aichat/vendor/hexogen/kdtree/composer.json
/plugin/aichat/vendor/hexogen/kdtree/src/Exception/ValidationException.php
/plugin/aichat/vendor/hexogen/kdtree/src/FSKDTree.php
/plugin/aichat/vendor/hexogen/kdtree/src/FSNode.php
/plugin/aichat/vendor/hexogen/kdtree/src/FSTreePersister.php
/plugin/aichat/vendor/hexogen/kdtree/src/Interfaces/ItemFactoryInterface.php
/plugin/aichat/vendor/hexogen/kdtree/src/Interfaces/ItemInterface.php
/plugin/aichat/vendor/hexogen/kdtree/src/Interfaces/ItemListInterface.php
/plugin/aichat/vendor/hexogen/kdtree/src/Interfaces/KDTreeInterface.php
/plugin/aichat/vendor/hexogen/kdtree/src/Interfaces/NodeInterface.php
/plugin/aichat/vendor/hexogen/kdtree/src/Interfaces/PointInterface.php
/plugin/aichat/vendor/hexogen/kdtree/src/Interfaces/SearchAbstract.php
/plugin/aichat/vendor/hexogen/kdtree/src/Interfaces/TreePersisterInterface.php
/plugin/aichat/vendor/hexogen/kdtree/src/Item.php
/plugin/aichat/vendor/hexogen/kdtree/src/ItemFactory.php
/plugin/aichat/vendor/hexogen/kdtree/src/ItemList.php
/plugin/aichat/vendor/hexogen/kdtree/src/KDTree.php
/plugin/aichat/vendor/hexogen/kdtree/src/NearestSearch.php
/plugin/aichat/vendor/hexogen/kdtree/src/Node.php
/plugin/aichat/vendor/hexogen/kdtree/src/Point.php
/plugin/aichat/vendor/mehrab-wj/tiktoken-php/.editorconfig
/plugin/aichat/vendor/mehrab-wj/tiktoken-php/.github/workflows/php.yml
/plugin/aichat/vendor/mehrab-wj/tiktoken-php/.gitignore
/plugin/aichat/vendor/mehrab-wj/tiktoken-php/.php-cs-fixer.dist.php
/plugin/aichat/vendor/mehrab-wj/tiktoken-php/CHANGELOG.md
/plugin/aichat/vendor/mehrab-wj/tiktoken-php/LICENSE
/plugin/aichat/vendor/mehrab-wj/tiktoken-php/README.md
/plugin/aichat/vendor/mehrab-wj/tiktoken-php/composer.json
/plugin/aichat/vendor/mehrab-wj/tiktoken-php/composer.lock
/plugin/aichat/vendor/mehrab-wj/tiktoken-php/data/characters.json
/plugin/aichat/vendor/mehrab-wj/tiktoken-php/data/encoder.json
/plugin/aichat/vendor/mehrab-wj/tiktoken-php/data/vocab.bpe
/plugin/aichat/vendor/mehrab-wj/tiktoken-php/phpstan.neon
/plugin/aichat/vendor/mehrab-wj/tiktoken-php/rector.php
/plugin/aichat/vendor/mehrab-wj/tiktoken-php/src/Encoder.php
/plugin/aichat/vendor/mehrab-wj/tiktoken-php/tests/EncoderTest.php
/plugin/aichat/vendor/vanderlee/php-sentence/.gitignore
/plugin/aichat/vendor/vanderlee/php-sentence/.scrutinizer.yml
/plugin/aichat/vendor/vanderlee/php-sentence/.travis.yml
/plugin/aichat/vendor/vanderlee/php-sentence/LICENSE
/plugin/aichat/vendor/vanderlee/php-sentence/README.md
/plugin/aichat/vendor/vanderlee/php-sentence/composer.json
/plugin/aichat/vendor/vanderlee/php-sentence/doc/404.html
/plugin/aichat/vendor/vanderlee/php-sentence/doc/class-Sentence.html
/plugin/aichat/vendor/vanderlee/php-sentence/doc/class-SentenceTest.html
/plugin/aichat/vendor/vanderlee/php-sentence/doc/elementlist.js
/plugin/aichat/vendor/vanderlee/php-sentence/doc/function-Sentence_autoloader.html
/plugin/aichat/vendor/vanderlee/php-sentence/doc/index.html
/plugin/aichat/vendor/vanderlee/php-sentence/doc/resources/collapsed.png
/plugin/aichat/vendor/vanderlee/php-sentence/doc/resources/combined.js
/plugin/aichat/vendor/vanderlee/php-sentence/doc/resources/footer.png
/plugin/aichat/vendor/vanderlee/php-sentence/doc/resources/inherit.png
/plugin/aichat/vendor/vanderlee/php-sentence/doc/resources/resize.png
/plugin/aichat/vendor/vanderlee/php-sentence/doc/resources/sort.png
/plugin/aichat/vendor/vanderlee/php-sentence/doc/resources/style.css
/plugin/aichat/vendor/vanderlee/php-sentence/doc/resources/tree-cleaner.png
/plugin/aichat/vendor/vanderlee/php-sentence/doc/resources/tree-hasnext.png
/plugin/aichat/vendor/vanderlee/php-sentence/doc/resources/tree-last.png
/plugin/aichat/vendor/vanderlee/php-sentence/doc/resources/tree-vertical.png
/plugin/aichat/vendor/vanderlee/php-sentence/doc/source-class-Sentence.html
/plugin/aichat/vendor/vanderlee/php-sentence/doc/source-class-SentenceTest.html
/plugin/aichat/vendor/vanderlee/php-sentence/doc/source-function-Sentence_autoloader.html
/plugin/aichat/vendor/vanderlee/php-sentence/index.html
/plugin/aichat/vendor/vanderlee/php-sentence/phpunit.xml
/plugin/aichat/vendor/vanderlee/php-sentence/src/Multibyte.php
/plugin/aichat/vendor/vanderlee/php-sentence/src/Sentence.php
/plugin/aichat/vendor/vanderlee/php-sentence/tests/MultibyteTest.php
/plugin/aichat/vendor/vanderlee/php-sentence/tests/SentenceTest.php
/plugin/aichat/vendor/vanderlee/php-sentence/tests/bootstrap.php