1
00:00:00,000 --> 00:00:01,000
Hello guys.

2
00:00:01,000 --> 00:00:05,000
So we are going to continue the discussion with respect to graph DB with Lang Chen.

3
00:00:05,000 --> 00:00:09,000
Now uh, we will be implementing some amazing projects.

4
00:00:09,000 --> 00:00:09,000
Again.

5
00:00:09,000 --> 00:00:15,000
We are going to use the Neo4j's aura DB and we'll see that how with the help of Python programming language,

6
00:00:15,000 --> 00:00:21,000
uh, along with Lang Chain, we can specifically use and create some amazing Jen AI applications.

7
00:00:21,000 --> 00:00:26,000
So before we go ahead and start, uh, we need to set up this specific environment.

8
00:00:26,000 --> 00:00:32,000
And again, uh, to set up this particular environment, uh, we have to make sure that we have all

9
00:00:32,000 --> 00:00:34,000
the necessary libraries.

10
00:00:34,000 --> 00:00:38,000
Um, here are the different kind of Python version I will be specifically using.

11
00:00:38,000 --> 00:00:38,000
Okay.

12
00:00:38,000 --> 00:00:41,000
So first of all, let's go ahead and create my environment.

13
00:00:41,000 --> 00:00:43,000
So I will go to my command prompt.

14
00:00:43,000 --> 00:00:51,000
And here what I will be doing is that I will just go ahead and write conda create minus p okay v and

15
00:00:51,000 --> 00:00:55,000
v python double equal to 3.12.

16
00:00:55,000 --> 00:01:00,000
And I'll give a yes um prompt so that it should continue the execution.

17
00:01:00,000 --> 00:01:01,000
Right.

18
00:01:01,000 --> 00:01:07,000
So now here you'll be able to see that in some time my entire V and V environment will get created okay.

19
00:01:07,000 --> 00:01:10,000
So this is basically getting created.

20
00:01:10,000 --> 00:01:12,000
Let it take some time okay.

21
00:01:12,000 --> 00:01:17,000
And since it is getting created I will also go ahead and create my requirements.

22
00:01:17,000 --> 00:01:27,000
Dot txt okay now in order to work with Python 3.12, you know we have to install Neo4j's and please

23
00:01:27,000 --> 00:01:31,000
be specific with this particular version, right?

24
00:01:31,000 --> 00:01:35,000
Because I tried out different version and it was not working exactly.

25
00:01:35,000 --> 00:01:38,000
When we are specifically working with Python programming language.

26
00:01:38,000 --> 00:01:39,000
Right.

27
00:01:39,000 --> 00:01:41,000
Uh, specifically with 3.12 version.

28
00:01:41,000 --> 00:01:44,000
So this was the right combination.

29
00:01:44,000 --> 00:01:48,000
After a lot of research, uh, I saw and it was probably working in our local.

30
00:01:48,000 --> 00:01:54,000
If you are using Google Colab and all, uh, you don't have to probably, uh, you know, just use this

31
00:01:54,000 --> 00:01:58,000
particular version also automatically, whatever is the compatible thing over there, it will be considering

32
00:01:58,000 --> 00:02:01,000
that right now I have this.

33
00:02:01,000 --> 00:02:05,000
Along with this, I will also go ahead and install my Lang chain.

34
00:02:05,000 --> 00:02:09,000
Then I will write lang chain underscore community.

35
00:02:09,000 --> 00:02:09,000
Okay.

36
00:02:09,000 --> 00:02:11,000
So this is what I'm actually going to use.

37
00:02:12,000 --> 00:02:15,000
Um, not only that, I'll also use OpenAI.

38
00:02:15,000 --> 00:02:22,000
I don't require OpenAI, but let's take this and then I'll also have lang chain underscore grok, because

39
00:02:22,000 --> 00:02:26,000
we will be using uh, open source paid LLM models.

40
00:02:26,000 --> 00:02:28,000
So open source LLM models not paid.

41
00:02:28,000 --> 00:02:32,000
Then I'll have Python uh dot env.

42
00:02:32,000 --> 00:02:35,000
So let's go ahead and install all this libraries.

43
00:02:35,000 --> 00:02:41,000
So first of all I will just go ahead and say hey Conda activate V and we will clear all the screen.

44
00:02:41,000 --> 00:02:47,000
And now let me go ahead and do the installation of all the libraries.

45
00:02:48,000 --> 00:02:50,000
So spelling mistake.

46
00:02:50,000 --> 00:02:54,000
It's okay I will just go ahead and pip install r requirements.txt.

47
00:02:55,000 --> 00:02:58,000
Um lang chain underscore grok.

48
00:02:58,000 --> 00:03:02,000
It's okay because I made a spelling mistake.

49
00:03:02,000 --> 00:03:03,000
Okay.

50
00:03:03,000 --> 00:03:05,000
Please don't forget to save the file.

51
00:03:05,000 --> 00:03:06,000
Okay.

52
00:03:06,000 --> 00:03:10,000
Um, so here you can see all the installation will start taking place.

53
00:03:10,000 --> 00:03:16,000
So once you do this specific installation, uh, it is also necessary that we will go ahead and create

54
00:03:16,000 --> 00:03:18,000
our dot env file.

55
00:03:18,000 --> 00:03:25,000
So here I am going to specifically take my dot env file and um, you know, just to play with some of

56
00:03:25,000 --> 00:03:26,000
the things.

57
00:03:26,000 --> 00:03:29,000
First of all, I'm just going to go ahead and put my grok API key.

58
00:03:29,000 --> 00:03:30,000
Right.

59
00:03:30,000 --> 00:03:36,000
So this I will be requiring it so that I can go ahead and experiment with all my different, different

60
00:03:36,000 --> 00:03:37,000
LLM models.

61
00:03:37,000 --> 00:03:37,000
Right.

62
00:03:38,000 --> 00:03:41,000
Um, different different open source models.

63
00:03:41,000 --> 00:03:43,000
That is the reason we are specifically using this.

64
00:03:43,000 --> 00:03:46,000
So okay, so uh, this was the basic setup.

65
00:03:46,000 --> 00:03:52,000
Please make sure that you have this entire, uh, this version specifically.

66
00:03:52,000 --> 00:03:57,000
You use it because we will be using this version with respect to the neo 4G or ADB, right?

67
00:03:57,000 --> 00:04:03,000
Whenever we want to connect with the database itself and try to insert some kind of datas and all.

68
00:04:03,000 --> 00:04:06,000
Now in my, um, so this was the initial setup.

69
00:04:06,000 --> 00:04:12,000
Uh, in the next section, we are going to see that how we can go ahead and get started.

70
00:04:12,000 --> 00:04:18,000
And again, for this, I've already told you, please make sure that you have the copy of your entire

71
00:04:18,000 --> 00:04:20,000
database information.

72
00:04:20,000 --> 00:04:21,000
And this.

73
00:04:21,000 --> 00:04:23,000
I have told you to save it somewhere, right?

74
00:04:23,000 --> 00:04:26,000
So this information please, you really require it?

75
00:04:26,000 --> 00:04:32,000
Because I will be using this particular database information and try to access my DBS right to for the

76
00:04:32,000 --> 00:04:33,000
insertion purpose.

77
00:04:33,000 --> 00:04:35,000
So yes, uh, this was it.

78
00:04:35,000 --> 00:04:41,000
I will see you all in the next video where we will be continuing the discussion with respect to graph

79
00:04:41,000 --> 00:04:42,000
DB with long chain.

