Skip to content

Commit

Permalink
Merge branch 'main' into fix_changelog_check_for_alphas
Browse files Browse the repository at this point in the history
  • Loading branch information
sanchariGr authored May 24, 2023
2 parents 75f6469 + add44df commit 7953647
Show file tree
Hide file tree
Showing 6 changed files with 305 additions and 23 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/continous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -859,11 +859,11 @@ jobs:
# Return 'true' if tag version is equal or higher than the latest tagged Rasa version
IS_NEWEST_VERSION=$((printf '%s\n%s\n' "${LATEST_TAGGED_NON_ALPHA_RASA_VERSION}" "$CURRENT_TAG" \
| sort -V -C && echo true || echo false) || true)
# Temporarily the script gets released for all release candidates
# Avoid that the script gets released for alphas or release candidates
if [[ "${IS_NEWEST_VERSION}" == "true" && "$CURRENT_TAG" =~ ^[0-9.]+$ ]]; then
echo "is_newest_version=true" >> $GITHUB_OUTPUT
else
echo "is_newest_version=true" >> $GITHUB_OUTPUT
echo "is_newest_version=false" >> $GITHUB_OUTPUT
fi
- name: Check if a base image exists
Expand Down Expand Up @@ -1022,6 +1022,7 @@ jobs:
uses: docker/setup-qemu-action@e81a89b1732b9c48d79cd809d8d81d79c4647a18

- name: Free disk space
if: needs.changes.outputs.docker == 'true'
# tries to make sure we do not run out of disk space, see
# https://github.community/t5/GitHub-Actions/BUG-Strange-quot-No-space-left-on-device-quot-IOExceptions-on/td-p/46101
run: |
Expand All @@ -1047,27 +1048,29 @@ jobs:
run: echo ${{ steps.buildx.outputs.platforms }}

- name: Login to DockerHub Registry 🔢
if: needs.changes.outputs.docker == 'true'
run: echo ${{ secrets.DOCKERHUB_PASSWORD }} | docker login -u ${{ env.DOCKERHUB_USERNAME }} --password-stdin || true

- name: Copy Segment write key to the package
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') && github.repository == 'RasaHQ/rasa'
if: needs.changes.outputs.docker == 'true' && github.event_name == 'push' && startsWith(github.ref, 'refs/tags') && github.repository == 'RasaHQ/rasa'
env:
RASA_TELEMETRY_WRITE_KEY: ${{ secrets.RASA_OSS_TELEMETRY_WRITE_KEY }}
RASA_EXCEPTION_WRITE_KEY: ${{ secrets.RASA_OSS_EXCEPTION_WRITE_KEY }}
run: |
./scripts/write_keys_file.sh
- name: Build Docker image
if: needs.changes.outputs.docker == 'true'
run: |
docker buildx bake --set *.platform=${{ matrix.arch }} -f docker/docker-bake.hcl ${{ matrix.image }}
- name: Push image with main tag 📦
if: github.event_name == 'push' && github.ref == 'refs/heads/main' && github.repository == 'RasaHQ/rasa'
if: needs.changes.outputs.docker == 'true' && github.event_name == 'push' && github.ref == 'refs/heads/main' && github.repository == 'RasaHQ/rasa'
run: |
docker buildx bake --set *.platform=${{ matrix.arch }} -f docker/docker-bake.hcl ${{ matrix.image }} --push
- name: Push image with ${{github.ref}} tag 📦
if: github.event_name == 'push' && env.IS_TAG_BUILD == 'true' && github.repository == 'RasaHQ/rasa'
if: needs.changes.outputs.docker == 'true' && github.event_name == 'push' && env.IS_TAG_BUILD == 'true' && github.repository == 'RasaHQ/rasa'
run: |
IS_NEWEST_VERSION=${{ needs.build_docker_base_images_and_set_env.outputs.is_newest_version }}
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@ https://github.com/RasaHQ/rasa/tree/main/changelog/ . -->

<!-- TOWNCRIER -->

## [3.5.10] - 2023-05-23

