Skip to content

Commit

Permalink
AUTO docusaurus 20231005
Browse files Browse the repository at this point in the history
  • Loading branch information
GitHub CI committed Oct 5, 2023
1 parent 9d5ccc2 commit 55a3623
Show file tree
Hide file tree
Showing 7 changed files with 55 additions and 6 deletions.
13 changes: 13 additions & 0 deletions docs/versioned_docs/version-3.x/changelog.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,19 @@ https://github.com/RasaHQ/rasa/tree/main/changelog/ . -->

<!-- TOWNCRIER -->

## [3.6.11] - 2023-10-05

Rasa 3.6.11 (2023-10-05)
### Bugfixes
- [#12722](https://github.com/rasahq/rasa/issues/12722): Intent names will not be falsely abbreviated in interactive training (fixes OSS-413).

This will also fix a bug where forced user utterances (using the regex matcher) will
be reverted even though they are present in the domain.
- [#12886](https://github.com/rasahq/rasa/issues/12886): Cache `EndpointConfig` session object using `cached_property` decorator instead of recreating this object on every request.
Initialize these connection pools for action server and model server endpoints as part of the Sanic `after_server_start` listener.
Also close connection pools during Sanic `after_server_stop` listener.


## [3.6.10] - 2023-09-26

Rasa 3.6.10 (2023-09-26)
Expand Down
26 changes: 26 additions & 0 deletions docs/versioned_docs/version-3.x/reference/rasa/core/run.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,3 +96,29 @@ Gracefully closes resources when shutting down server.
- `app` - The Sanic application.
- `_` - The current Sanic worker event loop.

#### create\_connection\_pools

```python
async def create_connection_pools(app: Sanic, _: AbstractEventLoop) -> None
```

Create connection pools for the agent&#x27;s action server and model server.

#### create\_action\_endpoint\_connection\_pool

```python
def create_action_endpoint_connection_pool(
agent: Agent) -> Optional["ClientSession"]
```

Create a connection pool for the action endpoint.

#### create\_model\_server\_connection\_pool

```python
def create_model_server_connection_pool(
agent: Agent) -> Optional["ClientSession"]
```

Create a connection pool for the model server.

Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,17 @@ async def is_listening_for_message(conversation_id: Text,

Check if the conversation is in need for a user message.

#### intent\_names\_from\_domain

```python
def intent_names_from_domain(domain: Any) -> List[Text]
```

Get a list of the possible intents names from the domain specification.

This is its own function as intents are non-trivial to unpack and this
warrants testing.

#### record\_messages

```python
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ def read_endpoint_config(filename: Text,
endpoint_type: Text) -> Optional["EndpointConfig"]
```

Read an endpoint configuration file from disk and extract one

config.
Read an endpoint configuration file from disk and extract one config.

#### concat\_url

Expand Down Expand Up @@ -62,6 +60,7 @@ Creates an `EndpointConfig` instance.
#### session

```python
@cached_property
def session() -> aiohttp.ClientSession
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ options:
--conversation-id CONVERSATION_ID
Specify the id of the conversation the messages are
in. Defaults to a UUID that will be randomly
generated. (default: 3f0a4820dcb74051a45a23ad3796e10e)
generated. (default: a53f63dac564444a89b698a447918197)
--endpoints ENDPOINTS
Configuration file for the model server and the
connectors as a yml file. (default: endpoints.yml)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ options:
-h, --help show this help message and exit
--conversation-id CONVERSATION_ID
Set the conversation ID. (default:
603f9da90546492ba078ff1a0141f3bc)
0c1d0df7bd3041ce92e27f67b2c290c6)
-m MODEL, --model MODEL
Path to a trained Rasa model. If a directory is
specified, it will use the latest model in this
Expand Down
2 changes: 1 addition & 1 deletion docs/versioned_docs/version-3.x/variables.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"release": "3.6.10",
"release": "3.6.11",
"rasa_sdk_version": "3.6.2"
}

0 comments on commit 55a3623

Please sign in to comment.