1
00:00:05,920 --> 00:00:15,220
In this lesson, we are going to talk about the examples of the m file and the data folder we have provided

2
00:00:15,220 --> 00:00:17,530
in the GitHub repository.

3
00:00:24,790 --> 00:00:34,600
So in order for you to understand better how to write your own environment, file the dot m file where

4
00:00:34,600 --> 00:00:44,500
you are going to keep your secret credentials to connect with external APIs like OpenAI and and others,

5
00:00:44,500 --> 00:00:53,740
we have provided a sample of the dot m file we have been using during this exercises.

6
00:00:53,980 --> 00:01:03,430
A this dot m file that you will find in the GitHub repository is of course a empty.

7
00:01:03,610 --> 00:01:10,660
It only has, you know, the the names of the credentials, but it it do not have the keys.

8
00:01:10,660 --> 00:01:19,840
But it's just for you to understand the format that you will have to use to create your own dot m file.

9
00:01:19,840 --> 00:01:28,990
Remember, this file is going to store your secret credentials so you do not have to load it into the

10
00:01:28,990 --> 00:01:29,740
cloud.

11
00:01:29,740 --> 00:01:38,980
Whenever you load, you know your your files to to GitHub or any other, uh, any other, uh, storage

12
00:01:38,980 --> 00:01:40,060
in the cloud.

13
00:01:40,060 --> 00:01:48,130
And in order to avoid doing that, whenever you, you, you are exposed to these kind of situations,

14
00:01:48,130 --> 00:01:55,900
you you can protect this file with strategies like for example the git ignore file.

15
00:01:55,900 --> 00:02:07,540
So when you are in that situation just go to ChatGPT for and ask uh how to protect your dot and file

16
00:02:07,540 --> 00:02:12,460
using dot git ignore and you will see a very easy way to do.

17
00:02:12,460 --> 00:02:21,100
But it's very important for you to protect this file, because if this file is published in the cloud,

18
00:02:21,100 --> 00:02:23,200
other people can use your keys.

19
00:02:23,200 --> 00:02:27,280
And in the case of OpenAI, it can cause you money.

20
00:02:27,790 --> 00:02:33,640
A so it's important for you to keep this, uh, file, uh, protected.

21
00:02:33,640 --> 00:02:42,940
And remember that the dot m file must be in the root folder of your application, or the root folder

22
00:02:42,940 --> 00:02:45,880
of your A.

23
00:02:47,000 --> 00:02:48,950
Of your notebooks.

24
00:02:50,800 --> 00:02:53,080
About the data folder.

25
00:02:53,410 --> 00:03:03,910
We have used the data folder in some of our exercises in order to a store some documents that we have

26
00:03:03,910 --> 00:03:13,240
been using in the exercises, so we provide the data folder with the sample docs we have used in the

27
00:03:13,240 --> 00:03:22,150
exercises for you to to to have it and be able to use it when you practice the exercises, if you want,

28
00:03:22,150 --> 00:03:28,690
remember that you can change the the sample docs and it will be good for you to change the sample docs

29
00:03:28,690 --> 00:03:31,540
so you can experiment and try new things.

30
00:03:32,230 --> 00:03:37,990
And remember also that the data folder must also be in the root directory.

31
00:03:37,990 --> 00:03:46,450
Remember that even in the GitHub repository, you are going to find the env sample file inside of the

32
00:03:46,450 --> 00:03:47,710
data folder.

33
00:03:47,710 --> 00:03:59,500
The real m file dot m file should be out of the data folder, so both the dot m file and the data a

34
00:03:59,500 --> 00:04:03,760
folder will be in the root directory okay.

35
00:04:03,760 --> 00:04:06,040
So just keep that in mind.

36
00:04:06,550 --> 00:04:14,860
So in this lesson we have been talking about the dot m file and the data folder you are going to find

37
00:04:14,860 --> 00:04:16,480
in the GitHub repository.

38
00:04:16,480 --> 00:04:25,120
These are just examples of the files and folders that you, uh, should use when you practice with the

39
00:04:25,120 --> 00:04:26,170
exercises.

