recall user to create rasa-net for inetr-service communication
Browse files
README.md
CHANGED
@@ -17,7 +17,7 @@ license: mit
|
|
17 |
RasaBot is an intelligent chatbot leveraging Rasa (version 2.8.3) for conversational management and a classifier microservice built with FastAPI and Outlines. It is composed of two main components running in separate Docker containers:
|
18 |
|
19 |
* **Rasa Server**: Handles conversations using Rasa.
|
20 |
-
* **Classifier Microservice**: Classifies user intents using LLM hosted by Together AI.
|
21 |
|
22 |
## Requirements
|
23 |
|
@@ -52,21 +52,29 @@ Execute the provided build script to create the necessary Docker images:
|
|
52 |
sh build.sh
|
53 |
```
|
54 |
|
55 |
-
### 4.
|
56 |
|
57 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
58 |
|
59 |
```bash
|
60 |
sh run_classifier.sh
|
61 |
```
|
62 |
|
63 |
-
Then, in a separate terminal, start the Rasa server:
|
64 |
|
65 |
```bash
|
66 |
sh run_rasa.sh
|
67 |
```
|
68 |
|
69 |
-
Your chatbot services will now be running locally.
|
70 |
|
71 |
## Usage
|
72 |
|
|
|
17 |
RasaBot is an intelligent chatbot leveraging Rasa (version 2.8.3) for conversational management and a classifier microservice built with FastAPI and Outlines. It is composed of two main components running in separate Docker containers:
|
18 |
|
19 |
* **Rasa Server**: Handles conversations using Rasa.
|
20 |
+
* **Classifier Microservice**: Classifies user intents using an LLM hosted by Together AI.
|
21 |
|
22 |
## Requirements
|
23 |
|
|
|
52 |
sh build.sh
|
53 |
```
|
54 |
|
55 |
+
### 4. Create Docker Network
|
56 |
|
57 |
+
Before running the services, create a Docker network named `rasa-net` to allow communication between the containers:
|
58 |
+
|
59 |
+
```bash
|
60 |
+
docker network create rasa-net
|
61 |
+
```
|
62 |
+
|
63 |
+
### 5. Run Services
|
64 |
+
|
65 |
+
Start the classifier service on the `rasa-net` network:
|
66 |
|
67 |
```bash
|
68 |
sh run_classifier.sh
|
69 |
```
|
70 |
|
71 |
+
Then, in a separate terminal, start the Rasa server on the `rasa-net` network:
|
72 |
|
73 |
```bash
|
74 |
sh run_rasa.sh
|
75 |
```
|
76 |
|
77 |
+
Your chatbot services will now be running locally and connected via the `rasa-net` network.
|
78 |
|
79 |
## Usage
|
80 |
|