mirror of
https://github.com/ParisNeo/lollms.git
synced 2024-12-18 20:27:58 +00:00
updated
This commit is contained in:
parent
c224bcb35d
commit
20c9e68ac8
@ -28,7 +28,7 @@ class SkillsLibrary:
|
||||
|
||||
else:
|
||||
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)
|
||||
ASCIIColors.green("Vecorizer ready")
|
||||
|
@ -869,7 +869,10 @@ Don't forget encapsulate the code inside a html code tag. This is mandatory.
|
||||
else:
|
||||
return code
|
||||
else:
|
||||
return None
|
||||
if return_full_generated_code:
|
||||
return None, None
|
||||
else:
|
||||
return None
|
||||
|
||||
|
||||
def generate_text(
|
||||
|
Loading…
Reference in New Issue
Block a user