diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2024-08-05 14:28:28 +0200 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2024-08-05 14:29:06 +0200 |
commit | 2f4accff3ecb6b5cf696ec403411fa30cc200832 (patch) | |
tree | cc249638e2dcf8c0f41aa1524105b21c17f48bfa /rag | |
parent | cced84ad56dd986673b9d3cb466d1f0b2561b65d (diff) |
Refactor
Diffstat (limited to 'rag')
-rw-r--r-- | rag/cli.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -71,8 +71,8 @@ def rag(client: str, verbose: int): rag.add_message(rag.bot, response) - show_context = input("Display context? [y/n] ").lower() == "y" - print("\n\n") + show_context = input("\nDisplay context? [y/n] ").lower() == "y" + print("\n") if show_context: for i, doc in enumerate(prompt.documents): print(f"### Document {i}") |