{"id":24005166,"url":"https://github.com/tomasonjo-labs/text2cypher_llama_agent","last_synced_at":"2025-04-09T15:04:06.385Z","repository":{"id":270958423,"uuid":"902339776","full_name":"tomasonjo-labs/text2cypher_llama_agent","owner":"tomasonjo-labs","description":"A collection of LlamaIndex Workflows-powered agents that convert natural language to Cypher queries designed to retrieve information from a Neo4j database to answer the question with included benchmark data.","archived":false,"fork":false,"pushed_at":"2025-02-16T13:41:43.000Z","size":509,"stargazers_count":75,"open_issues_count":2,"forks_count":17,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-09T15:01:13.674Z","etag":null,"topics":["graph","graphrag","llamaindex","llm","neo4j","workflows"],"latest_commit_sha":null,"homepage":"https://text2cypher-llama-agent.up.railway.app","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tomasonjo-labs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-12T11:28:32.000Z","updated_at":"2025-04-09T11:26:46.000Z","dependencies_parsed_at":"2025-01-15T08:56:37.967Z","dependency_job_id":"e775c9b0-56d6-4f47-9ef5-b6d38c6607f8","html_url":"https://github.com/tomasonjo-labs/text2cypher_llama_agent","commit_stats":null,"previous_names":["tomasonjo/text2cypher_agent","tomasonjo/text2cypher_llama_agent","tomasonjo-labs/text2cypher_llama_agent"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomasonjo-labs%2Ftext2cypher_llama_agent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomasonjo-labs%2Ftext2cypher_llama_agent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomasonjo-labs%2Ftext2cypher_llama_agent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomasonjo-labs%2Ftext2cypher_llama_agent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tomasonjo-labs","download_url":"https://codeload.github.com/tomasonjo-labs/text2cypher_llama_agent/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248055280,"owners_count":21040156,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["graph","graphrag","llamaindex","llm","neo4j","workflows"],"created_at":"2025-01-08T02:34:24.999Z","updated_at":"2025-04-09T15:04:06.351Z","avatar_url":"https://github.com/tomasonjo-labs.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Text2Cypher LLama Agents\n\nA collection of LlamaIndex Workflows-powered agents that convert natural language to Cypher queries designed to retrieve information from a Neo4j database to answer the question.\n\nHosted web application is available [here](https://text2cypher-llama-agent.up.railway.app/).\n\n## 🎯 Features\n\n- Multiple text2Cypher agents\n- Built-in benchmarking suite\n- Interactive web UI for testing\n- Powered by LlamaIndex Workflows\n\n## 🚀 Getting Started with web UI\n\n### Prerequisites\n\n1. Create `.env` file based on `.env.example`\n```\ncp .env.example .env\n```\n2. Edit `.env` and include your `OPENAI_API_KEY` (or at least one api key from available options).\n\nAvailable API key options:\n- `OPENAI_API_KEY`\n- `GOOGLE_API_KEY`\n- `ANTHROPIC_API_KEY`\n- `MISTRAL_API_KEY`\n- `DEEPSEEK_API_KEY`\n\n### Installation\n\n1. Install `uv` package manager:\n```bash\ncurl -LsSf https://astral.sh/uv/install.sh | sh\n```\n2. Install dependencies:\n```bash\nuv sync\n```\n\n### Run Development Server\n\nStart the FastAPI server:\n```bash\nuv run fastapi dev\n```\n\nOpen the `localhost:8000`\n\n## 📊 Benchmarking\n\nThe `benchmark` directory contains:\n- Test datasets\n- Evaluation notebooks using Ragas\n\nThe benchmark can be evaluated against the `recommendations` database.\n\n```\nURI: neo4j+s://demo.neo4jlabs.com\nusername: recommendations\npassword: recommendations\ndatabase: recommendations\n```\n\n## 🤝 Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomasonjo-labs%2Ftext2cypher_llama_agent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftomasonjo-labs%2Ftext2cypher_llama_agent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomasonjo-labs%2Ftext2cypher_llama_agent/lists"}