Open-source LLM knowledge platform: turn raw documents into a queryable RAG, an autonomous reasoning agent, and a self-maintaining Wiki.
Go agentagenticaichatbotdsh-pluginembeddingsevaluationgenerative-aigolangknowledge-basellmmulti-tenantollamaopenaiquestion-answeringragrerankingsemantic-searchvector-searchwiki
export type ModelEditorSource = 'local' | 'remote'
export type ModelEditorType = 'chat' | 'embedding' | 'rerank' | 'vllm' | 'asr'
export function shouldShowOllamaUnavailableTip(
source: ModelEditorSource,
modelType: ModelEditorType,
ollamaServiceStatus: boolean | null,
): boolean {
return source === 'local' && modelType !== 'rerank' && ollamaServiceStatus === false
}