Skip to content

Commit 8031394

Browse files
author
omerh
committed
Printing vector text
1 parent 4ca026d commit 8031394

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ask-titan-with-rag.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ def main():
108108
source_documents = response.get('source_documents')
109109
for d in source_documents:
110110
logging.info(f"With the following similar content from OpenSearch:\n{d.page_content}\n")
111-
# logging.info(f"vector: {d.metadata}")
111+
logging.info(f"Text: {d.metadata['text']}")
112112

113113
logging.info(f"\nThe answer from Titan: {response.get('result')}")
114114

0 commit comments

Comments
 (0)