File size: 948 Bytes
01523b5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Database Diagnosis

Inherited from *nlp_classroom_3players_withtool*

### Changes

- Roles

    - *Chief DBA*: In charge of anomaly detection and diagnosis scheduling
    - *XXX Agent*: In charge of a specific diagnosis region (e.g., Memory Agent handles problems of high memory usage)

- Actions

    - We remove *RaiseHand* and *CallOn* actions, and each agent can annouce their analysis by order

- Tools

    - We support the *[DB_diag](https://github.com/OpenBMB/BMTools/tree/main/bmtools/tools/db_diag)* tool in bmtools

- Memory

    - In the prompt of each agent, we place the memory for *conversation history* before *tool_observation*, which is extremely important to conduct actions with close relations (e.g., diagnosis and speak)
    - Use *chat_history* for memory_type

- LLM

    - In current version, gpt-4 shows superior performance over text-davinci-003
    - Increase max_tokens for complex analysis tasks (e.g., 512 or 1024)