minchyeom commited on
Commit
0328eb1
·
1 Parent(s): 38c2166

Implement code changes to enhance functionality and improve performance

Browse files
Files changed (2) hide show
  1. note.pdf +0 -0
  2. run.py +2 -2
note.pdf ADDED
Binary file (71.1 kB). View file
 
run.py CHANGED
@@ -7,12 +7,12 @@ from src.chat import ChatSession
7
 
8
  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"Remove all contents of test.txt and add the text 'Hello, World!' to it.")
13
  # async for resp in chat.chat_stream("Erase the contents of test.txt and write 'Hello, World!' to it."):
14
  # async for resp in chat.chat_stream("Verify that the file test.txt exists and contains the text 'Hello, World!'."):
15
- async for resp in chat.chat_stream("Show me the ls of root directory."):
16
  print("\n>>>", resp)
17
 
18
 
 
7
 
8
  async def _main() -> None:
9
  async with ChatSession(user="demo_user", session="demo_session") as chat:
10
+ # doc_path = chat.upload_document("note.pdf")
11
  # print(f"Document uploaded to VM at: {doc_path}")
12
  # answer = await chat.chat(f"Remove all contents of test.txt and add the text 'Hello, World!' to it.")
13
  # async for resp in chat.chat_stream("Erase the contents of test.txt and write 'Hello, World!' to it."):
14
  # async for resp in chat.chat_stream("Verify that the file test.txt exists and contains the text 'Hello, World!'."):
15
+ async for resp in chat.chat_stream("Inspect the contents of note.pdf and summarize it."):
16
  print("\n>>>", resp)
17
 
18