History log of /plugin/aichat/Storage/ (Results 1 – 25 of 31)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
31a7887612-Mar-2025 Andreas Gohr <andi@splitbrain.org>

sqlite: avoid warnings on too short vectors

This should not happen in the real world. But when embeddings were
created with a shorter vector model than the model that is used to
embed the query, the

sqlite: avoid warnings on too short vectors

This should not happen in the real world. But when embeddings were
created with a shorter vector model than the model that is used to
embed the query, the cosineSimilarity method threw a whole bunch of
warnings. We now stop the comparison at the vector length.

In the real world the same model for embeddings and the query should be
used, results are unpredictable otherwise. So this is mostly a cosmetic
change for messed up states during development.

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.


/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/EmbeddingModel.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
AbstractStorage.php
ChromaStorage.php
PineconeStorage.php
QdrantStorage.php
SQLiteStorage.php
/plugin/aichat/cli.php
/plugin/aichat/cli/dev.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/question.prompt
/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
/plugin/aichat/script/AIChatChat.js
/plugin/aichat/syntax/chat.php
/plugin/aichat/syntax/ignore.php
8502e30122-Jul-2024 Andreas Gohr <andi@splitbrain.org>

retry failed QDrant queries

hosted qdrant seems to be a bit unreliable. retrying might help.

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

auto codestyle cleanup

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

auto style fixes

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

emit the INDEXER_PAGE_ADD event

This allows plugins that add data to the fulltext index to add the same
data to the embeddings. This improves embedding searches with struct
data for example.

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

make threshold configurable

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

automatic stylefixes

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

better JSON exception handling in storages

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

do not hardcode dimensions in qdrant storage

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

fix syntax error in qdrant storage

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

correctly use storage setting

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

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

Pinecone fixes

* should fix #12
* correctly handle JSON decoding errors
* fix empty filter requests
* match renamed API fields

4c0099a808-Nov-2023 Andreas Gohr <andi@splitbrain.org>

Added Qdrant Storage

441edf8408-Nov-2023 Andreas Gohr <andi@splitbrain.org>

fixed overlong lines

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

�� Automatic code style fixes

5e6dd16e08-Nov-2023 Andreas Gohr <andi@splitbrain.org>

Added ChromaDB vector storage support

f8d5ae0113-Sep-2023 Andreas Gohr <andi@splitbrain.org>

codesniffer cleanups

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

�� Automatic code style fixes

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

generate clusters only if more than 3 clusters would be created

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

optionally search one language only

8c8b7ba616-Aug-2023 Andreas Gohr <andi@splitbrain.org>

Added dumping of TSV files to SQLite store

This allows visualizing the embed vectors

3379af0915-Aug-2023 Andreas Gohr <andi@splitbrain.org>

use a k-means based cluster approach to speed up similarity searches

35555bac15-Aug-2023 Andreas Gohr <andi@splitbrain.org>

simplify cosine distance calculation

Since all OpenAI vectors are normalized, only the dotproduct needs to be
calculated for the distance. This saves a couple of floating point ops
per chunk, but do

simplify cosine distance calculation

Since all OpenAI vectors are normalized, only the dotproduct needs to be
calculated for the distance. This saves a couple of floating point ops
per chunk, but doesn't make a huge difference overall.

show more ...

12