Open lambdaofgod opened 1 month ago
The provided log output doesn't appear to show any issues. To further investigate the problem, it is recommended to try building a single file using the following command:
<PYTHON_ENV_PATH> modelscope_agent\environment\graph_database\indexer\run_index_single.py --file_path <FILE_PATH> --root_path <ROOT_PATH> --task_id <TASK_ID> --url <DATABASE_URL> --user <USERNAME> --password <PASSWORD> --db_name <DATABASE_NAME> --env <PYTHON_ENV_PATH> --shallow
Parameter explanations:
<PYTHON_ENV_PATH>
: The path to the Python environment (Python <= 3.9) where the required dependencies are installed.
<FILE_PATH>
: The path to the file that needs to be processed.
<ROOT_PATH>
: The root directory of the project, used to determine relative paths.
<TASK_ID>
: A unique ID to identify the task.
<DATABASE_URL>
: The URL of the Neo4j database, usually in the format bolt://<HOST>:<PORT>
.
<USERNAME>
: The username to connect to the Neo4j database.
<PASSWORD>
: The password to connect to the Neo4j database.
<DATABASE_NAME>
: The name of the Neo4j database to use.
Can codexgraph support locally deployed models?
Initial Checks
What happened + What you expected to happen
I am trying to index a repository with CodexGraph, everything is supposedly working - I tested the connection and it works fine, the logs do not give any errors, but after I run "build" I can't see any records added to Neo4J.
Part of logs (note that the progress bars were added by me to check out if it was extraction that failed, apparently it did not)
Versions / Dependencies
Python 3.10.6 on Ubuntu
requirements.txt:
Reproduction script
That would be pretty hard since everything happens in CodexGraph streamlit.
Issue Severity
High: It blocks me from completing my task.