docs(agent): Add agents development guide (#1673)

This commit is contained in:
Fangyin Cheng
2024-06-28 09:56:29 +08:00
committed by GitHub
parent 1796969bac
commit 45a960f331
43 changed files with 4010 additions and 146 deletions

View File

@@ -459,19 +459,139 @@ const sidebars = {
label: 'Agents',
items: [
{
type: "category",
label: "Cookbook",
items: [
{
type: "doc",
id: "agents/cookbook/calculator_with_agents"
},
],
type: 'doc',
id: "agents/introduction/introduction"
},
{
type: 'doc',
id: 'agents/custom_agents',
}
id: "agents/introduction/tools"
},
{
type: 'doc',
id: "agents/introduction/database"
},
{
type: 'doc',
id: "agents/introduction/planning"
},
{
type: 'doc',
id: "agents/introduction/conversation"
},
{
type: 'doc',
id: "agents/introduction/custom_agents"
},
// {
// type: "category",
// label: "Cookbook",
// items: [
// {
// type: "doc",
// id: "agents/cookbook/calculator_with_agents"
// },
// ],
// },
{
type: "category",
label: "Modules",
items: [
{
type: "category",
label: "Profile",
items: [
{
type: "doc",
id: "agents/modules/profile/profile"
},
{
type: "doc",
id: "agents/modules/profile/profile_creation"
},
{
type: "doc",
id: "agents/modules/profile/profile_to_prompt"
},
{
type: "doc",
id: "agents/modules/profile/profile_dynamic"
},
]
},
{
type: "category",
label: "Memory",
items: [
{
type: "doc",
id: "agents/modules/memory/memory"
},
{
type: "doc",
id: "agents/modules/memory/sensory_memory"
},
{
type: "doc",
id: "agents/modules/memory/short_term_memory"
},
{
type: "doc",
id: "agents/modules/memory/long_term_memory"
},
{
type: "doc",
id: "agents/modules/memory/hybrid_memory"
},
]
},
{
type: "category",
label: "Plan",
items: [
{
type: "doc",
id: "agents/modules/plan/plan"
},
]
},
{
type: "category",
label: "Action",
items: [
{
type: "doc",
id: "agents/modules/action/action"
},
]
},
{
type: "category",
label: "Resource",
items: [
{
type: "doc",
id: "agents/modules/resource/resource"
},
{
type: "doc",
id: "agents/modules/resource/tools"
},
{
type: "doc",
id: "agents/modules/resource/database"
},
{
type: "doc",
id: "agents/modules/resource/knowledge"
},
{
type: "doc",
id: "agents/modules/resource/pack"
},
]
},
],
},
],
},
{