...
Optional Pipeline Connection
The pipeline issues have now been resolved, and updated instructions are included below. However, due to the earlier delays, we are making this component optional. Connecting your entire pipeline will now still count as an extension (See Assessment Rubric for more information).
Key Points:
If you
...
choose to keep your intent and slot classifier and
...
MARBEL+Dialogflow agent separate, that is
...
completely fine and will not negatively
...
affect your grade.
...
Connecting the entire pipeline is now optional but is considered an "easier" extension and will count
...
toward your extensions
...
.
If you do choose not to connect your entire pipeline then , you can do focus on implementing your exclusion features and extensions directly in Dialogflow. To see more information go For detailed guidance, refer to the Excluding Exclusion Features section and its related subpages Dialogflow - Excluding Features . If you do .
However, if you decide to connect your pipeline we expect , please ensure that these two sections are fully completed within your intent and slot classifier.
...
Instructions for Connecting and Running the Pipeline
Setting Up the New Pipeline Connection
If you decide to be completed in your intent and slot classifier. See connect your pipeline, follow these updated instructions carefully. Ensure you meet the prerequisites and run the commands in the correct sequence.
Prerequisites:
Activate PCA25:
Ensure that PCA25 is activated in your environment.Model Checkpoints:
Confirm you have a trained model checkpoint saved in thenlu.utils.checkpoints
folder.Replace File:
Replace the existing file located at:Code Block social-interaction-cloud/sic_framework/services/eis/eiscomponent.py
with the updated
eiscomponent.py
file provided:
. To use Dialogflow with this file this variable should be changed to False on line 105.View file name eiscomponent.py Code Block # If true then you use your intent and slot classifier including Whisper otherwise Dialogflow self.params.nlu = False
Steps to Run the Pipeline:
Run each of the following commands in separate terminals after running your redis server:
Run Whisper:
Start the Whisper component to handle speech-to-text conversion:Code Block run-whisper
Note: The first time you use Whisper, the transcription may take some time due to downloading the model. Be patient during this process. If it still takes a long time after the first time read the top of the eiscomponent.py file.
Run NLU:
Start the natural language understanding (NLU) module:Code Block run-nlu
Run Webserver:
Launch the webserver for pipeline integration:Code Block run-webserver
Start Framework:
Initialize the framework:Code Block start-framework
Run EIS:
Start the External Interface Service (EIS):Code Block run-eis
Launch Localhost:
Open your browser and navigate to the localhost start page.Run MARBEL Agent in Eclipse:
Start the MARBEL agent within Eclipse. Ensure the agent connects successfully to the pipeline.