Giter Club home page Giter Club logo

docs's Introduction

Fetch.ai Documentation Repo

Official Website Twitter Follow

Welcome to the code repository for Fetch.ai's documentation at fetch.ai/docs.

Developing

Install dependencies

pnpm install

Run Development Server

pnpm dev

The site is then visible at:

http://127.0.0.1:3000/docs

Contributing

All contributions are welcome! Remember, contribution includes not only code, but any help with docs or issues raised by other developers. See our contribution guidelines for more details.

Code of Conduct

Please be sure to read and follow our Code of Conduct. By participating, you are expected to uphold this code.

Development Guidelines

Read our development guidelines to learn some useful tips related to development.

Issues, Questions, and Discussions

We use GitHub Issues for tracking requests and bugs, and GitHub Discussions for general questions and discussion.

docs's People

Contributors

5a11 avatar abhifetch avatar clone45 avatar cmaliwal avatar dacksus avatar devjsc avatar felixnicolaebucsa avatar gatakamsky avatar gautamgambhir97 avatar gautammanak1 avatar kshipra-fetch avatar sh-wallet avatar zmezei avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

needieru clone45

docs's Issues

feedback: DELTA-V Chat API doc language is super technical & hard to understand

Most of the endpoints depends on various instances and are considered parameters for the actual endpoint, but these are not meant to be passed directly by the user.
Instead, these instance-dependent elements are integrated and managed directly by the backend system. We refer to them as name_parameter, where the asterisk () is used to denote a specific instance-dependent parameter that the route relies on.

https://fetch.ai/docs/apis/ai-engine/chat

Update DeltaV References to AI Engine in API Documentation

Prerequisites

  • I checked the existing issues and made sure there are no similar bug reports

Category

Incorrect or missing Content

Expected Behavior / Content

The API documentation should refer to the backend as "AI Engine" instead of "DeltaV".

Observed Behavior / Content

The API documentation currently refers to the backend as "DeltaV" instead of "AI Engine".

image

To Reproduce

No response

Environment Details (Optional)

No response

Failure Logs (Optional)

No response

Additional Information (Optional)

No response

AV Hosting API: Add example for uploading multiple code files via the code upload endpoint

The code can be uploaded as a single string (like the current example) or a JSON string with multiple file objects as follows:

import requests

data = {
    "code": '{[{"id": 0, "language": "python", "name": "agent.py", "value": <contents>}, {"id": 1, "language", "plaintext", "name": ".env", "value": <contents>},...]}'
}

pathParameters = {
    "agentAddress": "agent1q2dfhywtt8xazrdyzgap6gzdd7uhk4e0wmc3gjqt42esauaegcm8cuvclpj"
}

