Skip to content

Commit

Permalink
Merge pull request #63 from GaiaNet-AI/public-nodes
Browse files Browse the repository at this point in the history
Public nodes
  • Loading branch information
alabulei1 authored Sep 6, 2024
2 parents 4f0c063 + 126776a commit 3fab780
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 7 deletions.
2 changes: 1 addition & 1 deletion docs/tutorial/tool-call.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ In this tutorial, we will show you a simple Python program that allows a local L

You will need a Gaia node ready to provide LLM services through a public URL. You can

* [run your own node](../node-guide/quick-start.md). You will need to start a Gaia node for the [Llama-3-Groq model](https://github.com/GaiaNet-AI/node-configs/tree/main/llama-3-groq-8b-tool or the [Mistral-7B-v0.3 Instruct model](https://github.com/GaiaNet-AI/node-configs/tree/main/mistral-0.3-7b-instruct-tool-call) . You can then use the node's API URL endpoint and model name in your tool call apps.
* [run your own node](../node-guide/quick-start.md). You will need to start a Gaia node for the [Llama-3-Groq model](https://github.com/GaiaNet-AI/node-configs/tree/main/llama-3-groq-8b-tool) or the [Mistral-7B-v0.3 Instruct model](https://github.com/GaiaNet-AI/node-configs/tree/main/mistral-0.3-7b-instruct-tool-call) . You can then use the node's API URL endpoint and model name in your tool call apps.
* [use a public node](../user-guide/nodes.md)

In this tutorial, we will use a public Llama3 node with the function call support.
Expand Down
50 changes: 44 additions & 6 deletions docs/user-guide/nodes.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ to use the GaiaNet API in your favorite agent frameworks or apps.
## Llama

This node runs a plain Llama 3 8b model without any additional knowledge.
[Chat with it](https://llama.us.gaianet.network/chatbot-ui/index.html) or use it from another app. Replace OpenAI configuration in [your app](apps/intro) with the following.
[Chat with it](https://llama.us.gaianet.network/) or use it from another app. Replace OpenAI configuration in [your app](apps/intro) with the following.

|Config option | Value |
|-----|--------|
Expand All @@ -20,10 +20,36 @@ This node runs a plain Llama 3 8b model without any additional knowledge.
| Model Name (for Text embedding) | nomic-embed |
| API key | Empty or any value |

## Tool use Llama

This node runs a Llama 3 Groq 8b model finetuned for tool use.
You can send it a list of tools and a request. It will respond with a tool call to answer that request.
[Learn more](../tutorial/tool-call.md) how to use tool call models in your agent app.
Replace OpenAI configuration in [your app](apps/intro) with the following.

|Config option | Value |
|-----|--------|
| API endpoint URL | https://llamatool.us.gaianet.network/v1 |
| Model Name (for LLM) | llama |
| Model Name (for Text embedding) | nomic-embed |
| API key | Empty or any value |

## Phi

This node runs a plain Phi 3 mini model without any additional knowledge.
[Chat with it](https://phi.us.gaianet.network/) or use it from another app. Replace OpenAI configuration in [your app](apps/intro) with the following.

|Config option | Value |
|-----|--------|
| API endpoint URL | https://phi.us.gaianet.network/v1 |
| Model Name (for LLM) | phi |
| Model Name (for Text embedding) | nomic-embed |
| API key | Empty or any value |

## Gemma

This node runs a plain Gemma 2 27b model without any additional knowledge.
[Chat with it](https://gemma.us.gaianet.network/chatbot-ui/index.html) or use it from another app. Replace OpenAI configuration in [your app](apps/intro) with the following.
[Chat with it](https://gemma.us.gaianet.network/) or use it from another app. Replace OpenAI configuration in [your app](apps/intro) with the following.

|Config option | Value |
|-----|--------|
Expand All @@ -35,7 +61,7 @@ This node runs a plain Gemma 2 27b model without any additional knowledge.
## Codestral

This node runs a plain Codestral model without any additional knowledge.
[Chat with it](https://codestral.us.gaianet.network/chatbot-ui/index.html) or use it from another app. Replace OpenAI configuration in [your app](apps/intro) with the following.
[Chat with it](https://codestral.us.gaianet.network/) or use it from another app. Replace OpenAI configuration in [your app](apps/intro) with the following.

|Config option | Value |
|-----|--------|
Expand All @@ -48,13 +74,25 @@ This node runs a plain Codestral model without any additional knowledge.
## Chemistry teacher

This node runs a finetuned Llama 3 8b model with a knowledge base of chemical elements and high school chemistry.
[Chat with it](https://chemistry.us.gaianet.network/chatbot-ui/index.html) or use it from another app. Replace OpenAI configuration in [your app](apps/intro) with the following.
[Chat with it](https://chemistry.us.gaianet.network/) or use it from another app. Replace OpenAI configuration in [your app](apps/intro) with the following.

|Config option | Value |
|-----|--------|
| API endpoint URL | https://chemistry.us.gaianet.network/v1 |
| Model Name (for LLM) | Meta-Llama-3-8B-Instruct-Q5_K_M |
| Model Name (for Text embedding) | nomic-embed-text-v1.5-f16 |
| Model Name (for LLM) | chemistry |
| Model Name (for Text embedding) | nomic-embed |
| API key | Empty or any value |

## Bible pastor

This node runs a finetuned Llama 3 8b model with a knowledge base of Bible teachings of everyday events and emotions.
[Chat with it](https://bible.us.gaianet.network/) or use it from another app. Replace OpenAI configuration in [your app](apps/intro) with the following.

|Config option | Value |
|-----|--------|
| API endpoint URL | https://bible.us.gaianet.network/v1 |
| Model Name (for LLM) | pastor |
| Model Name (for Text embedding) | nomic-embed |
| API key | Empty or any value |


Expand Down

0 comments on commit 3fab780

Please sign in to comment.