imbajin commented on code in PR #262: URL: https://github.com/apache/incubator-hugegraph-ai/pull/262#discussion_r2126697011
########## hugegraph-llm/README.md: ########## @@ -23,6 +23,37 @@ graph systems and large language models. ## 3. Preparation +### 3.1 Docker + +**Docker Deployment** + Alternatively, you can deploy HugeGraph-AI using Docker: + - Ensure you have Docker installed + - We provide two container images: + - **Image 1**: [hugegraph/rag](https://hub.docker.com/r/hugegraph/rag/tags) + For building and running the RAG functionality, suitable for quick deployment and development + - **Image 2**: [hugegraph/rag-bin](https://hub.docker.com/r/hugegraph/rag-bin/tags) + Binary version compiled with Nuitka for more stable and efficient performance in production + - Pull the Docker images: + ```bash + docker pull hugegraph/rag:latest # Pull Image 1 + docker pull hugegraph/rag-bin:latest # Pull Image 2 + ``` + - Start the Docker container: + ```bash + docker run -it --name rag -p 8001:8001 hugegraph/rag bash + docker run -it --name rag-bin -p 8001:8001 hugegraph/rag-bin bash + ``` + - Start the Graph RAG demo: + ```bash + # For Image 1 + python ./src/hugegraph_llm/demo/rag_demo/app.py # or run python -m hugegraph_llm.demo.rag_demo.app + # For Image 2 + ./app.dist/app.bin Review Comment: ```suggestion python ./src/hugegraph_llm/demo/rag_demo/app.py # or run python -m hugegraph_llm.demo.rag_demo.app # For Image 2 ./app.dist/app.bin ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
