neo4j/NaLLM hiện có 1.4k sao trên GitHub, viết chủ yếu bằng TypeScript. Repository for the NaLLM project
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
Welcome to the NaLLM project repository, where we are exploring and demonstrating the synergies between Neo4j and Large Language Models (LLMs). As a part of our ongoing project, we are focusing on three primary use cases - a Natural Language Interface to a Knowledge Graph, Creating a Knowledge Graph from Unstructured Data and Generate a Report using both static data and data from LLM.
This repository houses both backend and frontend code, designed and organized to facilitate an intuitive journey through our project.
Blog posts
During this project we're also writing blog posts where we deep dive into our learnings and explorations.
Our repository is designed with an efficient and logical structure for ease of navigation:
Backend Code: The backend code is found in the api folder in the main.py file you can find all endpoints and their corresponding functions. All LLM functionality is split into different components which have thier own purpose.
Frontend Code: The frontend code is organized into two folders - one for each use case these can be found in ui/src. Each folder contains separate React applications that are independent from each other.
Running the Demos
To simplify the process of running the demos, we have incorporated scripts that generate Docker images. To use these, you'll need to:
Navigate into the root directory.
Create an env file. You can use the env.example file as a template. (The open API key is optional and can be provided from the UI instead)
run docker-compose up to build the images.
This will start the backend and frontend servers, and you can access the demos at the following URLs:
user interface: http://localhost:4173/
backend: localhost:7860
Please note that you'll need Docker installed on your machine to build and run these images. If you haven't already, you can download Docker from here.
Demo database
There is a demo databasing running on demo.neo4jlabs.com. This database is a set of compnaies, thier subsidaiers, people related to the companies and articles mentioned the compnaies. The database is a subset of the Diffbot knowledge graph. You can access it with the following credentaiils:
The database contains both structured information about organizations and people as well as news articles.
The news articles are linked to the mentioned entity, while the actual text is stored in the Chunk nodes alongside their text-embedding-ada-002 vector representations.
Bring your own database
To run the project on your own database, follow these two steps:
Set appropriate database credentials in .env file
Remove or set appropriate Cypher examples in api/fewshot_examples.py file
Contributing
We welcome contributions and feedback to improve our project and demonstrations. Please feel free to raise issues or submit pull requests.
Note
We want to emphasize that the field of AI and specifically LLMs is rapidly evolving. As such, the information, assumptions, and code contained within this repository are based on our current understanding and are subject to change as new data and technological advancements become available.
Thank you for your interest in our project. We hope you find this repository useful and informative. Stay tuned for more updates as we continue to explore the fascinating world of Neo4j and LLMs!
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/neo4j/NaLLM là nguồn chính thức.
neo4j/NaLLM có bao nhiêu sao?
neo4j/NaLLM có 1.4k sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/neo4j/NaLLM. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.
neo4j/NaLLM có phải mã nguồn mở không?
Có — neo4j/NaLLM phát hành theo license Apache-2.0, nghĩa là mã nguồn mở để đọc, fork và (tùy license) tái sử dụng. Mã: github.com/neo4j/NaLLM.
neo4j/NaLLM có tag gì không?
Bản đồng bộ chưa ghi nhận topic GitHub nào cho neo4j/NaLLM. GitHub topics hiển thị ở thanh bên phải trang repo — đó là nơi đáng kiểm tra nhất.
neo4j/NaLLM có website riêng không?
TopGit chưa ghi nhận URL trang chủ cho neo4j/NaLLM. Phần README ở tab phía trên thường có link demo, hoặc xem mô tả GitHub của repo.
neo4j/NaLLM còn đang phát triển không?
Commit gần nhất trên neo4j/NaLLM là 2.4 năm trước (theo timestamp GitHub). Repo có 269 fork — một chỉ báo về mức độ quan tâm của cộng đồng.
Đọc đầy đủ README ở tab phía trên.
Muốn nghe thêm một ý kiến về NaLLM?
Hỏi một AI đọc được trang này — một cú bấm là có ngay nhận định về NaLLM.