Skip to content

Commit

Permalink
fix(docs): fixed broken links in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
FelixNicolaeBucsa committed Nov 27, 2024
1 parent dbf41c1 commit 146f28b
Show file tree
Hide file tree
Showing 22 changed files with 49 additions and 47 deletions.
2 changes: 1 addition & 1 deletion pages/concepts/fetch-network/almanac.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ Contrarily, the [Almanac ↗️](/references/contracts/uagents-almanac/almanac-o
</Callout>

<Callout type="info" emoji="ℹ️">
For additional information on the Agentverse and its tools, visit our dedicated [concepts ↗️](/concepts/agent-services/agentverse-intro) and [guides ↗️](/guides#agentverse) resources to start developing your Agents straightforwardly using the Agentverse **Agent Editor**.
For additional information on the Agentverse and its tools, visit our dedicated [concepts ↗️](https://fetch.ai/docs/concepts/agent-services/agentverse-intro) and [guides ↗️](/guides#agentverse) resources to start developing your Agents straightforwardly using the Agentverse **Agent Editor**.
</Callout>
2 changes: 1 addition & 1 deletion pages/concepts/fetch-network/indexer.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ The **ledger-subquery** is a [SubQuery-based ↗️](https://www.subquery.networ
A detailed list of tracked entities is accessible via the [schema.graphql file ↗️](https://github.com/fetchai/ledger-subquery/blob/main/schema.graphql).

<Callout type="info" emoji="ℹ️">
You can learn more on how to [run ↗️](https://academy.subquery.network/run_publish/run.html) or [change the SubQuery Project ↗️](https://academy.subquery.network/quickstart/quickstart_chains/cosmos.html), get your own custom GraphQL API for your app, by [visiting the SubQuery Academy ↗️](https://academy.subquery.network/) for further documentation.
You can learn more on how to [run ↗️](https://academy.subquery.network/run_publish/run.html) or change the SubQuery Project, get your own custom GraphQL API for your app, by [visiting the SubQuery Academy ↗️](https://academy.subquery.network/) for further documentation.
</Callout>

<Callout type="info" emoji="ℹ️">
Expand Down
2 changes: 1 addition & 1 deletion pages/concepts/fetch-network/ledger/validators.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { Callout } from 'nextra/components'

A **blockchain** is a series of data records that functions as a distributed, replicated digital ledger of transactions across a network of computer systems. On blockchains, the records of transactions are compiled into **blocks** which are linked together to form a chain. Thus, blockchains consists of a stable chain of blocks and each one of these blocks stores a list of previously confirmed transactions.

These transactions take place inside a [peer-to-peer (P2P) ↗️](https://www.investopedia.com/terms/p/peertopeer-p2p-service.asp) global network, thus, blockchains are considered minimize and immune to censorship. A blockchain network serves as a decentralized ledger since it is maintained by several computers located all over the world. This implies that each participant, namely a **node**, keeps a copy of the blockchain data and interacts with other participants to make sure that everyone is aware of the same information stored in the block.
These transactions take place inside a peer-to-peer (P2P) global network, thus, blockchains are considered minimize and immune to censorship. A blockchain network serves as a decentralized ledger since it is maintained by several computers located all over the world. This implies that each participant, namely a **node**, keeps a copy of the blockchain data and interacts with other participants to make sure that everyone is aware of the same information stored in the block.

A blockchain, including the **Fetch.ai Ledger**, provides a secure and transparent way to record transactions, enabling trustless interactions between parties and removing the need for a central authority to overlook transactions.

Expand Down
2 changes: 1 addition & 1 deletion pages/examples/advanced/chat_api_example.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -736,7 +736,7 @@ Save this script as `chatAPI.py` and replace `email` and `fauna_token` in the sc
Running this app on the terminal:

1. Locate the directory where the script is located.
2. Open [Agentverse ↗️](https://agentverse.ai/profile/api-keys) and [generate API keys ↗️](/guides/apis/agent-function-creation-apis#how-to-get-agentverse-api-tokens).
2. Open [Agentverse ↗️](https://agentverse.ai/) and [generate API keys ↗️](/guides/apis/agent-function-creation-apis#how-to-get-agentverse-api-tokens).
3. Open script in editor and replace `access_token` and `refresh_token`.
4. Run script using python `agent.py`.
5. Provide objective to the script.
Expand Down
4 changes: 2 additions & 2 deletions pages/examples/intermediate/agent-and-function-api.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ This example provides details on how to create Agents and respective Agent Funct

## Steps to get API Tokens

- Go to Profile section in [Agentverse ↗️](https://agentverse.ai/profile/api-keys).
- Go to Profile section in [Agentverse ↗️](https://agentverse.ai/).
- Click on button `+ New API Key`.
- Give name to your API key.
- Click on `write` for `Access to all resources in Agentverse` and click on `Generate API Key`
Expand Down Expand Up @@ -385,7 +385,7 @@ print(f"Function Created with name: {name}")

1. Open terminal and go to directory `agents` created above.
2. Make sure `agent.py` and `agent_create.py` are in this directory.
3. Open [Agentverse ↗️](https://agentverse.ai/profile/api-keys) and [generate API keys ↗️](../../guides/apis/agent-function-creation-apis#how-to-get-agentverse-api-tokens).
3. Open [Agentverse ↗️](https://agentverse.ai/) and [generate API keys ↗️](/guides/apis/agent-function-creation-apis#how-to-get-agentverse-api-tokens).
4. Open script in editor and replace `token`.
5. Run command `python agent_create.py` and enter the required details.
6. Provide Agent and Function Details as asked and check agent and function on Agentverse.
Expand Down
4 changes: 2 additions & 2 deletions pages/examples/intermediate/agent-secret-api.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ This example provides details on how to use the hosting API to add a secret to a

## Steps to get API Tokens

- Go to Profile section in [Agentverse ↗️](https://agentverse.ai/profile/api-keys).
- Go to Profile section in [Agentverse ↗️](https://agentverse.ai/).
- Click on button `+ New API Key`.
- Give name to your API key.
- Click on `write` for `Access to all resources in Agentverse` and click on `Generate API Key`
Expand Down Expand Up @@ -54,7 +54,7 @@ else:
## Steps to add secret to agent using API

- Navigate to the directory where the `agent-secret` script is located using the terminal.
- Open [Agentverse ↗️](https://agentverse.ai/profile/api-keys) and [generate API keys](../../guides/apis/agent-function-creation-apis#how-to-get-agentverse-api-tokens).
- Open [Agentverse ↗️](https://agentverse.ai/) and [generate API keys ↗️](/guides/apis/agent-function-creation-apis#how-to-get-agentverse-api-tokens).
- Open script in editor and replace `fauna_access_token`.
- Run `agent-secret.py` using `python agent-secret.py`.
- Provide agent's address, secret name and secret value.
Expand Down
12 changes: 6 additions & 6 deletions pages/examples/intermediate/agents-with-docker.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ This example shows how to run an agent using the uAgents library inside a Docker

### Supporting Documents

- [Almanac contract overview ↗️](../../references/contracts/uagents-almanac/almanac-overview).
- [How to create an agent ↗️](../../guides/agents/create-a-uagent).
- [Registering in the Almanac Contract ↗️](../../guides/agents/register-in-almanac).
- [Creating an interval task ↗️](/guides/agents/interval-task)
- [Communicating with other agents ↗️](/guides/agents/communicating-with-other-agents)
- [Almanac contract overview ↗️](/references/contracts/uagents-almanac/almanac-overview).
- [How to create an Agent ↗️](/guides/agents/getting-started/create-a-uagent).
- [Registering in the Almanac Contract ↗️](/guides/agents/advanced/register-in-almanac).
- [Creating an interval task ↗️](/guides/agents/intermediate/handlers#creating-an-interval-task-with-on_interval-handler)
- [Communicating with other Agents ↗️](/guides/agents/intermediate/communicating-with-other-agents)

## Pre-requisites

Expand Down Expand Up @@ -42,7 +42,7 @@ This example demonstrates a simple agent-based communication system using the uA

<CodeGroup hasCopy isLocalHostedFile>

<DocsCode local={true}>
<DocsCode local={true}>

```py copy filename="agent.py"

Expand Down
4 changes: 2 additions & 2 deletions pages/examples/intermediate/on-query-proxy.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ This example shows how to query an agent using a proxy API.
#### The agent

<CodeGroup hasCopy isLocalHostedFile>
<DocsCode local={true}>
<DocsCode local={true}>
```py copy filename="agent.py"
from uagents import Agent, Context, Model

Expand Down Expand Up @@ -55,7 +55,7 @@ if __name__ == "__main__":
```
</DocsCode>

<DocsCode local={false}>
<DocsCode local={false}>

```py copy filename="agent.py"
from uagents import Agent, Context, Model
Expand Down
2 changes: 1 addition & 1 deletion pages/examples/intermediate/on-query.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ This documentation outlines the steps to set up and enable communication between

## Guide

- [How to use on_query decorator ↗️](../../guides/agents/intermediate/handlers#answer-queries-with-on_query-handler)
- [How to use on_query decorator ↗️](/guides/agents/intermediate/handlers#answer-queries-with-on_query-handler)

## Supporting documentation

Expand Down
12 changes: 6 additions & 6 deletions pages/examples/intermediate/on_query_example.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ This example creates a shopping assistant agent using FastAPI and uagents. The a

### Supporting Documents

- [Almanac contract overview ↗️](../../references/contracts/uagents-almanac/almanac-overview).
- [How to create an agent ↗️](../../guides/agents/create-a-uagent).
- [Registering in the Almanac Contract ↗️](../../guides/agents/register-in-almanac).
- [How to use on_query decorator ↗️](../../guides/agents/intermediate/handlers).
- [Almanac contract overview ↗️](/references/contracts/uagents-almanac/almanac-overview).
- [How to create an agent ↗️](/guides/agents/getting-started/create-a-uagent).
- [Registering in the Almanac Contract ↗️](/guides/agents/advanced/register-in-almanac).
- [How to use on_query decorator ↗️](/guides/agents/intermediate/handlers#answer-queries-with-on_query-handler).

## Pre-requisites

- **Python :** Download and install from [Python official website ↗️](https://www.python.org/downloads/).
- **Python:** Download and install from [Python official website ↗️](https://www.python.org/downloads/).

# Shopping Assistance Agent

Expand All @@ -36,7 +36,7 @@ class ShoppingAssistResponse(Model):
- **Shopping Assistance Agent :** This code defines a shopping assistant agent using the uAgents framework. The agent listens for incoming `ShoppingRequest` messages, processes them by sending the user's question to OpenAI's GPT-4 API for a response, and then sends the generated response back to the sender as a `ShoppingAssistResponse`.

<CodeGroup hasCopy isLocalHostedFile>
<DocsCode local={true}>
<DocsCode local={true}>
```py copy filename="agent.py"
from uagents import Agent, Context
from uagents.setup import fund_agent_if_low
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ This example demonstrates the integration of uAgents with Web3.py to interact wi

### Supporting Documents

- [Almanac contract overview ↗️](../../references/contracts/uagents-almanac/almanac-overview).
- [How to create an agent ↗️](../../guides/agents/create-a-uagent).
- [Registering in the Almanac Contract ↗️](../../guides/agents/register-in-almanac).
- [Creating an interval task ↗️](/guides/agents/interval-task)
- [Communicating with other agents ↗️](/guides/agents/communicating-with-other-agents)
- [Almanac contract overview ↗️](/references/contracts/uagents-almanac/almanac-overview).
- [How to create an Agent ↗️](/guides/agents/getting-started/create-a-uagent).
- [Registering in the Almanac Contract ↗️](/guides/agents/advanced/register-in-almanac).
- [Creating an interval task ↗️](/guides/agents/intermediate/handlers#creating-an-interval-task-with-on_interval-handler)
- [Communicating with other Agents ↗️](/guides/agents/intermediate/communicating-with-other-agents)

## Pre-requisites

Expand Down
12 changes: 6 additions & 6 deletions pages/examples/postgres-database-with-an-agent.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ In this documentation example, we demonstrate how to use the uAgent library to c

### Supporting Documents

- [Almanac contract overview ↗️](../../references/contracts/uagents-almanac/almanac-overview).
- [How to create an agent ↗️](../../guides/agents/create-a-uagent).
- [Registering in the Almanac Contract ↗️](../../guides/agents/register-in-almanac).
- [Creating an interval task ↗️](/guides/agents/interval-task)
- [Communicating with other agents ↗️](/guides/agents/communicating-with-other-agents)
- [Almanac contract overview ↗️](/references/contracts/uagents-almanac/almanac-overview).
- [How to create an Agent ↗️](/guides/agents/getting-started/create-a-uagent).
- [Registering in the Almanac Contract ↗️](/guides/agents/advanced/register-in-almanac).
- [Creating an interval task ↗️](/guides/agents/intermediate/handlers#creating-an-interval-task-with-on_interval-handler)
- [Communicating with other Agents ↗️](/guides/agents/intermediate/communicating-with-other-agents)

## Pre-requisites

Expand All @@ -24,7 +24,7 @@ In this documentation example, we demonstrate how to use the uAgent library to c
## Project Structure

```
.postgres-database-with-an-agent 
.postgres-database-with-an-agent
├── docker-compose.yml
├── Dockerfile
├── README.md
Expand Down
8 changes: 4 additions & 4 deletions pages/examples/react-example.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ This example shows how to build a react application integrated with a flask back

### Supporting Documents

- [How to use on_query decorator ↗️](../../guides/agents/intermediate/handlers).
- [How to create an agent ↗️](../../guides/agents/create-a-uagent).
- [Registering in the Almanac Contract ↗️](../../guides/agents/register-in-almanac).
- [Almanac contract overview ↗️](../../references/contracts/uagents-almanac/almanac-overview).
- [How to use on_query decorator ↗️](/guides/agents/intermediate/handlers#answer-queries-with-on_query-handler).
- [How to create an agent ↗️](/guides/agents/getting-started/create-a-uagent).
- [Registering in the Almanac Contract ↗️](/guides/agents/advanced/register-in-almanac).
- [Almanac contract overview ↗️](/references/contracts/uagents-almanac/almanac-overview).

## Pre-requisites

Expand Down
2 changes: 1 addition & 1 deletion pages/guides/agent-courses/agents-for-ai.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ Let's use this address to create a **Mailbox** on the Agentverse.
A **mailbox** is a service provided by Agentverse that allows Agents to receive messages when they're not running online.
The `uagents` library will poll for new messages (and old unread ones) when your Agent is running. Pretty handy.

Let's go to [Agentverse ↗️](https://agentverse.ai/agents/local) and create a Mailbox for this agent.
Let's go to [Agentverse ↗️](https://agentverse.ai/) and create a Mailbox for this agent.

First of all, head over to the **My Agents** tab and click on the **Local Agents** tab.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ For setting up Hugging Face function we need to create different agents as liste

### Hugging Face System Agent

This Agent helps users with their queries for a text-classification model of their choosing. The agent always prioritizes Hugging Face request secondary function. Below is the script for creating our agent on [Agentverse ↗️](https://agentverse.ai/agents) using the **+New Agent** button.
This Agent helps users with their queries for a text-classification model of their choosing. The agent always prioritizes Hugging Face request secondary function. Below is the script for creating our agent on [Agentverse ↗️](https://agentverse.ai/) using the **+New Agent** button.

<GithubCodeSegment digest="a5a18b6cea7a34043525508675836ff0">
<CodeSegment
Expand Down
2 changes: 1 addition & 1 deletion pages/guides/agents/quickstart.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,6 @@ Run the scripts to see the agents communicating:

## Reach out to the Team!

Excellent! You are now ready to start exploring the concepts and resources available to start developing your agents on the Fetch Network! if you're keen to skip the more code focused guides, your best next steps would be [Communicating with agents](intermediate/communicating-with-other-agents).
Excellent! You are now ready to start exploring the concepts and resources available to start developing your agents on the Fetch Network! if you're keen to skip the more code focused guides, your best next steps would be [Communicating with agents ↗️](/guides/agents/intermediate/communicating-with-other-agents).

Note that our Team is available on [Discord ↗️](https://discord.gg/fetchai) for any additional inquiry.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Make sure you have read the following resources before going on with this guide:

## Create your coin toss agent!

For this navigate to the [Agentverse: My Agents ↗️](https://agentverse.ai/agents) tab and click on the **+ New Agent** button:
For this navigate to the [Agentverse: My Agents ↗️](https://agentverse.ai/) tab and click on the **+ New Agent** button:

![](src/images/guides/agentverse/registering-agent-coin-toss/hosted-agent-use-case-button.png)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Make sure you have read the following resources before going on with this guide:

## Create your dice roll agent!

For this navigate to the [Agentverse: My Agents ↗️](https://agentverse.ai/agents) tab and click on the **Use case** button. When the dialog is open, select the **DeltaV compatible Dice Roll Agent** use case:
For this navigate to the [Agentverse: My Agents ↗️](https://agentverse.ai/) tab and click on the **Use case** button. When the dialog is open, select the **DeltaV compatible Dice Roll Agent** use case:

![](src/images/guides/agentverse/registering-agent-dice-roll/use-case-dialog.png)

Expand Down
2 changes: 1 addition & 1 deletion pages/guides/apis/agent-function-creation-apis.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ This script interacts with the Agentverse API to achieve the Agent and Function

1. Open terminal and go to directory `agents` created above.
2. Make sure `agent.py` and `agent_create.py` are in this directory.
3. Head over to the [Agentverse ↗️](https://agentverse.ai/profile/api-keys) and [generate API keys ↗️](#how-to-get-agentverse-api-tokens).
3. Head over to the [Agentverse ↗️](https://agentverse.ai/) and [generate API keys ↗️](#how-to-get-agentverse-api-tokens).
4. Open script in editor and replace `token` field.
5. Run command `python agent_create.py` and enter the required details.
6. Provide Agent and Function details as asked, then, check agent and function on Agentverse.
Expand Down
2 changes: 1 addition & 1 deletion pages/guides/apis/secret-management-apis.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ This guide provides details on how to use the [Agentverse hosting APIs ↗️](/

### Steps to get API Tokens

- Go to **Profile** section in [Agentverse ↗️](https://agentverse.ai/profile/api-keys).
- Go to **Profile** section in [Agentverse ↗️](https://agentverse.ai/).
- Click on button `+ New API Key`.
- Give name to your API key.
- Click on `write` for `Access to all resources in Agentverse` and click on `Generate API Key`
Expand Down
4 changes: 4 additions & 0 deletions pages/guides/fetch-network/reconciliation-service.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
import { Callout } from 'nextra/components'

<Callout type="warning" emoji="⚠️">
This document will be updated soon.
</Callout>

# Reconciliation service

During the stake migration from ETH to the Fetch Mainnet on September 14th, 2021, the staked funds were all migrated from the Ethereum staking contract to the Fetch.ai Mainnet. In this process, some users decided to wait for reconciliation to access their funds after the auto-migration was complete.
Expand Down
2 changes: 0 additions & 2 deletions pages/references/indexer/entities.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ This notion may also apply to other objects but should be considered carefully t

## Primitive entities

If you wish to have additional information, visit [schema.graphql ↗️](https://github.com/ledger-subquery/blob/main/schema.graphql).

Primitive entities include:

- blocks
Expand Down

0 comments on commit 146f28b

Please sign in to comment.