1 Commits

Author SHA1 Message Date
b221ae4b42 Update README.md 2025-12-27 03:30:28 -08:00
2 changed files with 6 additions and 8 deletions

View File

@@ -1,11 +1,9 @@
# dspy-neo4j-knowledge-graph
# text-to-cypher
LLM-driven automated knowledge graph construction from text using DSPy and Neo4j.
![Knowledge Graph](img/kg.png)
## Project Structure
```sh
dspy-neo4j-knowledge-graph/
text-to-cypher/
├── README.md
├── examples/
│ └── wikipedia-abstracts-v0_0_1.ndjson
@@ -79,7 +77,7 @@ MODAIC_TOKEN=<your-modaic-token>
Run Neo4j locally using Docker:
```sh
docker run \
--name dspy-kg \
--name text-to-cypher \
--publish=7474:7474 \
--publish=7687:7687 \
--env "NEO4J_AUTH=none" \
@@ -153,8 +151,8 @@ neo4j.query(cypher.statement.replace('```', ''))
### Stop Neo4j Docker Container
```sh
docker stop dspy-kg
docker rm dspy-kg
docker stop text-to-cypher
docker rm text-to-cypher
```
### Remove Virtual Environment

View File

@@ -67,7 +67,7 @@ if __name__ == "__main__":
schema = neo4j.fmt_schema()
print("SCHEMA:\n", schema)
"""
generate_cypher.push_to_hub("farouk1/text-to-cypher", with_code=True, tag="v0.0.6", commit_message="Update README.md")
generate_cypher.push_to_hub("farouk1/text-to-cypher", with_code=True, tag="v0.0.7", commit_message="Update README.md")