mirror of
https://github.com/ParisNeo/lollms.git
synced 2025-01-07 05:08:43 +00:00
Update skills_database.py
This commit is contained in:
parent
f27b2ea24f
commit
3a277a282f
@ -23,7 +23,7 @@ class SkillsLibrary:
|
|||||||
v = OpenAIVectorizer()
|
v = OpenAIVectorizer()
|
||||||
elif self.config.rag_vectorizer == "ollama":
|
elif self.config.rag_vectorizer == "ollama":
|
||||||
from lollmsvectordb.lollms_vectorizers.ollama_vectorizer import OllamaVectorizer
|
from lollmsvectordb.lollms_vectorizers.ollama_vectorizer import OllamaVectorizer
|
||||||
v = OllamaVectorizer()
|
v = OllamaVectorizer(self.config.rag_vectorizer_model, self.config.rag_service_url)
|
||||||
|
|
||||||
else:
|
else:
|
||||||
from lollmsvectordb.lollms_vectorizers.semantic_vectorizer import SemanticVectorizer
|
from lollmsvectordb.lollms_vectorizers.semantic_vectorizer import SemanticVectorizer
|
||||||
|
Loading…
Reference in New Issue
Block a user