5.0k sao GitHub và vẫn tăng — GaiaNet-AI/gaianet-node là dự án Shell mà TopGit đang theo dõi trên nền tảng. Install, run and deploy your own decentralized AI agent service
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.
Japanese(日本語) | Chinese(中文) | Korean(한국어) | Turkish (Türkçe) | Farsi(فارسی) | Arabic (العربية) | Indonesia | Russian (русскийة) | Portuguese (português) | We need your help to translate this README into your native language.
Like our work? ⭐ Star us!
Checkout our official docs and a Manning ebook on how to customize open source models.
Quick start
Install the default node software stack with a single line of command on Mac, Linux, or Windows WSL.
Then, follow the prompt on your screen to set up the environment path. The command line will begin with source.
Initialize the node. It will download the model files and vector database files specified in the $HOME/gaianet/config.json file, and it could take a few minutes since the files are large.
gaianet init
Start the node.
gaianet start
The script prints the official node address on the console as follows.
You can open a browser to that URL to see the node information and then chat with the AI agent on the node.
[+] Downloading Llama-2-7b-chat-hf-Q5_K_M.gguf ...
############################################################################################################################## 100.0%############################################################################################################################## 100.0%
[+] Downloading all-MiniLM-L6-v2-ggml-model-f16.gguf ...
############################################################################################################################## 100.0%############################################################################################################################## 100.0%
[+] Creating 'default' collection in the Qdrant instance ...
* Start a Qdrant instance ...
* Remove the existed 'default' Qdrant collection ...
* Download Qdrant collection snapshot ...
############################################################################################################################## 100.0%############################################################################################################################## 100.0%
* Import the Qdrant collection snapshot ...
* Recovery is done successfully
The init command initializes the node according to the $HOME/gaianet/config.json file. You can use some of our pre-set configurations. For example, the command below initializes a node with the llama-3 8B model with a London guidebook as knowledge base.
To see a list of pre-set configurations, you can do gaianet init --help.
Besides a pre-set configurations like gaianet_docs, you can also pass a URL to your own config.json for the node to be initialized to the state you'd like.
If you need to init a node installed in an alternative directory, do this.
gaianet init --base $HOME/gaianet.alt
Start the node
gaianet start
The output should look like below:
[+] Starting Qdrant instance ...
Qdrant instance started with pid: 39762
[+] Starting LlamaEdge API Server ...
Run the following command to start the LlamaEdge API Server:
wasmedge --dir .:./dashboard --nn-preload default:GGML:AUTO:Llama-2-7b-chat-hf-Q5_K_M.gguf --nn-preload embedding:GGML:AUTO:all-MiniLM-L6-v2-ggml-model-f16.gguf rag-api-server.wasm --model-name Llama-2-7b-chat-hf-Q5_K_M,all-MiniLM-L6-v2-ggml-model-f16 --ctx-size 4096,384 --prompt-template llama-2-chat --qdrant-collection-name default --web-ui ./ --socket-addr 0.0.0.0:8080 --log-prompts --log-stat --rag-prompt "Use the following pieces of context to answer the user's question.\nIf you don't know the answer, just say that you don't know, don't try to make up an answer.\n----------------\n"
LlamaEdge API Server started with pid: 39796
You can start the node for local use. It will be only accessible via localhost and not available on any of the GaiaNet domain's public URLs.
gaianet start --local-only
You can also start a node installed in an alternative base directory.
gaianet start --base $HOME/gaianet.alt
Stop the node
gaianet stop
The output should look like below:
[+] Stopping WasmEdge, Qdrant and frpc ...
Stop a node installed in an alternative base directory.
gaianet stop --base $HOME/gaianet.alt
Update configuration
Using gaianet config subcommand can update the key fields defined in the config.json file. You MUST run gaianet init again after you update the configuartion.
To update the chat field, for example, use the following command:
To update the chat_ctx_size field, for example, use the following command:
gaianet config --chat-ctx-size 5120
Below are all options of the config subcommand.
$ gaianet config --help
Usage: gaianet config [OPTIONS]
Options:
--chat-url <url> Update the url of chat model.
--chat-ctx-size <val> Update the context size of chat model.
--embedding-url <url> Update the url of embedding model.
--embedding-ctx-size <val> Update the context size of embedding model.
--prompt-template <val> Update the prompt template of chat model.
--port <val> Update the port of LlamaEdge API Server.
--system-prompt <val> Update the system prompt.
--rag-prompt <val> Update the rag prompt.
--rag-policy <val> Update the rag policy [Possible values: system-message, last-user-message].
--reverse-prompt <val> Update the reverse prompt.
--domain <val> Update the domain of GaiaNet node.
--snapshot <url> Update the Qdrant snapshot.
--qdrant-limit <val> Update the max number of result to return.
--qdrant-score-threshold <val> Update the minimal score threshold for the result.
--base <path> The base directory of GaiaNet node.
--help Show this help message
Have fun!
Resources & Contributing Back
Looking for the docs? Check the documentation or the Contributing Guide out. We also recommend reading Awesome-Gaia for a curated list of tools, projects, and resources from the Gaia community
Want to talk to the community? Hop in our Telegram and share your ideas and what you've build with Gaianet.
Find a bug? Head over to our issue tracker and we'll do our best to help. We love pull requests, too!
We expect all Gaianet contributors to abide by the terms of our Code of Conduct.
GaiaNet-AI/gaianet-node thuộc nhóm AI Tools trên TopGit, cùng 13 topic GitHub. Trang Trending và Topics liệt kê các repo cùng số sao và cùng ngôn ngữ để so sánh.
Đọc thêm về GaiaNet-AI/gaianet-node ở đâu?
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/GaiaNet-AI/gaianet-node là nguồn chính thức.
GaiaNet-AI/gaianet-node có bao nhiêu sao?
GaiaNet-AI/gaianet-node có 5.0k sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/GaiaNet-AI/gaianet-node. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.
GaiaNet-AI/gaianet-node có những chủ đề gì?
GitHub topics của GaiaNet-AI/gaianet-node: "agentic-ai", "agentic-framework", "ai", "ai-agents", "chatbot", "decentralized", "ethereum", "hacktoberfest", "hacktoberfest-accepted", "machine-learning", "mcp", "ml", "web3". TopGit xếp repo vào nhóm AI Tools.
GaiaNet-AI/gaianet-node có phải mã nguồn mở không?
Có — GaiaNet-AI/gaianet-node phát hành theo license GPL-3.0, nghĩa là mã nguồn mở để đọc, fork và (tùy license) tái sử dụng. Mã: github.com/GaiaNet-AI/gaianet-node.
GaiaNet-AI/gaianet-node có trang demo không?
Dự án có trang chủ ở https://www.gaianet.ai/. Tab "Readme" ở trang này thường có ảnh chụp và hướng dẫn bắt đầu nhanh.
GaiaNet-AI/gaianet-node còn đang phát triển không?
Commit gần nhất trên GaiaNet-AI/gaianet-node là 10 tháng trước (theo timestamp GitHub). Repo có 327 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.
Vẫn đang phân vân về gaianet-node?
Một cú bấm sẽ gửi câu hỏi kèm trang này cho AI — xem AI nói gì về gaianet-node.