-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
merge: remote-tracking branch 'origin/main' into insert/feat/bodypix
- Loading branch information
Showing
80 changed files
with
2,327 additions
and
305 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
name: Build & Deploy Documentation | ||
|
||
on: | ||
push: | ||
pull_request: | ||
branches: [main] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-20.04 | ||
|
||
steps: | ||
- name: Checkout repository and submodules | ||
uses: actions/checkout@v3 | ||
with: | ||
path: "src/lasr-base" | ||
|
||
- name: Install ROS Noetic | ||
run: | | ||
sudo add-apt-repository universe | ||
sudo add-apt-repository restricted | ||
sudo add-apt-repository multiverse | ||
sudo apt update | ||
sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list' | ||
sudo apt install curl # if you haven't already installed curl | ||
curl -s https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc | sudo apt-key add - | ||
sudo apt update | ||
sudo apt install ros-noetic-ros-base python3-catkin-tools | ||
- name: Build documentation package | ||
run: | | ||
source /opt/ros/noetic/setup.bash | ||
catkin build documentation | ||
- name: Use Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 20 | ||
|
||
- name: Build documentation | ||
run: | | ||
source /opt/ros/noetic/setup.bash | ||
source devel/setup.bash | ||
rosrun documentation build.py | ||
- name: Deploy to GitHub Pages | ||
uses: peaceiris/actions-gh-pages@v3 | ||
if: github.event_name != 'pull_request' && github.ref_name == 'main' | ||
with: | ||
deploy_key: ${{ secrets.DOCS_DEPLOY_KEY }} | ||
publish_dir: ./src/lasr-base/documentation/web/build | ||
external_repository: lasr-at-home/docs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
51 changes: 51 additions & 0 deletions
51
common/speech/lasr_rasa/assistants/receptionist/config.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
# The config recipe. | ||
# https://rasa.com/docs/rasa/model-configuration/ | ||
recipe: default.v1 | ||
|
||
# The assistant project unique identifier | ||
# This default value must be replaced with a unique assistant name within your deployment | ||
assistant_id: receptionist | ||
|
||
# Configuration for Rasa NLU. | ||
# https://rasa.com/docs/rasa/nlu/components/ | ||
language: en | ||
|
||
pipeline: | ||
# # No configuration for the NLU pipeline was provided. The following default pipeline was used to train your model. | ||
# # If you'd like to customize it, uncomment and adjust the pipeline. | ||
# # See https://rasa.com/docs/rasa/tuning-your-model for more information. | ||
# - name: WhitespaceTokenizer | ||
# - name: RegexFeaturizer | ||
# - name: LexicalSyntacticFeaturizer | ||
# - name: CountVectorsFeaturizer | ||
# - name: CountVectorsFeaturizer | ||
# analyzer: char_wb | ||
# min_ngram: 1 | ||
# max_ngram: 4 | ||
# - name: DIETClassifier | ||
# epochs: 100 | ||
# constrain_similarities: true | ||
# - name: EntitySynonymMapper | ||
# - name: ResponseSelector | ||
# epochs: 100 | ||
# constrain_similarities: true | ||
# - name: FallbackClassifier | ||
# threshold: 0.3 | ||
# ambiguity_threshold: 0.1 | ||
|
||
|
||
# Configuration for Rasa Core. | ||
# https://rasa.com/docs/rasa/core/policies/ | ||
policies: null | ||
# # No configuration for policies was provided. The following default policies were used to train your model. | ||
# # If you'd like to customize them, uncomment and adjust the policies. | ||
# # See https://rasa.com/docs/rasa/policies for more information. | ||
# - name: MemoizationPolicy | ||
# - name: RulePolicy | ||
# - name: UnexpecTEDIntentPolicy | ||
# max_history: 5 | ||
# epochs: 100 | ||
# - name: TEDPolicy | ||
# max_history: 5 | ||
# epochs: 100 | ||
# constrain_similarities: true |
33 changes: 33 additions & 0 deletions
33
common/speech/lasr_rasa/assistants/receptionist/credentials.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# This file contains the credentials for the voice & chat platforms | ||
# which your bot is using. | ||
# https://rasa.com/docs/rasa/messaging-and-voice-channels | ||
|
||
rest: | ||
# # you don't need to provide anything here - this channel doesn't | ||
# # require any credentials | ||
|
||
|
||
#facebook: | ||
# verify: "<verify>" | ||
# secret: "<your secret>" | ||
# page-access-token: "<your page access token>" | ||
|
||
#slack: | ||
# slack_token: "<your slack token>" | ||
# slack_channel: "<the slack channel>" | ||
# slack_signing_secret: "<your slack signing secret>" | ||
|
||
#socketio: | ||
# user_message_evt: <event name for user message> | ||
# bot_message_evt: <event name for bot messages> | ||
# session_persistence: <true/false> | ||
|
||
#mattermost: | ||
# url: "https://<mattermost instance>/api/v4" | ||
# token: "<bot token>" | ||
# webhook_url: "<callback URL>" | ||
|
||
# This entry is needed if you are using Rasa Enterprise. The entry represents credentials | ||
# for the Rasa Enterprise "channel", i.e. Talk to your bot and Share with guest testers. | ||
rasa: | ||
url: "http://localhost:5002/api" |
36 changes: 36 additions & 0 deletions
36
common/speech/lasr_rasa/assistants/receptionist/data/nlu.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
version: "3.1" | ||
|
||
nlu: | ||
- intent: fav_drink | ||
examples: | | ||
- [Orange juice](drink) | ||
- [orange juice](drink) | ||
- [cola](drink) | ||
- [Cola](drink) | ||
- [Iced tea](drink) | ||
- [iced tea](drink) | ||
- [Milk](drink) | ||
- [milk](drink) | ||
- [Red wine](drink) | ||
- [red wine](drink) | ||
- [Tropical juice](drink) | ||
- [tropical juice](drink) | ||
- My favourite drink is [cola](drink) | ||
- I like to drink [orange juice](drink) | ||
- intent: name | ||
examples: | | ||
- [Adel](name) | ||
- [Angel](name) | ||
- [Axel](name) | ||
- [Charlie](name) | ||
- [Jane](name) | ||
- [Jules](name) | ||
- [Morgan](name) | ||
- [Paris](name) | ||
- [Robin](name) | ||
- [Simone](name) | ||
- My name is [Adel](name) | ||
- It's [Jane](name) | ||
- I am [Paris](name) | ||
- I'm [Robin](name) |
11 changes: 11 additions & 0 deletions
11
common/speech/lasr_rasa/assistants/receptionist/domain.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
version: "3.1" | ||
|
||
intents: | ||
- fav_drink | ||
- name | ||
entities: | ||
- drink | ||
- name | ||
session_config: | ||
session_expiration_time: 60 | ||
carry_over_slots_to_new_session: true |
42 changes: 42 additions & 0 deletions
42
common/speech/lasr_rasa/assistants/receptionist/endpoints.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# This file contains the different endpoints your bot can use. | ||
|
||
# Server where the models are pulled from. | ||
# https://rasa.com/docs/rasa/model-storage#fetching-models-from-a-server | ||
|
||
#models: | ||
# url: http://my-server.com/models/default_core@latest | ||
# wait_time_between_pulls: 10 # [optional](default: 100) | ||
|
||
# Server which runs your custom actions. | ||
# https://rasa.com/docs/rasa/custom-actions | ||
|
||
#action_endpoint: | ||
# url: "http://localhost:5055/webhook" | ||
|
||
# Tracker store which is used to store the conversations. | ||
# By default the conversations are stored in memory. | ||
# https://rasa.com/docs/rasa/tracker-stores | ||
|
||
#tracker_store: | ||
# type: redis | ||
# url: <host of the redis instance, e.g. localhost> | ||
# port: <port of your redis instance, usually 6379> | ||
# db: <number of your database within redis, e.g. 0> | ||
# password: <password used for authentication> | ||
# use_ssl: <whether or not the communication is encrypted, default false> | ||
|
||
#tracker_store: | ||
# type: mongod | ||
# url: <url to your mongo instance, e.g. mongodb://localhost:27017> | ||
# db: <name of the db within your mongo instance, e.g. rasa> | ||
# username: <username used for authentication> | ||
# password: <password used for authentication> | ||
|
||
# Event broker which all conversation events should be streamed to. | ||
# https://rasa.com/docs/rasa/event-brokers | ||
|
||
#event_broker: | ||
# url: localhost | ||
# username: username | ||
# password: password | ||
# queue: queue |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
requests==2.31.0 | ||
rasa==3.6.5 | ||
spacy==3.6.1 | ||
spacy==3.6.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
common/speech/lasr_speech_recognition_msgs/srv/TranscribeAudio.srv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
--- | ||
string phrase |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.