add BaseChatModel class

This commit is contained in:
Henry
2023-05-21 11:45:50 +01:00
parent a80492e4c4
commit 5b27339bc2
@@ -20,7 +20,7 @@ class ChatLocalAI_ChatModels implements INode {
this.icon = 'localai.png' this.icon = 'localai.png'
this.category = 'Chat Models' this.category = 'Chat Models'
this.description = 'Use local LLMs like llama.cpp, gpt4all using LocalAI' this.description = 'Use local LLMs like llama.cpp, gpt4all using LocalAI'
this.baseClasses = [this.type, ...getBaseClasses(OpenAIChat)] this.baseClasses = [this.type, 'BaseChatModel', ...getBaseClasses(OpenAIChat)]
this.inputs = [ this.inputs = [
{ {
label: 'Base Path', label: 'Base Path',