History log of /plugin/aichat/Model/ChatInterface.php (Results 1 – 4 of 4)
Revision Date Author Comments
# dce0dee5 19-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 ...


# 34a1c478 19-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


# 4373d2bf 18-Mar-2024 Andreas Gohr <andi@splitbrain.org>

stricter interface inheritance

This ensures we have the apropriate methods when a class does not
inherit from AbstractModel.


# 294a9eaf 18-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 ...