Add NomicAI for vectorization (#1922)

* Crudely add NomicAi for vectorization

* Move NomicAI to its own endpoint, properly handle API key

* Adjust clear button html

* Remove leftover nomicai http header code

* Revert changes to openai-vectors.js

* Fix UI issues

* Revert change to settings, fix UI

---------

Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
This commit is contained in:
Kristian Schlikow
2024-03-12 20:10:25 +01:00
committed by GitHub
parent 700c20d441
commit 44a7dd3d74
6 changed files with 115 additions and 5 deletions

View File

@@ -32,6 +32,7 @@ const SECRET_KEYS = {
OOBA: 'api_key_ooba',
INFERMATICAI: 'api_key_infermaticai',
DREAMGEN: 'api_key_dreamgen',
NOMICAI: 'api_key_nomicai',
};
// These are the keys that are safe to expose, even if allowKeysExposure is false