Skip to content

Commit

Permalink
Merge pull request #12818 from RasaHQ/no-labs-dm2
Browse files Browse the repository at this point in the history
Removed response feature flag from intentless & rephraser
  • Loading branch information
tmbo authored Sep 18, 2023
2 parents 1314b8e + 0f60424 commit 26fef3e
Show file tree
Hide file tree
Showing 8 changed files with 38 additions and 229 deletions.
4 changes: 2 additions & 2 deletions docs/docs/concepts/flows.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ The `name` field is a required human readable name for the flow.

The `description` field is a summary of the flow. It is required, and should
describe the purpose of the flow. Other components, such as the
[LLMCommandGenerator](../llms/llm-command-generator.mdx), use the description to
[LLMCommandGenerator](../concepts/llm-command-generator.mdx), use the description to
decide when to start the flow.

### Steps
Expand Down Expand Up @@ -229,7 +229,7 @@ description matches '/error \d{3}/i' and (severity = 'high' or source contains '
### Starting a Flow

Flows can be triggered by other Rasa components, e.g. the
[LLM Command Generator](../llms/llm-command-generator.mdx). The description of
[LLM Command Generator](../concepts/llm-command-generator.mdx). The description of
each flow is very important for the LLM Command Generator, as it uses the
description to determine which flow to trigger.

Expand Down
10 changes: 5 additions & 5 deletions docs/docs/concepts/llm-command-generator.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ abstract: |
control.
---

import RasaLabsLabel from "@theme/RasaLabsLabel";
import RasaLabsBanner from "@theme/RasaLabsBanner";
:::info New in 3.7

<RasaLabsLabel />

<RasaLabsBanner version="3.7.0b2" />
The *LLM Command Generator* is part of Rasa's new
Conversational AI with Language Models (CALM) approach and available starting
with version `3.7.0`.
:::

## LLMCommandGenerator

Expand Down
15 changes: 11 additions & 4 deletions docs/docs/llms/contextual-response-rephraser.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,19 @@ abstract: |
of the conversation into account.
---

import RasaLabsLabel from "@theme/RasaLabsLabel";
import RasaLabsBanner from "@theme/RasaLabsBanner";
import RasaProLabel from "@theme/RasaProLabel";
import RasaProBanner from "@theme/RasaProBanner";

<RasaLabsLabel />
<RasaProLabel />

<RasaLabsBanner version="3.7.0b1" />
<RasaProBanner/>

:::info New in 3.7

The *Contextual Respones Rephrasing* is part of Rasa's new

Check warning on line 20 in docs/docs/llms/contextual-response-rephraser.mdx

View workflow job for this annotation

GitHub Actions / Typo CI

Respones

"Respones" is a typo. Did you mean "Response"?
Conversational AI with Language Models (CALM) approach and available starting
with version `3.7.0`.
:::

## Key Features

Expand Down
12 changes: 8 additions & 4 deletions docs/docs/llms/flow-policy.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,15 @@ abstract: |
This is a guide to implementing and managing conversational flows using the FlowPolicy.
---

import RasaDiscoveryBanner from "@theme/RasaDiscoveryBanner";
import dialogueStackEvolution from "./dialogue_stack_evolution.png";
import dialogueStackOverview from "./dialogue_stack.png";

<RasaDiscoveryBanner />
:::info New in 3.7

The *Flow Policy* is part of Rasa's new
Conversational AI with Language Models (CALM) approach and available starting
with version `3.7.0`.
:::

Rasa's Flow Policy is a state machine that allows you to manage and control your
chatbot's conversational flows. It facilitates the integration of your business
Expand Down Expand Up @@ -125,7 +129,7 @@ completing the action and incorporating its result, it moves to the next state.
A flow can be started in several ways:

- A flow is started when a Rasa component puts the flow on the stack. For
example, the [LLM Command Generator](./llm-command-generator.mdx) puts a flow
example, the [LLM Command Generator](../concepts/llm-command-generator.mdx) puts a flow
on the stack when it determines that a flow would be a good fit for the
current conversation.
- One flow can ["link" to another flow](../concepts/flows.mdx#link), which will initiate
Expand All @@ -144,7 +148,7 @@ which digressions and interruptions the flow policy can handle, refer to

For example, the user message _"oh sorry I meant John"_ is a correction to a
prior input. The `FlowPolicy` depends on another component, like the
[LLM Command Generator](./llm-command-generator.mdx), to identify it as a
[LLM Command Generator](../concepts/llm-command-generator.mdx), to identify it as a
correction and set the corresponding slots. Based on this, the `FlowPolicy`
initiates the correction flow.

Expand Down
208 changes: 0 additions & 208 deletions docs/docs/llms/llm-command-generator.mdx

This file was deleted.

2 changes: 1 addition & 1 deletion docs/docs/llms/llm-configuration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ nlg:
Additional configuration parameters are explained in detail in the documentation
pages for each of these components:
- [LLMCommandGenerator](./llm-command-generator.mdx)
- [LLMCommandGenerator](../concepts/llm-command-generator.mdx)
- [FlowPolicy](../llms/flow-policy.mdx)
- [Docseach](../llms/llm-docsearch.mdx)
- [ContextualResponseRephraser](../llms/contextual-response-rephraser.mdx)
Expand Down
14 changes: 10 additions & 4 deletions docs/docs/llms/llm-intentless.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,20 @@ abstract: |
forward without relying on intent predictions.
---

import RasaLabsLabel from "@theme/RasaLabsLabel";
import RasaLabsBanner from "@theme/RasaLabsBanner";
import RasaProLabel from "@theme/RasaProLabel";
import RasaProBanner from "@theme/RasaProBanner";
import intentlessPolicyInteraction from "./intentless-policy-interaction.png";
import intentlessMeaningCompounds from "./intentless-meaning-compounds.png";

<RasaLabsLabel />
<RasaProLabel />

<RasaLabsBanner version="3.7.0b1" />
<RasaProBanner/>

:::info New in 3.7

The *Intentless Policy* is part of Rasa's new Conversational AI with

Check warning on line 21 in docs/docs/llms/llm-intentless.mdx

View workflow job for this annotation

GitHub Actions / Typo CI

Intentless

"Intentless" is a typo. Did you mean "Intentness"?
Language Models (CALM) approach and available starting with version `3.7.0`.
:::

The new intentless policy leverages large language models (LLMs) to complement
existing rasa components and make it easier:
Expand Down
2 changes: 1 addition & 1 deletion docs/sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ module.exports = {
collapsed: false,
items: [
"llms/llm-intent",
"llms/llm-command-generator",
"concepts/llm-command-generator",
"llms/contextual-response-rephraser",
"llms/llm-docsearch",
"llms/llm-intentless",
Expand Down

0 comments on commit 26fef3e

Please sign in to comment.