* Add healthcheck route
* Add prom client with basic metrics
* wip: serve metrics on a different port
* exclude server from tsconfig
* latest
* refacto(all): use class & singleton
* refacto(all): use class & singleton
* refacto(all): add request logs
* Make all the env vars dynamic (#1092)
* Add truncate to task model (#1090)
* retry text area height (#1091)
* Make all the env vars dynamic
* only check for db at runtime
* remove secret from build step
* improve dockerfile
* Wrap db in singleton
* add .env.local to dockerignore
* changes to dockerfile
* lint
* aborted generations
* move collections build check
* Use a single dockerfile
* lint
* fixes
* lint
* don't return db during building
* remove dev
---------
Co-authored-by: Victor Muštar <victor.mustar@gmail.com>
* refacto(all): update default metrics port
* fix recursion error
* add version check
* revert vite preview
* Move request logs to debug level and add an env var to filter by log level in d…
Use inference API for embeddings in huggingchat prod (#1037)
* Add embedding models configurable, from both Xenova and TEI
* fix lint and format
* Fix bug in sentenceSimilarity
* Batches for TEI using /info route
* Fix web search disapear when finish searching
* Fix lint and format
* Add more options for better embedding model usage
* Fixing CR issues
* Fix websearch disapear in later PR
* Fix lint
* Fix more minor code CR
* Valiadate embeddingModelName field in model config
* Add embeddingModel into shared conversation
* Fix lint and format
* Add default embedding model, and more readme explanation
* Fix minor embedding model readme detailed
* Update settings.json
* Update README.md
Co-authored-by: Mishig <mishig.davaadorj@coloradocollege.edu>
* Update README.md
Co-authored-by: Mishig <mishig.davaadorj@coloradocollege.edu>
* Apply suggestions from code review
Co-authored-by: Mishig <mishig.davaadorj@coloradocollege.edu>
* Resolved more issues
* lint
* Fix more issues
* Fix format
* fix small typo
* lint
* fix defaul…