FUTFUT / retrieve_docs.py
mintaeng's picture
Upload 5 files
f233426 verified
raw
history blame contribute delete
220 Bytes
def print_search_results(retrievers, query):
print(f"Query: {query}")
for i in range(len(retrievers.invoke(query))):
print(f'찾은 문장{i+1}:',
retrievers.invoke(query)[i].page_content)