History log of /plugin/aichat/Model/OpenAI/ (Results 1 – 24 of 24)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
7775eee729-Oct-2025 Andreas Gohr <gohr@cosmocode.de>

fix interface handling with generic model

7c3b69cb11-Jun-2025 Andreas Gohr <gohr@cosmocode.de>

refactor HTTP Client initialization

2e22aefb15-Apr-2025 Andreas Gohr <andi@splitbrain.org>

introduce a "Generic" model

This is basically an OpenAI implementation, which then can be reused by
most other providers since they usually implement a somewhat compatible
API. The API URL can be se

introduce a "Generic" model

This is basically an OpenAI implementation, which then can be reused by
most other providers since they usually implement a somewhat compatible
API. The API URL can be set manually so it should be easy to add new
unsupported providers.

show more ...

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

add remote component to ask questions to the bot

The endpoint allows to override model and language settings on demand.

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

Adjust OpenAI API calls. fixes #34

* max_token has been replaced by max_completion_tokens
* temperature setting is not suported by reasoning models

da493c9606-Feb-2025 Andreas Gohr <andi@splitbrain.org>

some model updates

still not 100% uptodate

17dace4d14-Nov-2024 Andreas Gohr <andi@splitbrain.org>

updated model definitions

ae09ced422-Jul-2024 Andreas Gohr <andi@splitbrain.org>

updated model lists

This adds a CLI tool to fetch some model data from @BerriAI/litellm

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

added gpt-4o

f7a068a110-Apr-2024 Andreas Gohr <andi@splitbrain.org>

gpt-4-turbo is no longer in preview

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

added Voyage AI for embeddings

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

added model command to CLI

This prints info about the available models

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

clean up of the config options

Emojis are used to make the different options easier to distinguish

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

added Mistral to the list of models

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

move model configuration into json files

This removes the use of individual classes for each model in favor of
more general client classes that only get a model name passed. The meta
info about pric

move model configuration into json files

This removes the use of individual classes for each model in favor of
more general client classes that only get a model name passed. The meta
info about price and token limits is configured in a json file

show more ...

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

more refactoring on chat and embed model support

* differentiate between input and output tokens
* make use of much larger input contexts

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

first tries with Anthropic

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

Use interfaces for Chat and Embedding classes

This way it's easier to have a base OpenAI class. This also moves much
of the statistics and http handling into the base class making model
implementati

Use interfaces for Chat and Embedding classes

This way it's easier to have a base OpenAI class. This also moves much
of the statistics and http handling into the base class making model
implementations even leaner

show more ...

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

First start on refactoring the class hierarchy

This splits embedding models from chat completion models.

30b9cbc708-Nov-2023 splitbrain <splitbrain@users.noreply.github.com>

�� Automatic code style fixes

7ebc789513-Sep-2023 splitbrain <splitbrain@users.noreply.github.com>

�� Automatic code style fixes


/plugin/aichat/.github/workflows/dokuwiki.yml
/plugin/aichat/AIChat.php
/plugin/aichat/Chunk.php
/plugin/aichat/Embeddings.php
/plugin/aichat/Model/AbstractModel.php
GPT35Turbo.php
GPT35Turbo16k.php
GPT4.php
/plugin/aichat/Storage/AbstractStorage.php
/plugin/aichat/Storage/PineconeStorage.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/en/prompt_question.txt
/plugin/aichat/lang/en/settings.php
/plugin/aichat/lang/languages.php
/plugin/aichat/plugin.info.txt
/plugin/aichat/script/AIChatButton.js
/plugin/aichat/script/AIChatChat.js
/plugin/aichat/style.less
/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
0eeff42007-Aug-2023 Andreas Gohr <andi@splitbrain.org>

support GPT4

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

added helper to quickly check the available models

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

refactoring to make models selectable

This makes it much easier to add new models. Models can now be selected
via the configuration


/plugin/aichat/.gitattributes
/plugin/aichat/Chunk.php
/plugin/aichat/Embeddings.php
/plugin/aichat/LICENSE
/plugin/aichat/Model/AbstractModel.php
GPT35Turbo.php
GPT35Turbo16k.php
/plugin/aichat/README
/plugin/aichat/Storage/AbstractStorage.php
/plugin/aichat/Storage/SQLiteStorage.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/update0001.sql
/plugin/aichat/helper.php
/plugin/aichat/lang/de/lang.php
/plugin/aichat/lang/de/settings.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/prompt_rephrase.txt
/plugin/aichat/lang/en/settings.php
/plugin/aichat/plugin.info.txt
/plugin/aichat/script.js
/plugin/aichat/script/AIChatButton.js
/plugin/aichat/script/AIChatChat.js
/plugin/aichat/style.less
/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/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