Skip to content

Commit

Permalink
Update.
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoLjl committed Nov 19, 2024
1 parent 47c9985 commit d9519de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/docs/topics/captainagent/agent_library.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ A simple agent in agent library requires three fields:
- system_message: This provides the system message of the agent for initialization.
- name: The name of the agent.

An example of the agent library looks like:
An example of the agent library is as follows.
```
[
"description": "The Python_Programming_Expert specializes in using Python's pandas and numpy libraries to manipulate large data sets, particularly focusing on creating and analyzing a new 'STEM' feature from educational datasets, and works collaboratively in a multidisciplinary team.",
Expand All @@ -13,7 +13,7 @@ An example of the agent library looks like:
]
```

We provide an example in `notebook/captainagent_expert_library.json`.
We provide a predefined agent library in `notebook/captainagent_expert_library.json`.

## Adding advanced agents
We also support adding agents with advanced capability to the library, aside from agents with different system message. Just need to add a `model_path` field and any other arguments that needs to pass while initialization. For example, to add a WebSurferAgent:
Expand Down

0 comments on commit d9519de

Please sign in to comment.