Skip to content

Commit 609ecc2

Browse files
karanbirsinghecfan
andauthored
Apply suggestions from code review
Co-authored-by: Esther Fan <[email protected]>
1 parent 3894665 commit 609ecc2

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

articles/logic-apps/create-agent-workflows.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -671,12 +671,14 @@ Here are some approaches to reduce your agent's chat history:
671671

672672
- Carefully craft your system instructions and prompts to control the model's behavior.
673673

674-
- (Experimental) Opt in to chat reduction to lower the maximum number of tokens or messages kept in chat history and passed into the model.
675-
A workflow agent has almost the same advanced parameters as the
676-
[Azure OpenAI built-in, service provider connector](/azure/logic-apps/connectors/built-in/reference/openai/), except for the **Agent History Reduction Type** advanced parameter, which exists only in the agent. This parameter controls the chat history that the agent maintains, based on the maximum number of tokens or messages. This feature is in active development and may not work for all scenarios.
677-
To opt in, follow these steps:
678-
- Switch the **Agent History Reduction Type** between tokens and messages.
679-
- Change the maximum number of tokens or messages in chat history.
674+
- **Experimental capability**: You have the option to try chat reduction so you can reduce the maximum number of tokens or messages to keep in chat history and pass into the model.
675+
676+
A workflow agent has almost the same advanced parameters as the [Azure OpenAI built-in, service provider connector](/azure/logic-apps/connectors/built-in/reference/openai/), except for the **Agent History Reduction Type** advanced parameter, which exists only in the agent. This parameter controls the chat history that the agent maintains, based on the maximum number of tokens or messages.
677+
678+
This capability is in active development and might not work for all scenarios. You can change the **Agent History Reduction Type** option to reduce the limit on tokens or messages. You then specify the numerical limit that you want.
679+
680+
To try the capability, follow these steps:
681+
680682
1. On the designer, select the agent's title bar to open the information pane.
681683
1. On the **Parameters** tab, find the **Advanced parameters** section.
682684
1. Check whether the parameter named **Agent History Reduction Type** exists. If not, open the **Advanced parameters** list, and select that parameter.

0 commit comments

Comments
 (0)