Dataset Viewer
text
stringlengths 0
1.15k
|
|---|
# Gaia
|
> Decentralizing Generative AI Chatbot and Agent
|
This file contains all documentation content in a single document following the llmtxt.org standard.
|
## Anything LLM
|
# Anything LLM
|
Anything LLM is the all-in-one Desktop & Docker AI application with full RAG and AI Agent capabilities. You can configure Anything LLM using the Gaia node as the LLM backend.
|
It's recommended to start a node without any snapshots, like [this one](https://github.com/GaiaNet-AI/node-configs/tree/main/llama-3-8b-instruct).
|
## Steps
|
First, we will need to add Gaia Node as the LLM chat model and embedding model.
|
* Go to Settings
|
* Choose Local AI as the LLM provider in the LLM inference section. Then copy and paste the Gaia node API base URL in the LocalAI Base URL. The chat model and embedding model along with your node will be loaded automatically. Choose the chat model here and input the context length. Remember to click on Save Changes to make the changes take effect.
|

|
* Then go to the Embedding Preference section and choose LocalAI as the embedding provider. Then copy and paste the Gaia node API base URL in the LocalAI Base URL. The chat model and embedding model along with your node will be loaded automatically. Choose the embedding model here and input the max embedding chunk length. Don't forget to click on Save Changes to make the changes take effect.
|
The above operations make the Gaia node as the LLM backend.
|
Second, let's set up the data source. You can upload a file or use the data connectors provided by Anything LLM.
|

|
When you move a data source to the workspace, Anything LLM will call the Gaia node's embedding API to chunk and compute embeddings for your documentation, which may take some minutes.
|
That's it. When the embedding is done, go back to your workspace and ask a question.
|

|
> You can check out the `start-llamaedge.log` to check what happens.
|
---
|
## [IDE] CodeGPT
|
# [IDE] CodeGPT
|
CodeGPT is a pair-programming partner for developers. It offers AI chat assistance, auto-completion, code explanation, error-checking, and much more. You can find the CodeGPT extension in VScode and Jetbrains. You can easily configure it to use Gaia nodes as LLM backends.
|
## Prerequisites
|
You will need a Gaia node ready to provide LLM services through a public URL. You can
|
* [run your own node](../../getting-started/quick-start)
|
* [use a public node](../../nodes)
|
In this tutorial, we will use the public CodeStral nodes to power the CodeGPT plugin.
|
| Model type | API base URL | Model name |
|
|-----|--------|-----|
|
| Chat | https://coder.gaia.domains/v1/v1/ | coder |
|
> For some reason, CodeGPT requires the API endpoint to include an extra `v1/` at the end.
|
## Install CodeGPT
|
Download [the CodeGPT for VScode](https://marketplace.visualstudio.com/items?itemName=DanielSanMedium.dscodegpt&ssr=false#overview) and [Jetbrains](https://plugins.jetbrains.com/plugin/21056-codegpt).
|
Once you install it successfully, you can find the plugin on the right sidebar. You don't need to sign up for an account here.
|

|
## Configure CodeGPT
|
Click the CODEGPT on the right sidebar and enter the settings page for CodeGPT.
|
1. Go through the **Select Your AI** and choose the **Custom** PROVIDER. Copy and paste `codestral` into the MODEL field.
|

|
3. Click the Connect button to configure the model base url and API key. Again, note the extra `v1\` at the end of the URL.
|
| Attribute | Value |
|
|-----|--------|
|
| API endpoint URL | https://coder.gaia.domains/v1/v1/ |
|
| API Key | gaia |
|

|
Save the above settings.
|
> If you're using a Domain service, not your own node, you will [need to get an API key from Gaia](../../getting-started/authentication/authentication.md).
|
## Use the plugin
|
You can summon the coding assistant using slash commands defined in the plugin. You can ask the coding assistant to fix bugs, explain codes, write documentation, refactor the docs, and create unit test cases for the specific code.
|

|
## Video Guide
|
---
|
End of preview. Expand
in Data Studio
README.md exists but content is empty.
- Downloads last month
- 7