Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(docs): added useful redirects in courses #1053

Merged
merged 5 commits into from
Nov 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pages/apis/agentverse/hosting.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ import {
]}
pathParameters={{
address: "agent1qvnppqyhk4hu0q64tnfkspux8hpd9zayyclhafvkz5340uqx3ax02txfll7",

}}
responses={{

Expand Down
2 changes: 0 additions & 2 deletions pages/apis/ai-engine/chat.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,6 @@ There are 4 types of messages that can be sent to the backend:
- `user_json`: This is a JSON message sent by the user.
- `stop`: This is the last message that should be sent to the backend. It indicates that the conversation has ended.


IMPORTANT: you need to either send `start` or `execute_functions`. These two can't be combined.
### Sending start message

Expand Down Expand Up @@ -665,7 +664,6 @@ responseDescription="On a successful request, there is no response"
responseDescription="Returns a list of new messages for the session, if specified then returns the messages since the last checked message. If there are no new messages, an empty list is returned. If the session is not found, a 404 error with a descriptive message is returned."
/>


## Provide feedback for a session

<ApiEndpointRequestResponse
Expand Down
4 changes: 0 additions & 4 deletions pages/apis/ai-engine/functions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,6 @@ properties={[
responseDescription="Returns a list of function summary objects associated with the user."
/>


## Fetch a function

<ApiEndpointRequestResponse
Expand Down Expand Up @@ -578,7 +577,6 @@ properties={[
responseDescription="Returns the function object (identified by function_id) that we have just started to test."
/>


## Submit a function for review

<ApiEndpointRequestResponse
Expand Down Expand Up @@ -651,7 +649,6 @@ properties={[
responseDescription="Returns the function object (identified by function_id) that we have just unpublished."
/>


## Add function to function group

<ApiEndpointRequestResponse
Expand Down Expand Up @@ -714,7 +711,6 @@ properties={[
responseDescription="Returns an empty JSON object."
/>


## Delete all user's functions
<ApiEndpointRequestResponse
apiUrl="https://agentverse.ai"
Expand Down
6 changes: 0 additions & 6 deletions pages/apis/asi-alliance-wallet/asi-wallet-apis.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -1701,7 +1701,6 @@ The wallet emits certain window events that can be useful to update the data sho

The optional URL for the currency image.


> Extra properties in:
>
> - **`NativeCurrency`**
Expand Down Expand Up @@ -1820,7 +1819,6 @@ The wallet emits certain window events that can be useful to update the data sho

<Col>


</Col>

</Row>
Expand All @@ -1844,7 +1842,6 @@ The wallet emits certain window events that can be useful to update the data sho

<Col>


</Col>

</Row>
Expand Down Expand Up @@ -1872,7 +1869,6 @@ The wallet emits certain window events that can be useful to update the data sho

<Col>


</Col>

</Row>
Expand All @@ -1891,7 +1887,6 @@ The wallet emits certain window events that can be useful to update the data sho

<Col>


</Col>

</Row>
Expand All @@ -1914,7 +1909,6 @@ The wallet emits certain window events that can be useful to update the data sho

<Col>


</Col>

</Row>
Expand Down
1 change: 0 additions & 1 deletion pages/concepts.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
import GuidesMdx from "../components/guide-mdx"
import { AgentsIcon, AgentverseIcon ,FetchNetwork, LedgerIcon} from "src/icons/main-page-icons";


<GuidesMdx content={[
{
type: "Introduction",
Expand Down
3 changes: 0 additions & 3 deletions pages/concepts/agent-services/agent-hosting.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ The Agentverse My Agents tab enables all users to get quickly started and to dep

With the world moving every increasingly towards an automated future where technology will play a greater central role in everyone's life, we will all require an agent to represent and help us in interacting and carry out operations with one other.


<ImageByTheme
darkSrc={DarkAnAgentForEveryone}
lightSrc={AnAgentForEveryone}
Expand All @@ -36,7 +35,6 @@ The **My Agents** section manages all the important steps about making sure that

The **My Agents** section is designed to scale automatically with the number of messages that your agent receives. The benefit for you is that you do not have to carry the hassle of continuously deploying your agents, given that we run them for you using cloud technology. This means that your agents will continue running and receiving messages without the need of your presence for them to be deployed. Thus, as a developer, you can focus on making the most awesome agent code!


<ImageByTheme
darkSrc={DarkScalingHosting}
lightSrc={ScalingHosting}
Expand All @@ -63,4 +61,3 @@ Hosted agents on the Agentverse can be given a human name so that you can find t
alt="hosting-name-service1"
/>


1 change: 0 additions & 1 deletion pages/concepts/ai-engine/ai-engine-intro.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import DarkSystemDiagramAiEngine from 'src/images/concepts/ai-engine/dark_system

The **AI Engine** is a system that combines [Agents ↗️](/concepts/agents/agents) with human-readable text input to create a scalable AI infrastructure that supports Large Language Models (LLMs). It is at the heart of [DeltaV ↗️](/concepts/ai-engine/deltav) and its functionalities. The goal of the AI Engine is to analyze, understand and link human input to agents by facilitating natural language interactions. The AI Engine reads user input, converts it into actionable tasks and selects the most appropriate AI agent registered in the Agentverse to perform the Objective Tasks provided by users.


<ImageByTheme
darkSrc={DarkSystemDiagramAiEngine}
lightSrc={SystemDiagramAiEngine}
Expand Down
1 change: 0 additions & 1 deletion pages/concepts/ai-engine/ai-engine-personalities.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ The following AI Engine personality types are available for users: **Talkative V
- With version **v0.25** the Talkative personality (previously associated with AI Engine V1) started to refer to AI Engine V2 (previously available under the Next Generation personality). To preserve AI Engine V1, a new **Legacy personality** had been introduced, with a scheduled removal date of September 13, 2024. With this release the following features were introduced: _Functions Metadata_ (location settings can now be assigned to functions), _Permission System_ (users can now share private function groups with others via email), _Dialogue Execution Improvements_, _Permission Sharing in Python SDK_ (added functionality to the Python SDK) and _Next Generation Personality (i.e., This was a new iteration of the Next Generation personality, now called Talkative) supports location filtering on functions with location metadata based on objectives_.
- Version **v0.26** introduced significant enhancements to the AI Engine; in particular, it introduced **GPT-4o-mini** for enhanced recommendation accuracy within the NextGeneration personality.


## Exploring the Feature Set of AI Engine Personalities

Here's a breakdown of the key functionalities offered by each personality:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ The AI Engine stands at the core of [DeltaV ↗️](https://deltav.agentverse.ai
alt="ai-with-personal-data"
/>


This system is equipped with personalized capabilities, supported by an internal agent that performs tasks efficiently. An internal agent is created by the AI Engine and made available for communication via the DeltaV user interface. The AI Engine interprets the human text input provided to the agent and starts working asynchronously on your behalf as soon as it receives your intent. This customized method uses Large Language Models (LLMs), which are essential for improving the AI Engine's understanding, coordination and problem-solving capabilities.

## Establishing connections
Expand Down
1 change: 0 additions & 1 deletion pages/concepts/introducing-fetchai.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ Agents register to Almanac so that they can be discovered in the network by othe

**Agents** are programs designed to operate freely and communicate with whomever they're programmed to. Agents can connect, search, and transact in order to create dynamic markets, and they can be programmed with logic to interact both within their environment and with other agents in the network. Because they're siloed, and decentralized they can safely accomplish particular activities and objectives without requiring human participation. Our documentation gets your started on building an agent to be part [of the network ↗️](/guides/agents/getting-started/create-a-uagent)


Agents can come together to become multi-agent workflows, single agents which call one another to complete a task. This can be done natively, or with AI-Engine.

Agents are built with the **uAgents Framework**, a lightweight library designed to facilitate the development of decentralized **Agents**. At the uAgents core is an open sourced communication protocol for agents.
Expand Down
10 changes: 0 additions & 10 deletions pages/examples/advanced/async-loops.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ In this example, we demonstrate how to use agents to communicate and exchange st

loop = asyncio.get_event_loop()


agent = Agent(
name="looper",
seed="<YOUR_SEED>",
Expand All @@ -38,23 +37,19 @@ In this example, we demonstrate how to use agents to communicate and exchange st
agents=[agent],
)


@agent.on_event("startup")
async def startup(ctx: Context):
ctx.logger.info(">>> Looper is starting up.")


@agent.on_event("shutdown")
async def shutdown(ctx: Context):
ctx.logger.info(">>> Looper is shutting down.")


async def coro():
while True:
print("Doing hard work...")
await asyncio.sleep(1)


if __name__ == "__main__":
print("Attaching the agent or bureau to the external loop...")
loop.create_task(coro())
Expand Down Expand Up @@ -83,7 +78,6 @@ In this example, we demonstrate how to use agents to communicate and exchange st

loop = asyncio.get_event_loop()


agent = Agent(
name="looper",
seed="<YOUR_SEED>",
Expand All @@ -95,23 +89,19 @@ In this example, we demonstrate how to use agents to communicate and exchange st
loop=loop,
)


@agent.on_event("startup")
async def startup(ctx: Context):
ctx.logger.info(">>> Looper is starting up.")


@agent.on_event("shutdown")
async def shutdown(ctx: Context):
ctx.logger.info(">>> Looper is shutting down.")


async def coro():
while True:
print("Doing hard work...")
await asyncio.sleep(1)


if __name__ == "__main__":
print("Starting the external loop from the agent or bureau...")
loop.create_task(coro())
Expand Down
1 change: 0 additions & 1 deletion pages/examples/advanced/chat_api_example.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,6 @@ Engine ↗️](/concepts/ai-engine/ai-engine-intro) and create [DeltaV ↗️](h
- `user_choice` - the choice of subtask user wants AI-Engine to use.
- `token` - AI-Engine fauna token to connect DeltaV or AI-Engine.


8. `send_user_message` function:

``` python
Expand Down
9 changes: 0 additions & 9 deletions pages/examples/advanced/deltaV-dialogues.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -40,22 +40,18 @@ Each dialogue transition needs a separate message:
"""I initiate ChitChat dialogue request"""
pass


class AcceptChitChatDialogue(Model):
"""I accept ChitChat dialogue request"""
pass


class ChitChatDialogueMessage(DialogueMessage):
"""ChitChat dialogue message"""
pass


class ConcludeChitChatDialogue(Model):
"""I conclude ChitChat dialogue request"""
pass


class RejectChitChatDialogue(Model):
"""I reject ChitChat dialogue request"""
pass
Expand Down Expand Up @@ -117,7 +113,6 @@ Setup the functions making API calls to get ticker symbol and stock price:
# do something when the dialogue is initiated
await ctx.send(sender, AcceptChitChatDialogue())


@chitchat_dialogue.on_start_dialogue(AcceptChitChatDialogue)
async def accepted_chitchat(
ctx: Context,
Expand All @@ -128,7 +123,6 @@ Setup the functions making API calls to get ticker symbol and stock price:
f"session with {sender} was accepted. This shouldn't be called as this agent is not the initiator."
)


@chitchat_dialogue.on_reject_session(RejectChitChatDialogue)
async def reject_chitchat(
ctx: Context,
Expand All @@ -138,7 +132,6 @@ Setup the functions making API calls to get ticker symbol and stock price:
# do something when the dialogue is rejected and nothing has been sent yet
ctx.logger.info(f"Received conclude message from: {sender}")


@chitchat_dialogue.on_continue_dialogue(ChitChatDialogueMessage)
async def continue_chitchat(
ctx: Context,
Expand All @@ -161,7 +154,6 @@ Setup the functions making API calls to get ticker symbol and stock price:
except EOFError:
await ctx.send(sender, ConcludeChitChatDialogue())


@chitchat_dialogue.on_end_session(ConcludeChitChatDialogue)
async def conclude_chitchat(
ctx: Context,
Expand All @@ -172,7 +164,6 @@ Setup the functions making API calls to get ticker symbol and stock price:
ctx.logger.info(f"Received conclude message from: {sender}; accessing history:")
ctx.logger.info(chitchat_dialogue.get_conversation(ctx.session))


agent.include(chitchat_dialogue, publish_manifest=True)

```
Expand Down
5 changes: 1 addition & 4 deletions pages/examples/advanced/open-dialogue-chitchat.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ This script sets up the `ChitChatDialogue` class, This system includes nodes rep
- Open a terminal and create a directory using `mkdir Dialogues` and navigate into it with `cd Dialogues`.
- Create a python file `chitchat.py` in `Dialogues` directory.


<CodeGroup hasCopy isOSFile>
<DocsCode mac={true}>
```py copy filename="mac"
Expand Down Expand Up @@ -208,7 +207,6 @@ The contents of this script are to be shared between the agents that want to use
- if any of the agent sends `exit` message the dialogue is concluded.
- Run `cd ..` to go out of `Dialogues` directory and create `agent1.py` Python script


<CodeGroup hasCopy isOSFile>
<DocsCode mac={true}>
```py copy filename="mac"
Expand Down Expand Up @@ -487,7 +485,6 @@ The contents of this script are to be shared between the agents that want to use
ctx, CHIT_AGENT_ADDRESS, InitiateChitChatDialogue()
)


if __name__ == "__main__":
print(f"Agent address: {agent.address}")
agent.run()
Expand All @@ -512,7 +509,7 @@ The contents of this script are to be shared between the agents that want to use
- This agent will automatically attempt to initiate a dialogue by sending an `InitiateChitChatDialogue` message to `agent1`.

## Expected output

- `agent1` logger/terminal output:

```
Expand Down
10 changes: 3 additions & 7 deletions pages/examples/advanced/predefined-dialogue-chitchat.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ This example illustrates an automated dialogue scenario using a hardcoded dialog
</DocsCode>

</CodeGroup>

- Import required libraries.

```python
Expand Down Expand Up @@ -237,14 +237,14 @@ Include all the above mentioned script sections into a single script and save it
## Step 2: setting up the agents

These two agents use the `hardcoded_chitchat` dialogue system to automate the interaction with minimal intervention. The dialogue is mostly automated, with `agent3` configured to respond to initiation and continue based on predefined rules, and `agent4` automatically initiating the conversation.

### Setting up `agent1`

`agent1` is designed to receive and respond to messages according to hardcoded rules within the ChitChatDialogue class.

- Navigate to your working directory and create a Python script named `agent1.py`.
- Copy the following script into `agent1.py`:

<CodeGroup hasCopy isLocalHostedFile>
<DocsCode local={true}>

Expand Down Expand Up @@ -296,7 +296,6 @@ These two agents use the `hardcoded_chitchat` dialogue system to automate the in
except EOFError:
await ctx.send(sender, ConcludeChitChatDialogue())


agent.include(chitchat_dialogue) # Including dialogue in agent

if __name__ == "__main__":
Expand Down Expand Up @@ -335,7 +334,6 @@ These two agents use the `hardcoded_chitchat` dialogue system to automate the in
endpoint="http://127.0.0.1:8002/submit",
)


# Instantiate the dialogues
chitchat_dialogue = ChitChatDialogue(
version="0.1",
Expand All @@ -351,7 +349,6 @@ These two agents use the `hardcoded_chitchat` dialogue system to automate the in
ctx.logger.info(f"Returning: {msg.text}")
await ctx.send(sender, ChitChatDialogueMessage(text=msg.text))


# Initiate dialogue after 5 seconds
@agent.on_event("startup")
async def start_cycle(ctx: Context):
Expand All @@ -360,7 +357,6 @@ These two agents use the `hardcoded_chitchat` dialogue system to automate the in
ctx, CHIT_AGENT_ADDRESS, InitiateChitChatDialogue()
)


agent.include(chitchat_dialogue)

if __name__ == "__main__":
Expand Down
Loading
Loading