- 66
- 28 659
3CodeCamp
Morocco
Приєднався 6 лип 2023
ElasticSearch in Python #34 - Final project | The end
Hi everyone, and welcome to the final video of this project series! In this video, I'll show you the last updates I've made and showcase the finished website.
If you’ve made it to the end of this course, I want to say-you're amazing! I’d love to hear your feedback, and I hope you found the course both interesting and informative. Take care!
In this series, we focus on using the Python client to interact with Elasticsearch.
Here is the link to the GitHub repository:
github.com/ImadSaddik/ElasticSearch_Python_Tutorial
Don't forget to like, subscribe, and leave a comment if you have any questions or feedback!
Support us at:
www.patreon.com/3CodeCamp
#3_code_campers #ElasticSearch #ElasticSearchPython
If you’ve made it to the end of this course, I want to say-you're amazing! I’d love to hear your feedback, and I hope you found the course both interesting and informative. Take care!
In this series, we focus on using the Python client to interact with Elasticsearch.
Here is the link to the GitHub repository:
github.com/ImadSaddik/ElasticSearch_Python_Tutorial
Don't forget to like, subscribe, and leave a comment if you have any questions or feedback!
Support us at:
www.patreon.com/3CodeCamp
#3_code_campers #ElasticSearch #ElasticSearchPython
Переглядів: 74
Відео
ElasticSearch in Python #33 - Final project | Part 5
Переглядів 39День тому
Hello everyone! In today's video, we'll explore how to handle raw data preprocessing using pipelines. I've added the raw Astronomy Picture of the Day (APOD) dataset to our project repository. It's important to note that this data is unprocessed, containing HTML tags within the title and explanation fields, which we'll need to clean before indexing. Link to the original APOD website: apod.nasa.g...
ElasticSearch in Python #32 - Final project | Part 4
Переглядів 60День тому
Hello everyone! In this section, we’ll focus on adding semantic search functionality. By the end of this video, you'll be able to switch between semantic and regular search methods. This video is about implementing semantic search. To achieve this, we'll convert text into dense vectors using an embedding model from Hugging Face. If you’re unfamiliar with embeddings, be sure to check out video 1...
ElasticSearch in Python #31 - Final project | Part 3
Переглядів 2814 днів тому
Hello everyone! Let’s continue enhancing the search experience. In this video, we’ll implement the "search as you type" feature to address a problem we're currently facing. For example, if I'm searching for the Andromeda galaxy and I type "Andr," the standard tokenizer we used during index creation won’t return any results because "Andr" isn’t a complete token in the inverted index. To resolve ...
ElasticSearch in Python #30 - Final project | Part 2
Переглядів 5714 днів тому
Hello everyone! In this video, we'll take another step toward enhancing the search experience. Let me walk you through what we'll accomplish. Here’s a preview of how the website will look by the end of the video. Notice anything new? Let me explain: - First, I added pagination controls, allowing us to adjust the page size and navigate between pages. - Next, I introduced a year filter, enabling ...
ElasticSearch in Python #29 - Final project | Part 1
Переглядів 7014 днів тому
Hello everyone! In this video, we’ll begin building our website. In this initial phase of the final project, we’ll: - Create an index. - Index over 3,000 documents. - Utilize `size` and `from` parameters to control the number of results returned in queries. - Implement multi-match queries to search across multiple fields. The theme for our final project will be Astronomy. In this series, we foc...
ElasticSearch in Python #28 - Final project | Part 0
Переглядів 5821 день тому
Hello everyone, and welcome to this transitional video between phase 1 and phase 2 of the course! From now on, I'll shift focus to the final project, where we'll put into practice everything we've covered in the previous videos. No further videos on Elasticsearch concepts will be uploaded. In this series, we focus on using the Python client to interact with Elasticsearch. Here is the link to th...
ElasticSearch in Python #27 - Change Heap size
Переглядів 3021 день тому
Hello everyone! Elasticsearch is a powerful tool, but it can be resource-intensive by default. If you're like me and using it for small projects, you’ll want to configure it to consume less memory. In this video, I’ll show you how to do just that. By default, Elasticsearch allocates 50% of your system's available memory. For instance, my system has 16GB of RAM, so whenever I start the container...
ElasticSearch in Python #26 - Common options
Переглядів 3121 день тому
Hello everyone! Elasticsearch is a powerful tool, but did you know it offers features that make it even more flexible and user-friendly? In this video, I’ll guide you through some key options like human-readable output, date math, response filtering, and more. Why should you learn these common options? Because they simplify managing Elasticsearch, especially when debugging. These options provid...
ElasticSearch in Python #25 - Synonyms API
Переглядів 3828 днів тому
Hey everyone! Today’s video is all about synonyms in Elasticsearch. This is part 25 of our series, where we’ll be exploring how to work with synonyms using custom analyzers. - Synonyms help make searches more precise. - They’re effective in matching various ways people refer to the same concept. - They use a syntax called Solr format, which we’ll dive into shortly. In the previous video, we cov...
ElasticSearch in Python #24 - Analyzers in depth
Переглядів 6228 днів тому
Hello everyone! Today, I'll talk about analyzers. You will learn how they are used to analyzing text before indexing documents to an index. How are they used when searching for documents and the component that make an analyzer. An analyzer basically processes text during indexing and searching. The output of an analyzer are a set of terms (tokens) with their corresponding document. An analyzer ...
ElasticSearch in Python #23 - Time Series Data Stream TSDS
Переглядів 92Місяць тому
Hello everyone! Today, I'll be discussing the Time Series Data Stream in Elasticsearch. When we talk about time series, we mean data points ordered by time. This data is collected at consistent intervals; for instance, monitoring CPU usage over time. Managing time series data can be challenging due to its rapid growth, especially with high-frequency measurements. Another challenge is storing su...
ElasticSearch in Python #22 - SQL search API
Переглядів 51Місяць тому
Hello everyone! Today, I’ll guide you on how to use the SQL Search API to search for documents in Elasticsearch. This approach will be particularly helpful for those who are more familiar with SQL than with Elasticsearch’s default Query DSL. In previous videos, we used Query DSL to perform document searches. Essentially, you have an index and a query, which you provide to the search method. Ela...
ElasticSearch in Python #21 - Filters in depth
Переглядів 75Місяць тому
Hello everyone! Today, we’re going to take a comprehensive look at filters. While I previously touched on filters when discussing search functionalities, that was just a brief overview. In this session, we’ll explore the filter context in much greater detail. When performing searches in Elasticsearch, you can utilize either query context or filter context: - With a query context, you initiate a...
ElasticSearch in Python #20 - Ingest processors
Переглядів 75Місяць тому
Welcome everyone! Today we're going to explore ingest processors - a feature that helps transform and enrich your data during ingestion. We'll be covering the most common processors that you can use in your pipelines. In the previous video, we have seen that the process of ingestion has three main components: First, we begin with the documents. These documents then flow through what we call an ...
ElasticSearch in Python #19 - Ingest pipelines
Переглядів 104Місяць тому
ElasticSearch in Python #19 - Ingest pipelines
ElasticSearch in Python #18 - Deep pagination: Search after VS From/Size
Переглядів 93Місяць тому
ElasticSearch in Python #18 - Deep pagination: Search after VS From/Size
ElasticSearch in Python #17 - The kNN search algorithm
Переглядів 49Місяць тому
ElasticSearch in Python #17 - The kNN search algorithm
ElasticSearch in Python #16 - Embedding documents with deep learning models
Переглядів 105Місяць тому
ElasticSearch in Python #16 - Embedding documents with deep learning models
ElasticSearch in Python #15 - Dense vector field type
Переглядів 33Місяць тому
ElasticSearch in Python #15 - Dense vector field type
ElasticSearch in Python #14 - The search API - Part 3
Переглядів 39Місяць тому
ElasticSearch in Python #14 - The search API - Part 3
ElasticSearch in Python #13 - The search API - Part 2
Переглядів 56Місяць тому
ElasticSearch in Python #13 - The search API - Part 2
ElasticSearch in Python #12 - The search API - Part 1
Переглядів 73Місяць тому
ElasticSearch in Python #12 - The search API - Part 1
ElasticSearch in Python #11 - The bulk API
Переглядів 63Місяць тому
ElasticSearch in Python #11 - The bulk API
ElasticSearch in Python #10 - The update API
Переглядів 1012 місяці тому
ElasticSearch in Python #10 - The update API
ElasticSearch in Python #9 - The exists API
Переглядів 502 місяці тому
ElasticSearch in Python #9 - The exists API
ElasticSearch in Python #8 - Count documents
Переглядів 652 місяці тому
ElasticSearch in Python #8 - Count documents
ElasticSearch in Python #7 - Get documents
Переглядів 482 місяці тому
ElasticSearch in Python #7 - Get documents
ElasticSearch in Python #6 - Delete documents
Переглядів 632 місяці тому
ElasticSearch in Python #6 - Delete documents
ElasticSearch in Python #5 - The field data types
Переглядів 882 місяці тому
ElasticSearch in Python #5 - The field data types
Your latest video on freebootcamp reflects a lot of hard work and passion. Excellent job! Keep pushing your creative boundaries😍
تحياتي خويا 🇲🇦❤ راك ناضي كمل 👏
الله يحفظك خويا
Good Project
Thank you
Can't here the Person in this Video. Please FIX your Microphones "GAIN". Without wearing "Earbuds" noone can hear youat all hardly. 😔
Thank you for the feedback. I was not paying attention to the sound in my earlier videos but now I fixed this issue.
@3CodeCampers Thanks
can you please upload a video where you teach us how tyo amke an app where you ask the user question s then put these questions in a prompt and send the prompt to gemini and show it in a textview is that possible please help me I need this I cant find anyone that could actually help me with this
Hi, do you have discord? Maybe I could help you.
@@3CodeCampers no I actually dont have discord it doesnt work in my country would it be possible if we talked in the comments
@@3CodeCampers ok so what I wanna make is an app where I ask the users four specific questions then I will put these questions in a prompt then send thew prompt to gemini api and show the answer in a textview so how do you think would it be possible to make somethig like taht
but in java not in kotlin
@@Paw_Earth OK, no problem, let's talk in the comments. Of course I will focus on Java.
great video!! thank you!
Glad you liked it!
Gemini is giving one year old response - it says we are in 2023 instead of 2024.
Yes, that's because Google did not train the model with up-to-date information.
Hello, thanks for the video, it's really helpful. Cheers from Spain.
Happy that you liked it. I am from Morocco, we are close to each other 😁
It worked! Thank you so much. Without this technique i would have been stuck uploading my files to drive for days on end, fearing to touch my computer lest something goes wrong
That's great to hear! I'm glad you found it useful!
i don't understand, yet, but very cool
@@michaelcombrink8165 Thanks, Michael, for the kind words. I want to know if you were searching for this video, or you just found it randomly?
Whats the recommended way to protect tokens? Http-Only cookies or rather pinia or some other state-library?
@@markusstraubinger3779 Thank you markus for the comment. I am afraid I don't have an answer to your question.
Great Video! As part of my project I need to create an Elastic based search engine (with a GUI), what documentation do you suggest I should use to create the interface. Thanks
Thank you for the comment 😊. I am planning to do something like that in the future, but it will take some time. In the meantime you can check this tutorial, it does what you are looking for www.elastic.co/search-labs/tutorials/search-tutorial/vector-search/store-embeddings
I don't understand why you have to stop the previous video for this one, do you no your Gemini video is 4k view plus
Hello my friend, I am sorry if you have been waiting for me to continue working on that. I am not planning to stop it, I will continue working on that series too in parallel with this one.
Okay don't rush your self I think I have done what you said about extracting the file and feeding it to the model so don't rush your self, the app I'm building I'm almost finished I think I will finish it by November.
@@Jjjnmkkmkkk Oh that is cool. Good luck
Is this video sponsored
No
Using that method I showed you right, but it extends with two strings like, userMessageBuilder.addFileData(String, String); What is the first string for and what is the second string for And you where saying something like getting the file data a turning it into chunks in your video I'm I supposed to use this function for(String chunk: chunks){} When I extract the data from the file and turn it to chunks.
You can read about the method in the documentation. Wait until I open the code and show you what I meant.
Is there any document on the file input for the Gemini AI I want trying to use this Content.Builder userMessageBuilder = new Content.Builder(); userMessageBuilder.addFileData() But I don't know how it works is that how I'm going to input the file or how
To input the file just extract the text from the file first and then feed the text to Gemini.
Using that method I showed you right, but it extends with two strings like, userMessageBuilder.addFileData(String, String); What is the first string for and what is the second string for And you where saying something like getting the file data a turning it into chunks in your video I'm I supposed to use this function for(String chunk: chunks){} When I extract the data from the file and turn it to chunks.
Hi Sadik, Great work, Thank you so much for giving me a example to start understanding it. I started with your code. I am not able to upload files of my choice. Where browse button to upload the files ? I don't see any option to upload. Thanks for your help. Regards
Hello, thanks for the kind words. Here is my discord if you need any help Imad_Saddik#9949
nice!
Thanks!
What happened to the previous video you're making
Don't worry, I will continue that series of videos
@@3CodeCampers Is that why you where so busy
@@Jjjnmkkmkkk No, I was busy because of work
Do you no how I can get the Gemini AI to browse the web and give the response
@@Jjjnmkkmkkk No, I haven't tried that but try to search to see if someone has done it or not.
Thanku for this information 😊, wish you to keep growing 🙏
Thanku for this information 😊 wish you to keep growing 🙏
Most welcome 😊
Where you very busy
Yes,
excellent job
Thanks
w8 for gemini version.
You want to do this task with Gemini ?
Do you no about the llama AI by Facebook
@@Jjjnmkkmkkk Yes, I do
Would you make a video about the llama AI by Facebook as well too
@@Jjjnmkkmkkk I don't know
Hi, can you share an Android theme with me ?
Hello, what do you mean by Android theme ?
@@3CodeCampers Android studio theme sir
@@usamasaeed6766 I am using Material Theme UI extension
Can you let me sort out this issue, after building the application successfully, during execution of application on virtual device, the application is getting crashed. The API Key Screen, Name and Model and Welcome Screens are working perfectly well but after that the app is crashing. I’m using SDK 34.
@@thekarthikeyan.s Do you have discord ? If yes, then here is my id Imad_Saddik#9949. We can discuss there.
@@3CodeCampers Yes, please accept friend request
Hi. Any possibility that we can implement this code using OpenAI’s API instead of Gemini AI? Can you share the code related to it
Hello, yes this is a possible. Look at this repository github.com/TheoKanning/openai-java
Ok thanks
@@3CodeCampers But the OpenAi is not free that's a very big problem Gemini AI is having a better free API than open AI
@@Jjjnmkkmkkk Yes
It took you long to make this video where you busy ❤😊
Yeah I am trying my best, thanks for the support
Do you no about using Google drive as a database Where uses can login to their Google drive account and use can upload files into it I want to use it to be a chat application even though i no about firebase i till want to learn about the Google drive and how can I use it to be a chat application
@@Jjjnmkkmkkk That is a great idea but sadly I don't know how to do it
What are the things you're having learn in school, Is it better to be a self thought developer or Go to school which one is better Pick one
@@Jjjnmkkmkkk I will prefer going to school
can gemini send together picture i requested for?
Yes, you can send both images and text as input.
Excelente video
Merci
You have finish your degree but do you have a job. I'm also trying to be a self taught software engineer. it's my dream.
Yes, I do have a job my friend. Good luck with your dream.
Do you work at home as a software engineer or you Go to the office. Or you do a different job apart from being a software engineer
@@Jjjnmkkmkkk For now, I work from home as an engineer
Do you no about building your own database, web hosting and domain
@@Jjjnmkkmkkk no that is not my domain of expertise
Short and enough! concise and direct, no more waste of time. Thank you.
Glad to hear that 😊
Have you tried fitting cloths on real human using camera or any sensor e.g. kinect?
No, I haven't but I see that people are asking about this so I might release a new video showing how to do that.
How to use this on character
@@nirajtoysworld905 Can you clarify your question ? I didn't understand you well.
@@3CodeCampers I want to use on a character this clothes but it is falling down
Oh, I understand you now. This is a good question. I will see if I can do a video about it in the future because it will be hard to explain the concept in a comment.
Ok
thx but next time please translate the texts to english .. it makes hard to understand properly
Thank you for the comment. I will try to keep things in English next time 😉
Bro don't let your current problem make you give up on what you're doing even though You only have a 100 subscribers i no if you keep up tomorrow i no you will get lot of subscribers please don't give I just want to all ways commit under your videos so I can encourage you not to give up people are really following along
@@Jjjnmkkmkkk Oh man thanks, I didn't give up. I just work on videos every weekend. Wait for the next one 😉
@@3CodeCampers I thought 💭 you're from the United States of America because of the way you speak your English but you're from Morocco, isn't Morocco an Arabic country in Africa don't you speak Arabic I just hope you don't end up speaking Arabic in you future videos like other UA-camrs 😂.
@@Jjjnmkkmkkk haha, yeah I am from Morocco and I speak actually Arabic, French, and English. Don't worry, the videos that I will upload to this channel are going to be in English
@@3CodeCampers wow french too. but how do you learn so much languages.
@@Jjjnmkkmkkk They thought us those languages at school.
Hello brother i need your help in some suggestion can i contact you personally i that possible because i love your content i admire to have a suggestion from you 😳😕 i can be by any mean like linkedlin ,or by any other source
Hello, do you have discord ?
Hello brother i need your help in some suggestion can i contact you personally i that possible because i love your content i admire to have a suggestion from you 😳😕
Do you have discord ?
Bro in your future video on this topic are you going to add text-and-image input too 😅
Thanks for the question, currently the application only accepts text as input, if you want to know how to use both text & images, I have made a video about it before
@@3CodeCampers Yh I watched it
@@Jjjnmkkmkkk Perfect
hi Imad Saddik can u please help me with the dataset you used for this .thnxs in advance.
@@trinath-n6c Hello, yes. Tell me what you want me to help you with ?
@@3CodeCampers thanxs i figured out:). btw i am really thankfull to your videos.
@@trinath-n6c Thank you
Just to be clear, this does not require bones? Also, ty for the tutorial!
Yes, it doesn't require bones. Ty for the comment
@@3CodeCampers Np! Ty for responding to my question, most youtubers don't do that! :D
@@ThecrimsonAnimatior 😁
Sir, if I upload this to the Play Store, will there be any issues?
Don't upload my app from Github to the store. You can make your own app and take inspiration from what I showed in this video and then upload it to the Play store
Bro thanks please in your future video don't code in kotlin I'm using Java To code with phone and it doesn't support kotlin If you start coding in kotlin, i won't be able to build an app anymore please don't stop coding in Java so that you can help as all thanks
Brother, in this video I am using Java, don't worry 😉
@@3CodeCampers Thanks 😅😊
When you get new video i am waiting for learning 😅
Great to hear that 😃
Great video, straight to the point, congratulations and many thanks! ☺
Happy to help.
Finally i found a working code. Thanks. The Google cloud API sucks at all.
Glad that this helped
great tutorial am really foolowing along
Great to hear!
Thank you for the easy tutorial :)
You're welcome 😊
In the videos you're going to create are you going to use a recycle view 😢 Please show me how to use the RecyclerView to update a text inside a textview without inflating the layout multiple times Let's say I'm using the streaming method to Get the response from the Gemini API And it giving it's response in chunks how can I inflate a layout once inside the RecyclerView and update the rest of the chunks inside the text view without inflating the layout multiple times as the Gemini API is giving the response
Good question, in fact I haven't used a recycler view in the app. I am just adding dynamically text views into the scroll view. Let's say that you got the first chunk of text from the API, what you can do is find the last text view that you have added to the scroll view and concatenate the new chunk you received from the API. You keep doing this until you arrive at the last chunk. After that, when you question Gemini just add that new question to the scroll view dynamically. This solution is very easy to implement and works really well. I hope this helps 😊