Open diondetterer opened 1 year ago
@diondetterer Can you please send an example or the goals you tried that we can look into? I have seen this happen but its not too often.
agent.goals = [ "Read a text file containing the introduction", "Write a summary of the introduction" ]
PROGRESS: - None
NEXT_COMMAND: read_from_file, Args: {'file': 'path/to/introduction.txt'}
Execute? (Y/N/Y:n to execute n steps continuously): n Enter feedback (Why not execute the command?): the file is introduction.txt ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── REASONING: I will read the file and save the content to a variable for further processing.
PLAN: Read the introduction file Save the content to a variable Summarize the content
PROGRESS: - None
NEXT_COMMAND: read_from_file, Args: {'file': 'introduction.txt'}
Execute? (Y/N/Y:n to execute n steps continuously): y SYSTEM: Executing command: read_from_file SYSTEM: read_from_file output: {'content': ''} ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── RecGPT:
REASONING:
PLAN:
PROGRESS: I was unable to read the introduction file. I will ask the user for the path to the file
SPEAK: (voice)
NEXT_COMMAND: ask_user, Args: {'message': 'Please provide the full path to the introduction file:'}
Execute? (Y/N/Y:n to execute n steps continuously): y SYSTEM: Executing command: ask_user Please provide the full path to the introduction file:: D:\LoopGPT\paper\introduction.txt SYSTEM: ask_user output: {'response': 'D:\LoopGPT\paper\introduction.txt'} ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── PLAN: Read the introduction file Summarize its content
PROGRESS: I have the path to the introduction file. Now I will read the file and summarize its content.
NEXT_COMMAND: read_from_file, Args: {'file': 'D:\LoopGPT\paper\introduction.txt'}
Execute? (Y/N/Y:n to execute n steps continuously): y SYSTEM: Executing command: read_from_file SYSTEM: read_from_file output: {'content': ''} ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── PROGRESS: I was unable to read the introduction file from the previous path. I will ask the user again for the correct path to the file
NEXT_COMMAND: ask_user, Args: {'message': 'Please provide the full path to the introduction file:'}
On Tue, May 2, 2023 at 7:05 AM Fayaz Rahman @.***> wrote:
@diondetterer https://github.com/diondetterer Can you please send an example or the goals you tried that we can look into? I have seen this happen but its not too often.
— Reply to this email directly, view it on GitHub https://github.com/farizrahman4u/loopgpt/issues/32#issuecomment-1530267941, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMBXK4JPBLJZ6SCKNJGM373XEAQR3ANCNFSM6AAAAAAXR6L27M . You are receiving this because you were mentioned.Message ID: @.***>
Just tried same example and it works for me, can you confirm you are running your terminal in the same folder as "introduction.txt"?
Yes, I am.
On Tue, May 2, 2023 at 8:14 PM Fayaz Rahman @.***> wrote:
Just tried same example and it works for me, can you confirm you are running your terminal in the same folder as "introduction.txt"?
— Reply to this email directly, view it on GitHub https://github.com/farizrahman4u/loopgpt/issues/32#issuecomment-1531220626, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMBXK4OMYSM3SAPM2M5Z7QDXEDM7BANCNFSM6AAAAAAXR6L27M . You are receiving this because you were mentioned.Message ID: @.***>
When I ask LoopGPT to read the contents of a text file, it will almost always complain that the file is empty.