minchyeom commited on
Commit
572053e
·
1 Parent(s): a74f4b0

Update chat prompt in _main function to specify document modification

Browse files
Files changed (1) hide show
  1. run.py +1 -1
run.py CHANGED
@@ -9,7 +9,7 @@ async def _main() -> None:
9
  async with ChatSession(user="demo_user", session="demo_session") as chat:
10
  doc_path = chat.upload_document("test.txt")
11
  print(f"Document uploaded to VM at: {doc_path}")
12
- answer = await chat.chat(f"What's in {doc_path}?")
13
  print("\n>>>", answer)
14
 
15
 
 
9
  async with ChatSession(user="demo_user", session="demo_session") as chat:
10
  doc_path = chat.upload_document("test.txt")
11
  print(f"Document uploaded to VM at: {doc_path}")
12
+ answer = await chat.chat(f"Add a line to {doc_path} saying JavaScript sucks!")
13
  print("\n>>>", answer)
14
 
15