[PR #5701] [CLOSED] Add example for Neo4j graph querying with Llama3 and Langchain #74183

Closed
opened 2026-05-05 06:09:10 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/5701
Author: @alishams21
Created: 7/15/2024
Status: Closed

Base: mainHead: python-cypher-example


📝 Commits (1)

  • 1d77a8a Add example for Neo4j graph querying with Llama3 and Langchain

📊 Changes

7 files changed (+195 additions, -0 deletions)

View changed files

examples/langchain-python-cypher/README.md (+16 -0)
examples/langchain-python-cypher/data/gamers.csv (+11 -0)
examples/langchain-python-cypher/data/games.csv (+11 -0)
examples/langchain-python-cypher/data/purchases.csv (+31 -0)
examples/langchain-python-cypher/data_cypher (+42 -0)
examples/langchain-python-cypher/main.py (+80 -0)
examples/langchain-python-cypher/requirements.txt (+4 -0)

📄 Description

  • Establish graph nodes and relationships using Cypher commands
  • Integrate GraphCypherQAChain and Llama3 model for query generation
  • Add custom prompt engineering for human-readable query parsing
  • Include sample CSV files in data folder

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/5701 **Author:** [@alishams21](https://github.com/alishams21) **Created:** 7/15/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `python-cypher-example` --- ### 📝 Commits (1) - [`1d77a8a`](https://github.com/ollama/ollama/commit/1d77a8ae08ddb3de9d1b5f76d13e1332d6153758) Add example for Neo4j graph querying with Llama3 and Langchain ### 📊 Changes **7 files changed** (+195 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `examples/langchain-python-cypher/README.md` (+16 -0) ➕ `examples/langchain-python-cypher/data/gamers.csv` (+11 -0) ➕ `examples/langchain-python-cypher/data/games.csv` (+11 -0) ➕ `examples/langchain-python-cypher/data/purchases.csv` (+31 -0) ➕ `examples/langchain-python-cypher/data_cypher` (+42 -0) ➕ `examples/langchain-python-cypher/main.py` (+80 -0) ➕ `examples/langchain-python-cypher/requirements.txt` (+4 -0) </details> ### 📄 Description - Establish graph nodes and relationships using Cypher commands - Integrate GraphCypherQAChain and Llama3 model for query generation - Add custom prompt engineering for human-readable query parsing - Include sample CSV files in data folder --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-05-05 06:09:10 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#74183