You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think the existing bootstrap status API is still reasonable, I don't really want the frontend to send a lot of check requests to confirm that each component is working properly after opening the backend management page, as this will result in longer initial page loading times.
I think the existing bootstrap status API is still reasonable, I don't really want the frontend to send a lot of check requests to confirm that each component is working properly after opening the backend management page, as this will result in longer initial page loading times.
This API will not block initial page loading.
In future versions, some core update may not break all Chat Engine or KB configurations (or other components). It will be used for progressive features developments.
Two scenes for this API:
After admin selected chat engine on home page, disable action button until chat engine status passed
JS widgets should wait status check passed to render
Motivation
We need a more effective bootstrap/upgrade procedure for autoflow users.
Design
Provide diagnose and status API for main components:
There are 3 levels of diagnose messages:
Backend
Admin diagnoses API
Client status API
Clients
Chat Engine Diagnoses:
default_llm_not_configured
: When no LLM selected for LLM or FastLLM and there is no configured default LLM.knowledge_base_not_configured
: A message for old datasource (version <= 0.2) users.default_reranker_not_configured
: When no Reranker selected and there is no configured default Reranker.Knowledge Base Diagnoses:
no_datasource
: Knowledge Base has no datasource.default_embedding_model_not_configured
: ...default_llm_not_configured
: ...no_document
: ...The text was updated successfully, but these errors were encountered: