mirror of
https://github.com/ParisNeo/lollms.git
synced 2024-12-24 06:46:40 +00:00
updated
This commit is contained in:
parent
c224bcb35d
commit
20c9e68ac8
@ -28,7 +28,7 @@ class SkillsLibrary:
|
|||||||
|
|
||||||
else:
|
else:
|
||||||
from lollmsvectordb.lollms_vectorizers.semantic_vectorizer import SemanticVectorizer
|
from lollmsvectordb.lollms_vectorizers.semantic_vectorizer import SemanticVectorizer
|
||||||
v = SemanticVectorizer("BAAI/bge-m3")
|
v = SemanticVectorizer(self.config.rag_vectorizer_model)
|
||||||
|
|
||||||
self.vectorizer = VectorDatabase("", v, TikTokenTokenizer(),chunk_size, overlap, n_neighbors)
|
self.vectorizer = VectorDatabase("", v, TikTokenTokenizer(),chunk_size, overlap, n_neighbors)
|
||||||
ASCIIColors.green("Vecorizer ready")
|
ASCIIColors.green("Vecorizer ready")
|
||||||
|
@ -868,6 +868,9 @@ Don't forget encapsulate the code inside a html code tag. This is mandatory.
|
|||||||
return code, response_full
|
return code, response_full
|
||||||
else:
|
else:
|
||||||
return code
|
return code
|
||||||
|
else:
|
||||||
|
if return_full_generated_code:
|
||||||
|
return None, None
|
||||||
else:
|
else:
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user