We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ca026d commit 8031394Copy full SHA for 8031394
ask-titan-with-rag.py
@@ -108,7 +108,7 @@ def main():
108
source_documents = response.get('source_documents')
109
for d in source_documents:
110
logging.info(f"With the following similar content from OpenSearch:\n{d.page_content}\n")
111
- # logging.info(f"vector: {d.metadata}")
+ logging.info(f"Text: {d.metadata['text']}")
112
113
logging.info(f"\nThe answer from Titan: {response.get('result')}")
114
0 commit comments