Skip to content

Commit

Permalink
Reasoning: Update references to UI elements
Browse files Browse the repository at this point in the history
  • Loading branch information
Cohee1207 committed Feb 8, 2025
1 parent 43bac30 commit 422eb8f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Usage/Prompts/reasoning.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Most reasoning-related settings can be configured in the "Reasoning" section of

Reasoning blocks appear in the chat as collapsible message sections. They can be added manually, automatically by the backend, or through response parsing (see below).

By default, reasoning blocks are collapsed to save space. Click a block to expand and view its contents. You can set blocks to expand automatically by enabling **<i class="fa-solid fa-expand"></i> Auto-Expand Reasoning** in the reasoning settings.
By default, reasoning blocks are collapsed to save space. Click a block to expand and view its contents. You can set blocks to expand automatically by enabling **<i class="fa-solid fa-expand"></i> Auto-Expand** in the reasoning settings.

When a reasoning block is expanded, you can copy or edit its contents using the **<i class="fa-solid fa-copy"></i> Copy** and **<i class="fa-solid fa-pencil"></i> Edit** buttons.

Expand Down Expand Up @@ -47,7 +47,7 @@ Supported sources:

### By Parsing

Enable "Auto-Parse Reasoning" in the **<i class="fa-solid fa-font"></i> Advanced Formatting** panel to automatically parse reasoning from the model's output.
Enable "Auto-Parse" in the **<i class="fa-solid fa-font"></i> Advanced Formatting** panel to automatically parse reasoning from the model's output.

The response must contain a reasoning section wrapped in configured Prefix and Suffix sequences. The sequences provided by default correspond to the DeepSeek R1 reasoning format.

Expand All @@ -67,15 +67,15 @@ For streamed responses, reasoning will only be parsed after the stream completes

## Prompting with Reasoning

By default, recognized reasoning block contents are not sent back to the model. To include reasoning in prompts, enable "Add Reasoning to Prompts" in the **<i class="fa-solid fa-font"></i> Advanced Formatting** panel. Content will be wrapped in configured Prefix and Suffix sequences and separated by a configured Separator. The Max Additions setting controls how many reasoning blocks are included.
By default, recognized reasoning block contents are not sent back to the model. To include reasoning in prompts, enable "Add to Prompts" in the **<i class="fa-solid fa-font"></i> Advanced Formatting** panel. Content will be wrapped in configured Prefix and Suffix sequences and separated by a configured Separator. The Max Additions numeric setting controls how many reasoning blocks can be included, counting from the end of the prompt.

!!!
Most model providers do not recommend sending CoT back to the model in multi-turn conversations.
!!!

## Regex Scripts

Regular expression scripts from the Regex extension can be applied to the contents of reasoning blocks. Check "Reasoning" in the "Affects" section of the script editor to target reasoning blocks specifically.
Regular expression scripts from the [Regex extension](/extensions/Regex.md) can be applied to the contents of reasoning blocks. Check "Reasoning" in the "Affects" section of the script editor to target reasoning blocks specifically.

Different ephemerality options affect reasoning blocks in the following ways:

Expand Down

0 comments on commit 422eb8f

Please sign in to comment.