llm-graph-builder icon indicating copy to clipboard operation
llm-graph-builder copied to clipboard

backend and frontend not communicating

Open sud-quantum opened this issue 5 months ago • 1 comments

================== First issue building docker ==================

--> I clone the repo in a VM --> created the .env file in both the frontend and backend --> used " docker compose up --build " to build the app --> successfully built --> the UI aka frontend loaded successfully --> trying to connect to the DB using URI and password --> $$$$$$$ Network error is coming i think the backend and frontend are not communicating


================== Second issue running only the backend ==================

--> I clone the repo in a VM --> create a .env file in the backend --> create a venv in the backend --> installed the requirements file --> started the app using " uvicorn score:app --reload " --> using postman i used /upload, /extract -->while /upload it's uploading and i can able to see it in the neo4j labs ??????? whether it will store it in the any of the dir? --> in the /extract i am getting

{
    "status": "Failed",
    "error": "Error while reading the file content or metadata, libGL.so.1: cannot open shared object file: No such file or directory",
    "message": "Failed To Process File: file_name or LLM Unable To Parse Content Error while reading the file content or metadata, libGL.so.1: cannot open shared object file: No suc",
    "file_name": "file_name"
}

i tried in the local in there while /upload

{
    "status": "Success",
    "data": {
        "file_size": 35635,
        "file_name": "insur_with_comments_sample_data",
        "file_extension": "file_name",
        "message": "Chunk 1/1 saved"
    },
    "message": "Source Node Created Successfully"
}

while /extract

2025-07-01 17:02:01,331 - Process file name : file_name
2025-07-01 17:02:01,332 - file insur_with_comments_sample_data processing
2025-07-01 17:02:15,542 - pikepdf C++ to Python logger bridge initialized
2025-07-01 17:02:18,719 - Time taken database connection: 1.20 seconds
2025-07-01 17:02:19,023 - Index already exist,Skipping creation. Time taken: 0.30 seconds
2025-07-01 17:02:19,025 - Break down file into chunks
2025-07-01 17:02:19,026 - Split file into smaller chunks

after that i running for long time not giving any response

Please provide your inputs/suggestion to resolve the issue

sud-quantum avatar Jul 01 '25 10:07 sud-quantum