Skip to content

Commit

Permalink
Fix NLU summary position
Browse files Browse the repository at this point in the history
  • Loading branch information
brunohjs committed Oct 23, 2023
1 parent 423eb01 commit 07a5d64
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/markdown/another_sample_model_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
- [Overview](#overview)
- [Config](#configs)
- [Intents](#intents)
- [NLU](#nlu)
- [Entities](#entities)
- [NLU](#nlu)
- [Core](#core)
- [E2E Coverage](#e2e)

Expand Down
2 changes: 1 addition & 1 deletion docs/markdown/sample_model_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
- [Overview](#overview)
- [Config](#configs)
- [Intents](#intents)
- [NLU](#nlu)
- [Entities](#entities)
- [NLU](#nlu)
- [Core](#core)
- [E2E Coverage](#e2e)

Expand Down
2 changes: 1 addition & 1 deletion rasa_model_report/controllers/markdown_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def build_summary(self) -> str:
if os.path.isfile(self.config_report_path):
sections.insert(1, " - [Config](#configs)\n")
if self.nlu.is_connected():
sections.insert(3, " - [NLU](#nlu)\n")
sections.insert(4, " - [NLU](#nlu)\n")

return f"## Index\n{''.join(sections)}\n"

Expand Down

0 comments on commit 07a5d64

Please sign in to comment.