Rasa 3.5.10 (2023-05-23)
### Improved Documentation
- [#12437](https://github.com/rasahq/rasa/issues/12437): Added documentation for spaces alpha


## [3.5.9] - 2023-05-19

Rasa 3.5.9 (2023-05-19)
Expand Down
40 changes: 22 additions & 18 deletions docs/docs/glossary.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ description: Glossary for all Rasa-related terms
## [Action](./actions.mdx)

A single step that a bot takes in a conversation (e.g. calling an API or sending a response back to the user).

## [Action Server](https://rasa.com/docs/action-server/)

The server that runs custom action code, separate from Rasa. Rasa maintains the Rasa SDK in Python for implementing custom actions, although it's also possible to write custom actions in other languages.
The server that runs custom action code, separate from Rasa. Rasa maintains the Rasa SDK in Python for implementing custom actions, although it's also possible to write custom actions in other languages.

## Annotation

Adding labels to messages and conversations so that they can be used to train a model.

## [Business Logic](./business-logic.mdx)

Conditions that need to be fulfilled due to business requirements. For example: requiring a first and last name, an address, and a password before an account can be created. In a Rasa assistant, business logic is implemented using rule-based actions like [forms](./forms.mdx).
Expand All @@ -30,11 +30,11 @@ description: Glossary for all Rasa-related terms
## CMS

A way to store bot responses externally instead of including them directly in the domain. Content Management Systems decouple response text from training data. For more information, see [NLG Servers](./nlg.mdx).

## [Conversation-Driven Development (CDD)](./conversation-driven-development.mdx)

The process of using user messages and conversation data to influence the design of an assistant and train the model, combined with engineering best practices. There are 6 steps that make up CDD: Share, Review, Annotate, Fix, Track, and Test.

## [Conversation Tests](./testing-your-assistant.mdx)

Modified story format that includes the full text of the user message in addition to the intent label. Test conversations are saved to a test set file (conversation_tests.md), which is used to evaluate the model’s predictions across an entire conversation.
Expand Down Expand Up @@ -98,7 +98,7 @@ Dual Intent and Entity Transformer. The default NLU architecture used by Rasa, w
## [Interactive Learning](./writing-stories.mdx#using-interactive-learning)

In the Rasa CLI, a training mode where the developer corrects and validates the assistant’s predictions at every step of the conversation. The conversation can be saved to the story format and added to the assistant’s training data.

## [Knowledge Base / Knowledge Graph](https://rasa.com/docs/action-server/knowledge-bases)

A queryable database that represents complex relationships and hierarchies between objects. Knowledge Base Actions allow Rasa to fetch information from a knowledge base and use it in responses.
Expand All @@ -120,10 +120,10 @@ Dual Intent and Entity Transformer. The default NLU architecture used by Rasa, w
Natural Language Generation (NLG) is the process of generating natural language messages to send to a user.

Rasa uses a simple template-based approach for NLG. Data-driven approaches (such as neural NLG) can be implemented by creating a custom NLG component.

## [NLU](./nlu-training-data.mdx)

Natural Language Understanding (NLU) deals with parsing and understanding human language into a structured format.
Natural Language Understanding (NLU) deals with parsing and understanding human language into a structured format.

## [Pipeline](./tuning-your-model.mdx)

Expand All @@ -136,27 +136,27 @@ Dual Intent and Entity Transformer. The default NLU architecture used by Rasa, w
## Rasa Core

(Outdated - Rasa Core and Rasa NLU were merged into one package in 1.x. The functionality of Core is now referred to as dialogue management)

The dialogue engine that decides what to do next in a conversation based on the context. Part of the Rasa library.

## Rasa NLU

(Outdated - Rasa Core and Rasa NLU were merged into one package in 1.x. The functionality of Rasa NLU is now referred to as NLU)

Rasa NLU is the part of Rasa that performs Natural Language Understanding ([NLU](#nlu)), including intent classification and entity extraction.

## [NLU Component](./components.mdx)

An element in the Rasa NLU pipeline (see [Pipeline](#pipeline)) that processes incoming messages. Components perform tasks ranging from entity extraction to intent classification to pre-processing.

## [Rasa X/Enterprise](https://rasa.com/docs/rasa-enterprise/)

A tool for [conversation-driven development](./conversation-driven-development.mdx). Rasa X/Enterprise helps teams share and test an assistant built with Rasa, annotate user messages, and view conversations.

## [Retrieval Intent](./chitchat-faqs.mdx)

A special type of intent that can be divided into smaller sub-intents. For example, an FAQ retrieval intent has sub-intents that represent each individual question the assistant knows how to answer.

## [REST Channel](./connectors/your-own-website.mdx)

A messaging channel used to build custom connectors. Includes an input channel, where user messages can be posted to Rasa, and the ability to specify a callback URL, where the bot’s response actions will be sent.
Expand All @@ -177,12 +177,12 @@ Dual Intent and Entity Transformer. The default NLU architecture used by Rasa, w

## [Story](./stories.mdx)

Training data format for the dialogue model, consisting of a conversation between a user and a bot. The user's messages are represented as annotated intents and entities, and the bot’s responses are represented as a sequence of actions.
Training data format for the dialogue model, consisting of a conversation between a user and a bot. The user's messages are represented as annotated intents and entities, and the bot’s responses are represented as a sequence of actions.

## [TED Policy](./policies.mdx#ted-policy)

Transformer Embedding Dialogue Policy. TED is the default machine learning-based dialogue policy used by Rasa. TED complements rule-based policies by handling previously unseen situations, where no rule exists to determine the next action.
Transformer Embedding Dialogue Policy. TED is the default machine learning-based dialogue policy used by Rasa. TED complements rule-based policies by handling previously unseen situations, where no rule exists to determine the next action.

## [Template / Response / Utterance](./responses.mdx)

A message template used to respond to a user. Can include text, buttons, images, and other attachments.
Expand All @@ -200,3 +200,7 @@ Dual Intent and Entity Transformer. The default NLU architecture used by Rasa, w
## Word embedding / Word vector

A vector of floating point numbers that represent the meaning of a word. Words that have similar meanings tend to have similar vectors. Word embeddings are often used as an input to machine learning algorithms.

## Rasa Primitive

A foundational component used for structuring conversations within Rasa, such as an intent, entity, slot, form, response, action, rule, or story.
Loading

0 comments on commit 7953647

Please sign in to comment.