Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Knowledge - Logs get truncated and there are no log messages when ingestion of multiple files are in progress #515

Open
sangee2004 opened this issue Sep 13, 2024 · 0 comments
Labels
bug Something isn't working knowledge

Comments

@sangee2004
Copy link

Electron build - d27f9f6f9

Steps to reproduce the problem:

  1. Create an assistant and add all demo Knowledge files (500+ files)

Notice that when ingestion is in progress , nothing gets written to the log files.

Only when ingestion of all the files are complete , log messages relating to the tool call appear in the logs.

Also when the log files are very large , there is truncation in the logs:

Last part of the logs indicating truncation:

    '2024/09/13 13:12:23 INFO Ingested document filename=Form_1695148496289.pdf count=3 absolute_path="/Users/sangeethahariharan/Library/Application Support/acorn/Acorn/workspace/knowledge/script_data/940/data/local/Form_1695148496289.pdf"\n' +
    '2024/09/13 13:12:23 INFO Ingested document filename="Form 6765 - Acorn Labs.pdf" count=6 absolute_path="/Users/sangeethahariharan/Library/Application Support/acorn/Acorn/workspace/knowledge/script_data/940/data/local/Form 6765 - Acorn Labs.pdf"\n' +
    '2024/09/13 13:12:23 INFO Ingested document filename=From_BDO_Please_DocuSign_MSASOW_for_Acorn_L.pdf count=40 absolute_path="/Users/sangeethahariharan/Library/Application Support/acorn/Acorn/workspace/knowledge/script_data/940/data/local/From_BDO_Please_DocuSign_MSASOW_for_Acorn_L.pdf"\n' +
    '2024/09/13 13:12:23 INFO Ingested document filename="Form W-9 (Rev.pdf" count=84 absolute_path="/Users/sangeethahariharan/Library/Application Support/acorn/Acorn/workspace/knowledge/script_data/940/data/local/Form W-9 (Rev.pdf"\n' +
    '2024/09/13 13:12:23 INFO Ingested document filename="EU Statement of Grant of Protection ACORN.pdf" count=1 absolute_path="/Users/sangeethahariharan/Library/Application Support/acorn/Acorn/workspace/knowledge/script_data/940/data/local/EU Statement of Grant of Protection ACORN.pdf"\n' +
    '2024/09/13 13:12:23 INFO Ingested document filename=Invoice_INV54412.pdf count=1 absolute_path="/Users/sangeethahariharan/Library/Application Support/acorn/Acorn/workspace/knowledge/script_data/940/data/local/Invoice_INV54412.pdf"\n' +
    '2024/09/13 13:12:23 INFO Ingested document filename="Microsoft Payment Receipt.pdf" count=2 absolute_path="/Users/sangeethahariharan/Library/Application Support/acorn/Acorn/workspace/knowledge/script_data/940/data/local/Microsoft Payment Receipt.pdf"\n' +
    '2024/09/13 13:12:23 INFO Ingested document filename=Invoice27390-1.pdf count=2 absolute_path="/Users/sangeethahariharan/Library/Application Support/acorn/Acorn/workspace/knowledge/script_data/940/data/local/Invoice27390-1.pdf"\n' +
    '2024/09/13 13:12:23 INFO Ingested'... 282774 more characters,
  digest: '3311420815'

Expected Behavior:
Log files should be presented in acorn.log as and when ingestion of files succeed.
There should be no truncation in the knowledge tool log files when they get written to acorn log files.

@sangee2004 sangee2004 added bug Something isn't working knowledge labels Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working knowledge
Projects
None yet
Development

No branches or pull requests

1 participant