XThomasBU
commited on
Commit
·
4265034
1
Parent(s):
f2daaee
updated readme
Browse files
README.md
CHANGED
@@ -22,11 +22,12 @@ Clone the repository from: https://github.com/DL4DS/dl4ds_tutor
|
|
22 |
Put your data under the `storage/data` directory. Note: You can add urls in the urls.txt file, and other pdf files in the `storage/data` directory.
|
23 |
|
24 |
To create the Vector Database, run the following command:
|
25 |
-
```
|
26 |
-
|
|
|
27 |
|
28 |
To run the chainlit app, run the following command:
|
29 |
-
```chainlit run
|
30 |
|
31 |
See the [docs](https://github.com/DL4DS/dl4ds_tutor/tree/main/docs) for more information.
|
32 |
|
|
|
22 |
Put your data under the `storage/data` directory. Note: You can add urls in the urls.txt file, and other pdf files in the `storage/data` directory.
|
23 |
|
24 |
To create the Vector Database, run the following command:
|
25 |
+
```cd code```
|
26 |
+
```python -m modules.vectorstore.store_manager```
|
27 |
+
(Note: You would need to run the above when you add new data to the `storage/data` directory, or if the ``storage/data/urls.txt`` file is updated. Or you can set ``["vectorstore"]["embedd_files"]`` to True in the `code/modules/config/config.yaml` file, which would embed files from the storage directory everytime you run the below chainlit command.)
|
28 |
|
29 |
To run the chainlit app, run the following command:
|
30 |
+
```chainlit run main.py```
|
31 |
|
32 |
See the [docs](https://github.com/DL4DS/dl4ds_tutor/tree/main/docs) for more information.
|
33 |
|