mirror of
https://github.com/lightbroker/llmsecops-research.git
synced 2026-09-26 19:41:59 +02:00
adjust assertions for test 3
This commit is contained in:
@@ -35,10 +35,10 @@ class RetrievalAugmentedGenerationGuidelinesService(
|
||||
split_docs = text_splitter.split_documents(data)
|
||||
|
||||
# TODO: log?
|
||||
i = 1
|
||||
for doc in split_docs:
|
||||
print(f'{i}: {doc.page_content}\n\n')
|
||||
i += 1
|
||||
# i = 1
|
||||
# for doc in split_docs:
|
||||
# print(f'{i}: {doc.page_content}\n\n')
|
||||
# i += 1
|
||||
|
||||
# create FAISS vector store from chunks
|
||||
vectorstore = FAISS.from_documents(split_docs, self.embedding_model.embeddings)
|
||||
|
||||
Reference in New Issue
Block a user