requests.put("https://agentverse.ai/v1/hosting/agents/{pathParameters.agentAddress}/code", json=data, headers={
    "Authorization": "bearer <your token here>"
}
    

Add Version Control info

Implementation: Each version of the documentation should correspond to a specific version of uAgents, with clear navigation to switch between versions.
Benefits: Ensures users can access the relevant documentation for the specific version of uAgents they are using, preventing confusion and errors.

Update warnings messages

Update warnings: have a warning sign on pages that might be out of date/currently under construction etc.
Keep track of old versions? as user base grows they might need to know what is deprecated etc

Update AI Engine Package Version in Agents 101 Course Overview

Prerequisites

  • I checked the existing issues and made sure there are no similar bug reports

Category

Incorrect or missing Content

Expected Behavior / Content

The course overview for "Agents 101 for AI Engine" should mention the correct version of the AI Engine package, which is 0.5.0.

https://pypi.org/project/uagents-ai-engine/

Observed Behavior / Content

The course overview currently mentions an outdated version of the AI Engine package, which is 0.4.0.

Screenshot 2024-08-09 at 10 59 21 PM

To Reproduce

No response

Environment Details (Optional)

No response

Failure Logs (Optional)

No response

Additional Information (Optional)

Suggestion: Dynamically display the latest version number of the AI Engine package.

Add contributions button

Community Contributions

Implementation:

  • Add a “Contribute” button, allowing users to suggest edits or improvements, ask questions, answer questions, and upvote/downvote (Stack Overflow style).
    Benefits:
  • Engages the community in maintaining and improving the documentation, helping fellow developers and enhancing the developer experience.

Issues for User-specific Inputs in different guides

User-specific Input - Agent Functions

In several guides, part of the example code must be replaced with user-specific input (for example, an agent address or an IP address).
In some cases, the code is split up into small code blocks that are all explained individually, however in other cases these appear in large code blocks that are expected to be copy/pasted by the user. The description accompanying these code blocks rarely mentions the replacements that need to be made.
I would suggest mentioning the replacement in the description. Additionally, for cases like an IP address, a description on how to find your IP address for users who do not know could be useful (eg ipconfig).

Issue with Tags and tags filtering

The tags and tag filtering aren't very intuitive:

  • can only filter by a tag from a page that already has a tag in it
  • when selecting a tag for filtering it isnt clear what tag is selected
  • its not quite clear that the tags are even selectable + what happens when you click one

Update CI to index site when changes have MDX file

So in CI I have commented the step of running node index-data-to-alogolia.js for now, as running this every-time we make a build will create a lots of repeated data in Algolia, so for that I will figure out a way in which, we will check if the commit contains any mdx file changes, then only index the changes of that committed file only, as rest of the changes already exists

Use istio to detect recent 404 errors and setup redirects

Summary

Use the built in istio metrics to be able to track the 404 errors occur on the website. This should be part of an automated process where the team can review 404 errors. In the case of dead links a temporary redirects should be setup. Otherwise this can be used a signal for missing pages / content

Add links to further readings

Links to suitable resources selected by the community for further reading on certain topics could also be added to the references page.
For example, 'Blockchain'.

Wrong/duplicated IDs for elements in Docs website

The following needs to be changed/corrected to apply GTM.

GENERAL:

  • Buttons in top nav bar: Concepts, Guides, Examples References and APIs buttons
  • Social media icons at the bottom pf the website
  • Fetch logo in Heading

HOME PAGE:

  • Home page: courses cards

CONCEPTS LANDING PAGE:

  • Boxes for Introduction resources un Concepts landing page for all topics (e.g., Agentverse, Ledger, Ai Engine…)
  • Side menus elements

GUIDES LANDING PAGE:

  • Side menus elements

EXAMPLES LANDING PAGE:

  • Side menus elements

REFERENCES LANDING PAGE:

  • Side menus elements

APIs LANDING PAGE:

  • Side menus elements

Add Interactive Code Examples

  • Implementation: Embed interactive code editors(REPL) or link to DeltaV within the documentation
  • Benefits: Provides hands on learning experience, enabling users to understand + experiment with code snippets in real-time.

Add dark mode functionality

Added Dark Mode😍 (Because light attracts bugs 😂, That’s why developers love dark mode)

Screenshot 2024-07-02 at 11 59 22 PM

Figma Preview.
Figma Design

**_- We can add a live preview feature to enhance user interaction.

  • Integrate the docs into a platform like GitBook for better usability._**

Add note suggesting that it might take some time before the agent is visible

In Register a local Agent Function on the Agentverse and Make your agents AI Engine compatible (as mentioned in point 1, there is some repetition) it says to paste your local's agent address in the Agentverse page.

However, I found that it takes at least 5 minutes after the launch of the local agent before the address is recognised, and until then, it gives an error like in the following screenshot: see (https://github.com/fetchai/docs-v2/issues/598)

Elsewhere in the guides, there is a brief mention of a 5 minutes wait (in Agent Handlers). However I feel like it might be useful to the users to add another mention in the sections mentioned above, as it wasn't obvious to me that I had to wait before the agent would be recognised.

Missing H1 Tag on Documentation Homepage

Prerequisites

  • I checked the existing issues to make sure this feature has not already been requested

Feature

The documentation homepage is missing an H1 tag. For optimal SEO performance, each page should contain exactly one H1 tag. The H1 tag serves as the primary heading and helps search engines understand the main topic of the page. Without an H1 tag, the page's SEO ranking can be negatively affected, reducing visibility in search engine results. Adding an H1 tag will improve the structure and accessibility of the content, ensuring better search engine indexing and user experience.

Additional Information (Optional)

No response

Update Next.js from 13.4.10 to 14.2.5

Prerequisites

  • I checked the existing issues to make sure this feature has not already been requested

Feature

Currently our docs is using Next.js version 13.4.10. Although there are no known security vulnerabilities in this version, it is outdated. The latest version, 14.2.5, includes new features, performance improvements, and bug fixes.

Additional Information (Optional)

No response

Issue in agents communication via wallet guide

6. Communicating with other agents wallet

Getting error:

Screenshot 2024-06-27 at 8 38 32 PM

Debugging:

As it showing babble module not found, as the error inside the uagent package library but still I try to install the babble by using “pip install babble”

But still getting error: \

Screenshot 2024-06-27 at 8 38 48 PM

Solution:

Not found! Still searching…

Hide or Remove Delete Function Group API Section

Prerequisites

  • I checked the existing issues to make sure this feature has not already been requested

Feature

We can hide or remove the "Delete Function Group" API section since it's no longer relevant. Currently, we have only three function groups:

[
  {
    "uuid": "523a7194-214f-48fd-b5be-b0e953cc35a3",
    "name": "Fetch Verified",
    "isPrivate": false
  },
  {
    "uuid": "1819040f-dc8f-4f77-9e0c-acddd66a9bd0",
    "name": "My Functions",
    "isPrivate": true
  },
  {
    "uuid": "12c8601c-cccd-42de-a5f1-7eab76ae3121",
    "name": "Public",
    "isPrivate": false
  }
]

Users can't delete any of these function groups for now, so there's no need to include that API section.

Additional Information (Optional)

No response

Incorrect Use of "Checkout" vs. "Check Out" in Documentation

Prerequisites

  • I checked the existing issues and made sure there are no similar bug reports

Category

Incorrect or missing Content

Expected Behavior / Content

We should use "check out" when referring to the verb (e.g., "Please check out this feature"). We should use "checkout" when referring to the noun (e.g., "Proceed to checkout").

Observed Behavior / Content

Most instances in our documentation incorrectly use "checkout" instead of "check out" when referring to the verb.

To Reproduce

No response

Environment Details (Optional)

No response

Failure Logs (Optional)

No response

Additional Information (Optional)

No response

Add category for links to external resources

An 'extras category that summaries all the previously mentioned links to external resources. This category also includes 'FAQs'
Much of the content for 'FAQs' can be obtained by sending surveys to team members who attended the Summit. The 'comments' section detailed in the next suggestion could also be utilised.
image

image

Correct the Canonical Tag in HTML for SEO Improvement

Prerequisites

  • I checked the existing issues to make sure this feature has not already been requested

Feature

Our current canonical tag implementation in the HTML uses a relative URL, which can cause SEO issues. The canonical tag helps search engines identify the preferred version of a webpage, and using a full URL ensures clarity and effectiveness.

<link rel="canonical" href="/docs/">

Problem:

The href attribute is a relative URL (/docs/), which can be ambiguous for search engines.
This might lead to indexing issues or duplicate content penalties, as search engines may not correctly interpret the canonical page.

Solution:
Update the canonical tag to use the full URL to make it clear and unambiguous for search engines.

Suggested Implementation:

<link rel="canonical" href="https://fetch.ai/docs/">

  • Using the full URL (https://fetch.ai/docs/) in the canonical tag ensures that search engines know exactly which URL is the canonical one.
  • This prevents potential SEO issues such as duplicate content penalties and indexing problems, leading to better search engine performance for our site.

This change will improve our site's SEO by ensuring that search engines correctly identify the canonical page, leading to better indexing and ranking.

Additional Information (Optional)

No response

Update References Page

Motivation

  • The documentation page has been recently updated, but it left the References Page to be less useful and not quite properly implemented
  • Touch up the page to maintain useful information without cluttering users with too much information

Implementation

  • Edit the sidebar to reflect the changes made from the update of the docs
  • Make the Landing page on the References page more informative as to what is included in the page

Implement Dynamic Rendering of Package Version in Documentation

Prerequisites

  • I checked the existing issues to make sure this feature has not already been requested

Feature

Currently, the package version is hard-coded in our documentation. This means every time a new version is released, we need to manually update the version number throughout the docs. This process is time-consuming and prone to errors.

We should either create a process that ensures the version is updated across all docs with every release, or better yet, implement a solution that dynamically fetches and displays the latest version of the package in the documentation. This will save time and ensure our documentation is always up-to-date.

Additional Information (Optional)

No response

Add Community Contributions button

  • Implementation: Add a “Contribute” button, allowing users to suggest edits or improvements, ask questions, answer questions and Upvote (Stack Overflow style).
  • Benefits: Engages the community in maintaining and improving the documentation, help fellow developers and help the team in improving the dev experience.

Update the uAgents Package Version in "Installing the uAgents Framework" Section

Prerequisites

  • I checked the existing issues and made sure there are no similar bug reports

Category

Incorrect or missing Content

Expected Behavior / Content

The documentation should reflect the current version of the uAgents package, which is 0.15.1 as per PyPI.

Observed Behavior / Content

The documentation currently mentions the package version as 0.12.0.

To Reproduce

No response

Environment Details (Optional)

No response

Failure Logs (Optional)

No response

Additional Information (Optional)

Suggestion: Dynamically display the latest version number of the uAgents package in the documentation to ensure it is always up to date.

Improve Agentverse Guide with Clear Login Instructions to Prevent 404 Errors

Prerequisites

  • I checked the existing issues to make sure this feature has not already been requested

Feature

Hi team,

I’ve reviewed our guide on creating Agents and Agent Functions in Agentverse using APIs:
Agent Function Creation APIs.

There’s a specific line that might affect our SEO and user experience:

"Go to Profile section in Agentverse ↗️."
If users are not logged in, they will be redirected to a 404 page. This could confuse users and hurt our SEO.

To improve this, I suggest adding clear instructions for logging in first. Here’s the revised version:

How to Get Agentverse API Tokens:

Log in to Your Agentverse Account:
Go to the Agentverse login page and log in with your credentials.
Access the Profile Section:
Once logged in, navigate to your Profile section in Agentverse.
Ensure you log in to avoid encountering a 404 error.

Please update the guide accordingly to enhance user experience and SEO.

Additional Information (Optional)

No response

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.