Skip to content

Commit 65b64ee

Browse files
authored
Update requirements.txt (#331)
2 parents cd8e629 + c1838dd commit 65b64ee

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

auto_eval/ds1000_scripts/requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ scikit-learn==1.4.0
99
scipy==1.12.0
1010
statsmodels==0.14.1
1111
xgboost==2.0.3
12-
tensorflow==2.8.0
13-
yaml
12+
tensorflow==2.11.1
13+
yaml

website/blog/role.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@ and the current flow actually incurred unnecessary LLM call overhead to generate
6161
Second, it does not make sense to represent the instructions in variables.
6262
The instructions are not data to be processed, but a text guide for the agent to follow.
6363

64-
For these reasons, we introduced the concept of [roles](../docs/concepts/role) in TaskWeaver.
64+
For these reasons, we introduced the concept of [roles](../docs/concepts/role.md) in TaskWeaver.
6565
Roles are actually not new in TaskWeaver as there are already roles like `Planner` and `CodeInterpreter`.
66-
To add a new role, the developer can follow the documentation [here](../docs/concepts/role).
66+
To add a new role, the developer can follow the documentation [here](../docs/concepts/role.md).
6767
In general, a role is a class that inherits the `Role` class and implements the `reply` method.
6868
The `reply` method is the function that the agent calls to interact with the role, which has the
6969
following signature:
@@ -73,7 +73,7 @@ def reply(self, memory: Memory, **kwargs) -> Post:
7373
# implementation
7474
```
7575

76-
It takes the `memory` object, which is the memory of the agent, and returns a [Post](../docs/concepts/post) object, which is the response of the role to the Planner.
76+
It takes the `memory` object, which is the memory of the agent, and returns a [Post](../docs/concepts/post.md) object, which is the response of the role to the Planner.
7777
With the `memory` object, the role can access the history of the conversation and the context of the conversation.
7878
You may have noticed that all roles in TaskWeaver can only talk to the Planner, not to each other.
7979
If a role needs to talk to another role, it should go through the Planner.
@@ -94,7 +94,7 @@ flowchart TD
9494
B --response--> A
9595
```
9696

97-
The communication between the Planner and the roles is done through the [Post](../docs/concepts/post) object.
97+
The communication between the Planner and the roles is done through the [Post](../docs/concepts/post.md) object.
9898
In other words, they talk to each other by sending messages in natural language.
9999
What if a role needs to send some data to another role? If this is the case, we would recommend to implement a new plugin
100100
instead of a new role. Otherwise, you may need to store the data in an external storage like a database and let the other role to access it.
@@ -107,7 +107,7 @@ Even though we can emphasize the importance of the Planner to pass all the neces
107107
it is still possible that the Planner misses some information.
108108

109109
To address this challenge, we introduce the concept of `board` in TaskWeaver.
110-
The `board` is a shared memory space that can be accessed by all roles, which is associated with the current [Round](../docs/concepts/round).
110+
The `board` is a shared memory space that can be accessed by all roles, which is associated with the current [Round](../docs/concepts/round.md).
111111
The `board` is a dictionary-like object that can store any information that is needed by the roles.
112112
Each role can decide to write or read any information from the `board`.
113113

0 commit comments

Comments
 (0)