<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Jubayer Hossain Ahad on Medium]]></title>
        <description><![CDATA[Stories by Jubayer Hossain Ahad on Medium]]></description>
        <link>https://medium.com/@jubayerhossainahad?source=rss-22419163b78f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*1AYHEMOmVouS8Z8zQo05sw.jpeg</url>
            <title>Stories by Jubayer Hossain Ahad on Medium</title>
            <link>https://medium.com/@jubayerhossainahad?source=rss-22419163b78f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 08:38:18 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jubayerhossainahad/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Islamic Marriage in Germany as International Students]]></title>
            <link>https://medium.com/@jubayerhossainahad/islamic-marriage-in-germany-as-international-students-b44b9bc8f8ef?source=rss-22419163b78f------2</link>
            <guid isPermaLink="false">https://medium.com/p/b44b9bc8f8ef</guid>
            <category><![CDATA[student-life]]></category>
            <category><![CDATA[germany]]></category>
            <category><![CDATA[expats-in-germany]]></category>
            <category><![CDATA[expat-life]]></category>
            <category><![CDATA[marriage]]></category>
            <dc:creator><![CDATA[Jubayer Hossain Ahad]]></dc:creator>
            <pubDate>Sat, 28 Sep 2024 11:50:51 GMT</pubDate>
            <atom:updated>2024-09-28T11:50:51.096Z</atom:updated>
            <content:encoded><![CDATA[<h4>Just after we married in the mosque, many people kept asking me about the process. So here I am writing an article about it.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-DfsAyWm-qrsCMUgxGUE3A.jpeg" /><figcaption>Inside the Nuremberg Central Mosque</figcaption></figure><p>Marriage plays an important role in Islam. By law, we are not allowed to touch a woman before marriage. Talking is done when it is necessary but should not include flirting or getting comfortable. The religious part was important to both of us. Thus. this is a story about how 2 students from Bangladesh got married in Germany.</p><p>I came to Germany as a student in November of 2022. My now wife came in May of 2023 as a student as well. The notion of marriage in a foreign country was scary at first. However, putting our faith in Allah, we decided to take the next step.</p><p>When we finally decided to get married, the first step was for her to apply to my University. This was important if we plan to live together. Upon receiving her offer letter, we began to plan the wedding officially. The next step of this process was to talk to our local marriage registry office or Standesamt. This can normally be found at the city Rathaus where we do our city registrations.</p><p>Talking with a lady at Oberasbach Standesamt, she told me that citizens of Bangladesh would need to present a special certificate which contains that I and my wife do not have any previous marriage in Bangladesh. The problem is, this kind of certificate does not exist. We need to write this down formally on paper and get it notarized by the city mayor, the magistrate, the German embassy in Bangladesh, and who knows where else.</p><p>Explaining this to my parents or my in-laws was not possible over the phone. If I was there in person, maybe I would be able to make something like that but again it carries a lot of hassle.</p><p>After presenting the paper, the standesamt would ask the German Embassy in Dhaka for verification upon which the embassy will conduct their internal investigation about the paper’s truthfulness. After there is a green light from the embassy, the Standesamt will provide us with a wedding date on which we can get married. This along with our birth certificates and passports were the main required documents for marrying in Germany as a foreigner.</p><p>This is a very long process and would take months to complete. The easier and more expensive plan was to go to Bangladesh and complete the marriage from there. However, that wasn&#39;t an option because of the costs. Another sensible option was to get officially married from another European country such as Denmark or Georgia. This is what we eventually did for our official marriage certificate. I will write about this in another blog.</p><p>In Germany though, we had to complete our religious ceremony to start living together. Religiously, that’s all that matters to us as Muslims but Germany doesn&#39;t accept his kind of marriage to be official.</p><p>So we started searching for mosques around our area. The largest mosque in Germany was our first option. This was Cologne Central mosque. However, staying in Nuremberg, it takes about 8–9 hours to go to Cologne. This would be very difficult for our friends to go there on the day of the wedding.</p><p>From a relative in Germany, we heard that there were Bengali mosques in Frankfurt. I collected the numbers and addresses and went to visit them. They were asking for 200 Euro+ to perform a simple religious ceremony while the other mosques will not perform the ceremony without an existing marriage certificate.</p><p>This was a problem as the wedding date was approaching and we had no confirmed mosque. In the end, with the help of one of our friends, we managed to talk to the Nuremberg Central mosque. The president there was kind enough to arrange the ceremony the very next day.</p><p>On the day of the wedding, we went to the mosque in time and waited for the Friday Jumma prayer to be completed. My wife waited upstairs in a room while the men finished their prayers.</p><p>After the prayer, we met up with the president of the mosque. He took us along with our friends to a room upstairs where the ceremony was marriage would take place.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*5pbBe9rn0QvPxgX6Pn13EA.png" /><figcaption>Signing the marriage paper during the ceremony</figcaption></figure><p>For those of you who don&#39;t know, the Islamic marriage ceremony is straightforward. We need 2 witnesses who oversee the marriage at its completion. The groom pays the Mahr to the bride and it is written upon the marriage paper. The person performing the marriage recites a few verses from the Quran and we confirm 3 times to take each other as husband and wife.</p><p>Unfortunately, none of our parents were able to attend the wedding in person. However, all of them were in video call and attended virtually.</p><p>The entire process was very smooth, to be honest. We did our vows and signed the papers and finally with some happy tears and a lot of laughter, we were married.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*39ZW0eihG-rUiZCNa0J_Fw.jpeg" /><figcaption>Thanks for all the support of our friends who could attend this special day.</figcaption></figure><p>So, in summary, we went to the mosque before the planned date of the wedding and searched for some people in charge. We explained our situation and he connected us to the president of the mosque by phone. We set a date for the ceremony and did the marriage with the supervision of the mosque’s president.</p><p>After our marriage was done, a lot of couples came forward and asked us about the entire process. We were glad to help them out with as many details as possible. If this article helps anyone out in the future, we would be very happy. We would be happy to answer any questions which would pop up regarding this.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b44b9bc8f8ef" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[YuNet implementation in OpenCV-Python]]></title>
            <link>https://levelup.gitconnected.com/yunet-implementation-in-opencv-python-1565a5df647a?source=rss-22419163b78f------2</link>
            <guid isPermaLink="false">https://medium.com/p/1565a5df647a</guid>
            <category><![CDATA[opencv]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[face-detector]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Jubayer Hossain Ahad]]></dc:creator>
            <pubDate>Thu, 19 Sep 2024 21:01:22 GMT</pubDate>
            <atom:updated>2024-09-19T21:01:22.528Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/566/0*pi7Qa-LNydgZz92R.png" /><figcaption>Picture from Google.</figcaption></figure><p>I searched a lot for a proper YuNet face detector implementation in Python but I am surprised that there aren&#39;t any good ones. This post will talk about YuNet, an elementary and accurate face detector that can be used in both Python and C++ libraries.</p><p>I will just get to the code part then we can talk more about this later on.</p><p>First, you need to download the onnx model file from GitHub. This should be a .onnx file for the YuNet. You also need the OpenCV-python package to be installed and a test image where you want to test YuNet’s performance.</p><p>The code is as below.</p><pre># Initialize detector<br>detector = cv2.FaceDetectorYN.create(&quot;yunet_n_320_320.onnx&quot;, &quot;&quot;, (320, 320))<br># Read image<br>img = cv2.imread(&quot;image.jpg&quot;)<br># Get image shape<br>img_W = int(img.shape[1])<br>img_H = int(img.shape[0])<br># Set input size<br>detector.setInputSize((img_W, img_H))<br># Getting detections<br>detections = detector.detect(img)</pre><p>We are specifying the input size of the model to be 320 by 320. This should be the size of the input image. So we need to convert the input image to this size before passing it on to the model for inference.</p><p>Another way is to get the input size dynamically by getting the image shape after reading the image by openCV. We set the input size afterward by detector.setInputSize((img_W, img_H)) .</p><p>For the inference, it is just the detector.detect(img) .</p><p>For the output which is saved in the detections variable, it is a list of detections. For each of the detections, we get an array of size 15. The first 4 values from dets[0:4] are the value of the bounding box as [top_x, top_y, width, height].</p><p>The YuNet face detection model provides coordinates for five facial landmarks. Here’s the detailed breakdown:</p><ol><li><strong>Right Eye</strong>: ((dets[:, 4], dets[:, 5]))</li><li><strong>Left Eye</strong>: ((dets[:, 6], dets[:, 7]))</li><li><strong>Nose Tip</strong>: ((dets[:, 8], dets[:, 9]))</li><li><strong>Right Mouth Corner</strong>: ((dets[:, 10], dets[:, 11]))</li><li><strong>Left Mouth Corner</strong>: ((dets[:, 12], dets[:, 13]))</li></ol><p>And finally, the 15th value or dets[15] is the confidence score for the detection.</p><p>I am making an emotion detection script for a multi-camera system project where the first step is detecting the faces from the camera. If you want to see the progress of the project, consider following me here on Medium.</p><p>If you found value in this article, drop a clap and let me know if you have any questions regarding this.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1565a5df647a" width="1" height="1" alt=""><hr><p><a href="https://levelup.gitconnected.com/yunet-implementation-in-opencv-python-1565a5df647a">YuNet implementation in OpenCV-Python</a> was originally published in <a href="https://levelup.gitconnected.com/">Level Up Coding</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Battling Open Book Exams with Open Source LLMs]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/data-science/battling-open-book-exams-with-open-source-llms-c2225f3002d0?source=rss-22419163b78f------2"><img src="https://cdn-images-1.medium.com/max/1024/1*KscTCCkFc73YMq4kdW9aGw.jpeg" width="1024"></a></p><p class="medium-feed-snippet">In the age where everyone uses ChatGPT for work and school, I am taking advantage of that to help me study in my university course</p><p class="medium-feed-link"><a href="https://medium.com/data-science/battling-open-book-exams-with-open-source-llms-c2225f3002d0?source=rss-22419163b78f------2">Continue reading on TDS Archive »</a></p></div>]]></description>
            <link>https://medium.com/data-science/battling-open-book-exams-with-open-source-llms-c2225f3002d0?source=rss-22419163b78f------2</link>
            <guid isPermaLink="false">https://medium.com/p/c2225f3002d0</guid>
            <category><![CDATA[rags]]></category>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Jubayer Hossain Ahad]]></dc:creator>
            <pubDate>Fri, 19 Jul 2024 23:05:25 GMT</pubDate>
            <atom:updated>2024-07-19T23:05:25.826Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[How I spent a week in Georgia for only 300 Euros]]></title>
            <link>https://medium.com/@jubayerhossainahad/how-i-spent-a-week-in-georgia-for-only-300-euros-dfd9955b46ba?source=rss-22419163b78f------2</link>
            <guid isPermaLink="false">https://medium.com/p/dfd9955b46ba</guid>
            <category><![CDATA[georgia]]></category>
            <category><![CDATA[travel]]></category>
            <category><![CDATA[batumi]]></category>
            <category><![CDATA[europe]]></category>
            <category><![CDATA[budget-travel]]></category>
            <dc:creator><![CDATA[Jubayer Hossain Ahad]]></dc:creator>
            <pubDate>Mon, 24 Jun 2024 20:27:12 GMT</pubDate>
            <atom:updated>2024-06-24T20:27:12.683Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*GashirUKYV5f2frX" /><figcaption>Photo by <a href="https://unsplash.com/@zurabi?utm_source=medium&amp;utm_medium=referral">Zura Narimanishvili</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Georgia is the last European country at the south-east boarder of Europe. It shares it’s boarder with Turkey, Armenia, Azerbaijan and Russia. On the west it is connected to the Black sea. This June, I traveled to Georgia with my wife and 2 other friends. It was a unique experience and we did all that in just 300 Euros per person.</p><blockquote>I will break down the entire costs at the end but for now just sit back and read through our experience.</blockquote><h3>Leaving Germany</h3><p>I bought the tickets 1 month prior using Skyscanner. This website is awesome as it find the cheapest and most convenient flight for you by scanning all airlines data. I booked the tickets starting from FMM Memmingen, Germany towards Kutaisi, Georgia. The starting flight was on 3rd June and the return was 10th June. The airline was WizzAir and the ticket costed <em>120 Euros</em> per person (both ways). I know its not that cheap for a budget airline but it was the cheapest we got.</p><p>The first disaster was our journey to FMM. We had our flight at around 6 pm and we left from Nuremberg at 11 am. I know. It is 7 hours prior. The reason being was there were heavy train cancellations in Germany due to the southern floods around Memmingen. We were supposed to arrive 2 hours before the flight but we ended up catching the flight only due to a delay in flight departure. I have read that WizzAir is famous for it flight delay and cancellation and our first WizzAir flight departed with a delay of 40 mins. We were only able to catch the flight because of that. Thank God!</p><p>No complains for WizzAir (being a budget airline) except for drinking water. I expected it to be free as water is a basic necessity but you need to buy it from them. At the time of writing, 500 ml water costs 3.65 Euro and if you buy 2 bottle, it will be 5 Euros. The seats were not reclinable and there were adequate leg space. No complains. Just facts.</p><p>We arrived at Kutaisi with a slight delay at around 1:40 am. I was worried about catching our bus to the capital because of the delay but there were a lot of buses available to go to Tbilisi. You can find ticket counter for the buses inside the airport just after you pass immigration. I had booked 4 seats on Omnibus for <em>100 GEL</em>. The journey was about 5 hours towards Tbilisi and we rested well on the bus. We arrived at Tbilisi Bus stop at the early morning of 4th of June.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*k3-eem0IuaAhcy6MrDE1nQ@2x.jpeg" /></figure><p>First impression about Georgia is it is a mixture of Europe and Asia. One side you see European architecture and the next alley reminded me about Old Dhaka. You didn’t need to look twice to find graffiti on the walls and there were stray dogs EVERYWHERE. They are not aggressive but would follow you around if they like you. We had one companion which followed and stayed with us for 5 hours as we waited for our check-in time at the Airbnb.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9ZobINBRZ6M22d9SBzGCUw@2x.jpeg" /></figure><h3>Staying at Tbilisi</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/816/1*0cZIZZNJ5cWRL83KJladPQ.png" /></figure><p>While planning I looked at a number of options for spending the nights at Tbilisi. During our last trip to Salzburg, Austria, we booked hostel beds which was the cheapest so initially I searched for hostels in Tbilisi as well. It turns out that Airbnb is a cheaper option. We got a full apartment to ourselves with 2 rooms, a double bed, a sofa bed with kitchen and toilet. All for just 98,66 Euros for 3 nights. Divide it further by 4 people, it was just a little of 8 Euros per person per night. It was a very good deal as it was way better than just having private beds at a hostel. The location was very central, just 10 mins walk to the Public Service Hall by the river with local shops nearby as well as a big grocery store just 7 mins away.</p><p>We spent the first day resting and chilling at our Airbnb. I went to get an e-sim for internet at a Magti Store. They are a leading network company in Georgia. I bought an e-sim with unlimited internet for 7 days for only 20 GEL. It was perfect for me as we were staying at Georgia for a week and I was able to share it with other via hotspot.</p><blockquote>I am writing in both GEL and Euro. For reference 1 Euro is about 3 GEL.</blockquote><p>The girls went out at night to explore the city while I was resting. Compared to Germany, the night is very lively at Tbilisi. Everyone is out and enjoying and it is very loud at public areas like parks and food streets.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6N3skY9dkG-Q2150Qswtaw@2x.jpeg" /></figure><h3>Exploring Tbilisi at Day 2</h3><p>5th of June was our day 2 in Georgia. We planned to explore the many attractions of the capital that day. After having breakfast from a local shop, we started our sightseeing from the Liberty Square. This was a golden monument at the center of a roundabout. It looked pretty good in the glowing sun. It was about 20 mins walk from our Airbnb.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*elHN1Cd_ouXBl_SKFqrMmA.png" /></figure><p>After Liberty Square, our plan was to visit the Narikala Fortress. We initially planned to hike all the way up to the fortess and enjoy the city view as we ascent. However, the path as well as the fortress itself was closed due to some construction work. There were other attractions on top of the hill so we took the cable car to the top. It was 3 Euros per person 1 way to the top. From there the only attraction which was open to visit was the Mother of Georgia. This huge statue of a woman holding wine at one hand and a sword at another was always visible from the city below. Locals say that the statue symbolizes the Georgian hospitality to friends with the wine and hostility towards those who come with bad intentions with the sword.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*l7trASA01Cz-kj5e.jpg" /></figure><p>There was also a waterfall nearby which was accessible from the top of the hill through the botanical garden. However, we were unable to see either again due to some construction going on at that time. The view from the top was really great. We were able to see the bridge of peace, the gleaming roof of the holy trinity church and the noticeable architecture of the Public service hall. We took the cable car down to the starting place which was beside the bridge of peace. It took the same 3 GEL per person for the ride.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hI749kPMexP5JeMmL7gBgQ@2x.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*P67WNY7pKmJH2-Kk" /><figcaption>Here you can see the Bridge of Peace with the Public hall of Justice behind it.</figcaption></figure><p>The bridge of peace is the most famous bridge for the Kura river which runs through Tbilisi. It was manufactured and partly constructed in Italy, before being transported to Tbilisi using 200 trucks. It was assembled here and it is very much noticeable from any vantage point. It is a short walk to cross the bridge and it hold a different type of beauty at night when all the LEDs light up with different color patterns.</p><p>When you walk along the river and also during crossing the bridge, you will face many people who would want to sell you stuff. You will see people having different type of birds which they would want to put on your shoulder without asking you. They later ask for money if you like the bird and want to take pictures with the bird on you. So be sure to firmly let them know that you are not interested. You will also find people who are offering 30 mins boat ride along the river. It can be worth it during a cool afternoon but be sure to do some research about the price and what it includes because it varies a lot.</p><p>After crossing the river, we had some light lunch of chicken nuggets and french fries from a food truck. We waited there for some time so that we reach the leaning tower exactly when it is 4 o clock. This is because there is a mechanical fairy which comes out of the tower at every hour to ring the bell on top. The tower is famous for having the largest as well as the smallest clock in Georgia. The smallest clock however, had its time wrong.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JmZCFGvxZRjKfGRKRfu9DQ@2x.jpeg" /></figure><p>These were all the highlights of day 2 in Tbilisi. Tomorrow, we were going towards the Qazbegi mountains.</p><h3>Qazbegi on Day 3</h3><p>We started day 3 early as it takes three and a half hour to reach Stepantsminda, a small town near the Gergeti Holy Trinity Church. The plan was to go to the Didube Bus Station and take a mini bus there. We took a bolt to the bus station which costed about 7 GEL.</p><p>Finding the minibus was another challenge. You will be met with private taxies who will be asking you to rent them with double the cost. Be patient and look for the place where they have the minibuses. You will see the arrival location clearly written in front of the buses. The Qazbegi buses are normally found in an open space through a small street market. Just ask other people about the <a href="https://maps.app.goo.gl/xYoYetnjxogbxE397">location </a>and they will normally point you towards them. The fare for each person was 15 GEL. They depart each at each hour starting from 8 am till 6 pm.</p><p>The ride was not very smooth. The minibus held 18 people including the driver. Our bus broke down in the middle and we had to wait around 40 minutes for another bus to come and pick us up. After an hour or so the weather began to cool down. We could see beautiful sceneries with snow capped mountain in the distant. We were travelling through the road which was engulfed by breathtaking views. At times we wanted to just get off and take some pictures but as we were in a public bus, we didn’t have his chance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4hssMebOo_4BvE7mfTr7Ew@2x.jpeg" /></figure><p>Stepantsminda was a small town where our minibus journey ended. There we had our brunch with the best shwarma I have ever eaten. It costed 12 GEL and it was worth each of it. From there we had the option to walk all the way to the Gergeti church or take a car there. The hike was about 1 hour 15 minutes and was suggested by many people. However, we were tired from the journey and full of food so we decided to take the car. It is 60 GEL up and down with 40 minutes of photography time in the church.</p><p>The ride was about 10 mins to the top of the church. And from there the view was extraordinary. I have a limited set of vocabularies to explain the beauty so check out the pictures below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QjSwEhLdG2IKyx0_CuuRdA@2x.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*exQvg4b_tkS9uQpu2xF8qw@2x.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tTyhDL9uqquvCoQp-DDdEA@2x.jpeg" /></figure><p>There was also waterfall which can be hiked from the starting point at Stepantsminda. The driver offered to take us there for another 60 GEL but we decided against it. Getting back from Qazbegi, we wanted to get down at some stops so we took a private car back to Tbilisi. This was 120 GEL which included 3 stops for 20 mins each. The first stop was Gudauri. It another magical place to stop by. There is a circular structure where everyone takes pictures. But just below it there is a passage to a cliff with a chair on it. That has the most amazing view for pictures.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EKjinA1Q48LreR_PoZ7yfg@2x.jpeg" /></figure><p>The second stop was the Ananuri Fortress. It was by a water resevoir but it was really hot so we didn’t spend that much time there. The third stop was another view of the water resevior called Zhinvali. It was okay but not as beautiful from where we came from. And our last stop was back to Didube bus station at Tbilisi. These were all the highlights of our day 3.</p><h3>Leaving for Batumi at Day 4</h3><p>There were 2 attactions left for us to see in Tbilisi before we left for Batumi. Those were the Holy Trinity church and the Georgian Memorial. However due to time constraint, we could only choose one. We ended up choosing the church as it was closer to us.</p><p>The Holy trinity church is one of the key landmarks of Tbilisi. The gleaming golden crown can be see from anywhere in the city. It is a very tall structure with a lot of area. If doesn’t look that big from far but you can understand its enormity more as you get closer to it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dgsEVDtWxUUiW7tgIRSVjg@2x.jpeg" /></figure><p>We took some pictures there and headed over to a restaurant to have kachapuri as lunch before starting our journey to Batumi. Kachapuri is a Georgian traditional food that can be found almost anywhere. It is a bread item which is made like a boat. The inner part of the boat is filled completely with cheese, butter and a uncooked egg york. It is said that the wives of the sailors in the past used to cook these for their husbands so that they have a clear sunny sky during their journey, as indicated by the egg york. It is a very tasty food and I liked it very much. It’s price varies from somewhere between 10 to 15 GEL.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6E5YQdCFiqrtzHmHHY15Kw@2x.jpeg" /><figcaption>Khachapuri</figcaption></figure><p>Afterwards, we traveled to an Omnibus bus stop where our bus to Batumi was waiting. This was the same type of bus we used to come to Tbilisi from Kutaisi Airport. The journey to Batumi took about 5 hours so we reach there at 11 pm. We took a bolt to our airbnb location where we met the assistant of the airbnb owner. She showed us how to get into the apartment and all the things necessary for the airbnb. It was nice as we got a direct view towards the black sea from our balcony. The flat was at 11th floor so we got quite the height in terms of view.</p><p>We had another amazing shwarma for dinner and spent the night sleeping well in our new house. Tomorrow, the sea beach awaits!</p><h3>Roaming Batumi at day 5</h3><p>Batumi is considered to be a European version of Dubai. It is filled with amazing streets, night life, casinos, amusement parks etc. Apart from the long sea beach, the boulevard host many of the attractions of the city. But our initial plan for today is visit the fish market.</p><p>Growing up is Bangladesh, fish is the main thing we miss the most there in Europe. Apart from having a low variety of fishes in Germany, they were also very expensive. Thus coming to Batumi, we had to try the fresh fish market, where we buy the fish straight from port fish market, take the fish to the number of restaurants behind where they directly cook it for you. It was a great experience which reminded me of Dhaka fish markets.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*w00wGC1GnQkECzIXeBG5qw@2x.jpeg" /></figure><p>We bought some salmon, sea bass, few oysters, mussels, shrimps, 3 small octopus and a small squid. We took the fishes to the restaurant where they weigh the fish and take 6 GEL per kilo to be grilled. Entire plater shown below costed around 100 GEL in total. That is about 33 Euros for sea food lunch of 4 people. (Yes I also took a kachapuri because why not)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ShNszL20hNXmfuXdq2gJhQ@2x.jpeg" /></figure><p>We got a great table to eat, just beside the coast line. The weather was hot but it was balanced by the cool breeze from the black sea. We ate till we were full there and took our leave from this restaurant to explore more of Batumi that day.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ri4Li-Gu2Cfl_EipAqnyLw@2x.jpeg" /></figure><p>Our next stop of that day was the statue of Ali and Nino. These were 2 moving statues circling each other and mixing at the end to become one. This was created for a love story between a Muslim Azerbaijani boy and Christian Georgian girl. This was at one end of the Batumi Boulevard beside the giant Ferris wheel.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_MtQXuUbBH-Od-SzSykHJQ@2x.jpeg" /></figure><p>We started our walk from there toward our airbnb through the boulevard. It was really an amazing place to walk. Through it, you will see many building with great architecture at one side and the sea shore at the other. We had the perfect time as the sun was setting and we got a beautiful light during our evening walk.</p><blockquote>I cannot list down all the attraction on the boulevard but the general advice is follow google maps. All the attractions are listed there and you can choose which ones you want to see.</blockquote><p>On the way home, we stopped at a super market to buy some slight food for dinner and next day breakfast. We also bought some snacks for the flight and cheap noodles for back in Germany.</p><h3>Staying home at day 6</h3><p>Day 6 was dull for others but for me it was relaxing. It was raining heavily so didn’t plan anything for that day. The girls wanted to go outside and roam around but that didn’t happen due to the weather. I got to chill and relax the entire day. We ended up eating cup noodles and watched movies to spend the day while rain poured outside. We drank tea at the balcony as we watch the rain on the sea. It was a great moment to enjoy with friends.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1020/1*F_sJ00EB9t64MIiqhsrmSA@2x.jpeg" /></figure><p>It is not financially good idea to eat out at every meal. So the airbnbs had basic cooking facilities with some pots and pans. We had egg, sausage and bread once and another time its just cup noodles which only requires warm water. So you can also try eating like this if you can.</p><h3>Preparing for home at day 7</h3><p>We had our flight at 6 pm from Kutaisi Airport back to FMM. So we had the entire day for the sea. In the morning when we saw that there was no rain but just winds, we prepared to bath in the sea. The waves were stronger then and almost closer to the ones in Cox Bazar, Bangladesh.</p><p>We wanted to take the train to Kutaisi but it was already booked out. So be sure to book it 2–3 days before if you want to get seats. For our plan, we booked the bus again to Kutaisi Airport which costed 20 GEL per person. We had a filling lunch of Shwarma for the last time before starting our journey back to the airport.</p><h3>Cost Summary of the trip</h3><p>Being in Europe, Georgia is a very affordable country to travel. Moving within the city is very cheap with public transport as well as bolts. Again comparing to other European countries, the food is very cheap and delicious.</p><p>Here I am giving all of our costs for the trip in Georgia. The small details like food and groceries prices are not mentioned explicitly as I don’t remember them all.</p><pre>Ticket from FMM to Kutaisi and back- WizzAir      = 120€<br>Bus from Kutaisi Airport to Tbilisi- OmniBus      = 25 GEL<br>AirBnb- Tbilisi- 3 nights                         = 98.66€/4 person<br>Magti sim- 7 day unlimited internet               = 20 GEL<br>Cable car to the Narikala Fortress- Per person    = 3 GEL<br>Kachapuri                                        ~= 14 GEL<br>MiniBus to Qazbegi                                = 15 GEL<br>Car rent to Holy Trinity church and back- Qazbegi = 60 GEL<br>Car rent from Qazbegi(Stepantsminda) to Tbilisi   = 120 GEL<br>Bus from Tbilisi to Batumi- CityBus               = 10 GEL<br>AirBnb- Batumi- 3 nights                          = 131.12€/4 person<br>Fish- Salmon per kg                              ~= 22 GEL<br>Fish- Small Octopus                               = 3 GEL<br>Fish- Squid                                       = 5 GEL<br>Grill/Fry fish per kg                             = 6 GEL<br>Bus from Batumi to Kutaisi Airport                = 20 GEL<br><br>(1€ ~= 3 GEL)</pre><h3>Conclusion</h3><p>This was the longest trip yet ever since we came to Germany from Bangladesh. Being this much affordable was even better for us to make decisions for this trip. Overall, we enjoyed Georgia with an open perspective. I would recommend this to anyone who would like to explore a mix of Asia and Europe and who searching for a cheap place to travel for a week.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dfd9955b46ba" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Get up to speed with AI in 2024]]></title>
            <link>https://medium.com/@jubayerhossainahad/get-up-to-speed-with-ai-in-2024-7e1c7fd398c6?source=rss-22419163b78f------2</link>
            <guid isPermaLink="false">https://medium.com/p/7e1c7fd398c6</guid>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[neural-networks]]></category>
            <category><![CDATA[transformers]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Jubayer Hossain Ahad]]></dc:creator>
            <pubDate>Mon, 17 Jun 2024 21:13:09 GMT</pubDate>
            <atom:updated>2024-06-17T21:13:09.410Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*_cJKMvsx4idwoAul" /><figcaption>Photo by <a href="https://unsplash.com/@steve_j?utm_source=medium&amp;utm_medium=referral">Steve Johnson</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Artificial intelligence is buzz word in 2024 and the hype is real. I have started learning about AI since 2020 and a lot have changed since then. If you are CS student in 2024, how are you going to get up to speed with all the latest advancement when you don’t even know where to begin?</p><h3>Start here</h3><p>AI has its roots in <strong>mathematics </strong>more than programming. This is the most important thing that I tell my <a href="https://www.youtube.com/@zubayer_hossain">subscribers </a>to start with. Learn your linear algebra and calculus. When you see an equation explaining clearly how backpropagation works, you will know what I mean.</p><p>From linear algebra, you will only need to understand how to deal with matrices e.g. (matrix multiplication). From calculus, you don’t need to understand the gravity equation, rather only how partial differentiation and chain rule works.</p><p>After you understand some basic math, you can start with the <strong>programming </strong>aspects where you will be applying the learnt mathematics using the programming language. About the choice of language, just forget everything else and learn <a href="https://www.python.org/">python</a>. It’s easy to grasp and it is the leading programming language of choice for ALL AI application. Practice all the programming concepts starting from Variables, data types, Boolean logic, loops, conditional statements, Functions and finally Classes in python.</p><blockquote>Some people may suggest you to learn C++ but trust me when I say that in 2024, the probability of you encountering a documentation written in C++ which doesn&#39;t have a python translation is nearly 0.</blockquote><p>Now when you have a good enough grasp in using python, you can start with the deep learning. Forget about other machine learning algorithms. Deep learning is the only thing you should focus on if you want to get up to speed. Start with the theories of how neural networks are formed, how data flows between each layer of the network, what are weights and how are they updated using backpropagation. Spoiler alert, they use <em>partial differentiation and chain rule</em> on each element of the weight matrix to get the new weights.</p><h4>A short analogical introduction of Neural Networks</h4><p>Neural networks are very flexible about the way you create them. Meaning the number of layers as well as the number of neuron in each layer can be set by you, the architect. Neurons are like data holders which hold a single decimal number within them. When number is passed on to the next neuron, it gets multiplied by another number which we call the <em>weight</em>. For example, when you travel from home to school, the travel time can be considered as a weight.</p><p>A Neural Network is formed by millions of these neurons working together. A simple example of a neural network is shown below. You can see that the input to this network is a vector of 8 numbers and the output is a vector of size 4. The lines connecting the neurons have the weights and are multiplied they data moves between them.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*cSVnzAUgj9gLhm67.jpeg" /></figure><p>Other than the input and the output layers, we have the hidden layers. It is called hidden because we do not understand what the values inside these neurons mean. This is why this AI model is called a black box model. When we have these multi-layered neural networks, we can classify them as Deep Neural Network. This is the pinnacle of Deep learning.</p><p>The learning process happens like we teach a toddler. We show it a picture of a dog for the first time and ask if it is a cat or a dog. There is 50% probability of a correct response with no learning because it is random. We have a ground truth with which we can match its answer. If it answer correctly, we don’t say anything and if it answers wrong, we correct it saying no it is a dog or a cat. Showing enough pictures and repeating the correction process lead to a well versed toddler which can differentiate between cats and dogs with high level of accuracy. Mathematically we call this process as backpropagation. We update the weights of the network based on the answer it produces for a given input.</p><p>If you want to get up to speed with LLMs, some might argue that Convolution Neural Networks are not important. I would say that it is still a very important part of the AI ecosystem which deals with vision and ultimately the basic building blocks of self driving cars. This branch of AI model deals with images. As basic Neural networks are really bad at handling images as images are not 1 dimensional data structures but rather 2 dimensional at the least. It contains a width, a height and a color channel of pixel values. What you need to understand in CNNs is that there is a kernel of pixels which moves over the image.</p><p>The job of the kernel is to simplify the image into machine understandable numbers. There can be multiple convolution layers in a network each reducing the information further. A more explainable way to describe it is that the first layer detects color differences which can be of a line or a border in the image. The lines forms simple patterns in the next layers and they move on to more complex patterns. With enough layers, the CNN learns to detect faces or other complex pattern in an image.</p><p>Of course these explanation is just a way to make sense of what is going on in the layers, but the network detects what is wants to learn the difference between a cat and a dog.</p><p>After the CNN layers, we attach one or two Neural network layers to classify the detection as we want. Oh did I mention? all the layers in the CNN uses backpropagation as well to learn to detect the patterns.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*fmjXBQ7ZzdXU9SB4.png" /></figure><p>When you work with this architecture, you will understand the concepts such as max pooling, padding, step size etc.</p><p>Now if you are excited about LLMs, this is the part you would want to read. You MUST start with this <a href="https://arxiv.org/pdf/1706.03762">paper</a>. This is the basic building block of all the LLMs you see today. You read about the 7 billion parameter and the 70 billion parameter models nowadays? They are talking about 7 billion trainable values in this transformer architecture. From this paper, you need to understand what embedding layer does, what is positional encoding and what is the multi-head attention mechanism.</p><p>In its early days, the <strong>transformer </strong>model was used for sentiment analysis from sentences. You can still train a simple transformer model in you local PC which can do sentiment analysis. However, if you dream to train your own LLM, you are going to need a few thousand dollars worth of GPU for all the computation.</p><h4>Why need GPUs?</h4><p>Modern CPUs are excellent at doing a wide range of task. They are very flexible at doing different kinds of computation at very high speeds. But we can do better.</p><p>GPUs are graphical processing units (in the name) and they were created to process a very specific type of computation. Simply, they calculate how light bounces off of objects and show them visually in the monitor. Have thousands or millions of these light interactions and you have graphics used in games or 3d visualization. These are same type of computation but require far greater processing speed than the Central Processing Unit can provide. Thus the GPU is dedicated for this task only.</p><p>Apparently, the GPU uses matrix calculation to calculate these computations in bulk. So as all Deep learning application also uses matrix calculations, we accelerate the AI training by approximately 175.00% compared to training in the CPU. The bigger the VRAM of the GPU, the more data it can compute as a bulk, making it exponentially faster and an ideal choice for training AI.</p><blockquote>More specialized GPUs have been built which only focus on AI training called TPUs (Tensor Processing Units). Tensor are multi-dimensional matrices which are used by AI architecture.</blockquote><h3>Conclusion</h3><p>To summarize, you need the following knowledge in order:</p><ul><li>Mathematics: Linear Algebra and Calculus</li><li>Programming in python: Basic concepts</li><li>Neural Networks: Theory and practice</li><li>CNNs: advanced architecture (for computer vision)</li><li>Transformers: Attention is all you need!</li><li>LLMs</li></ul><p>If you follow this, it will take around 6 months to complete everything if you are somewhat dedicated for it. Spend some time on this and you will not regret it. You will be able to stay on par with the latest AI advancements and understand most things in AI conferences.</p><p>Next up is understanding the limitation of LLMs and improve it using RAG. But that’s for another story.</p><p><a href="https://medium.com/@jubayerhossainahad">Jubayer Hossain Ahad - Medium</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7e1c7fd398c6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Customizing Danswer to your needs]]></title>
            <link>https://medium.com/@jubayerhossainahad/customizing-danswer-to-your-needs-431d0ae54c4e?source=rss-22419163b78f------2</link>
            <guid isPermaLink="false">https://medium.com/p/431d0ae54c4e</guid>
            <category><![CDATA[danswer]]></category>
            <category><![CDATA[chat-app-source-code]]></category>
            <category><![CDATA[customization]]></category>
            <category><![CDATA[llm-applications]]></category>
            <category><![CDATA[code-change]]></category>
            <dc:creator><![CDATA[Jubayer Hossain Ahad]]></dc:creator>
            <pubDate>Wed, 12 Jun 2024 23:06:53 GMT</pubDate>
            <atom:updated>2024-06-12T23:06:53.530Z</atom:updated>
            <content:encoded><![CDATA[<h3>Customizing Danswer</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ooh72DzFgCcaDwyWg8xBkg.png" /></figure><p>My work at the university was requiring me to make/find a web app that serves as a frontend to our own LLM. The requirements grew to add functionality as such PDF chat, authentication and saved chat history. This demo was to be made fast so coding it from scratch was not an option. Luckily, there were a lot of ready made LLM chat apps on GitHub. After trying a lot of them, we ended up choosing Danswer.</p><blockquote>I highly recommend going through the <a href="https://docs.danswer.dev/quickstart">Danswer docs</a>. They are very elaborate about what needs to be done.</blockquote><p>We obviously couldn&#39;t use Danswer as it comes originally, so we had to re-brand it with our University logos and change the name. Danswer doesn&#39;t have this feature of full customization This article is to show you how you can re-brand Danswer to your needs.</p><p>Firstly you need to clone Danswer repo from github.</p><pre>git clone https://github.com/danswer-ai/danswer.git</pre><p>You need Docker with compose to install Danswer. This is the only way to build and shut down the running application. If you are using windows, make sure that docker command is accessible in your Powershell terminal. To be sure that docker command is running, such type docker is your terminal and it should show anything other than docker command not found</p><p>After making sure that you have docker, navigate to the docker compose folder.</p><pre>cd danswer/deployment/docker_compose</pre><p>You can start up the default Danswer app to play around by using the command below. However, to make changes on the interface, follow the next steps.</p><pre>docker compose -f docker-compose.dev.yml -p danswer-stack up -d --pull always --force-recreate</pre><h3>Changing the interface</h3><p>Open the folder where you have cloned Danswer with your favorite editor. Mine is VSCode. Lets start changing from the top.</p><blockquote>Pro tip: instead of navigating from folder to folder to find the right files, just use the search feature of VSCode to find the files to make the necessary changes.</blockquote><h4>Logo and App name</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6WiLkDU91ON8RQCQCeBXUg.png" /></figure><p>There is a small logo and the name “Danswer” on the top right. That part is called the sessionSidebar on the code. To change this we go to danswer/web/public/ folder to find logo.png . Replace this png file with yours and make sure the name stays as logo.png .</p><p>To change the name on the sidebar, navigate to danswer/web/src/app/chat/sessionSidebar/ folder to find the ChatSidebar.tsx file. Open the file and find the code block below. It should be around line 60 in the file. Change the “Danswer” in the h1 tag to your preference. Save the file after the changes.</p><pre>&lt;div className=&quot;pt-6 flex&quot;&gt;<br>  &lt;Link<br>    className=&quot;ml-4 w-full&quot;<br>    href={<br>      settings &amp;&amp; settings.default_page === &quot;chat&quot; ? &quot;/chat&quot; : &quot;/search&quot;<br>    }<br>  &gt;<br>    &lt;div className=&quot;flex w-full&quot;&gt;<br>      &lt;div className=&quot;h-[32px] w-[30px]&quot;&gt;<br>        &lt;Image src=&quot;/logo.png&quot; alt=&quot;Logo&quot; width=&quot;1419&quot; height=&quot;1520&quot; /&gt;<br>      &lt;/div&gt;<br>      &lt;h1 className=&quot;flex text-2xl text-strong font-bold my-auto&quot;&gt;<br>        Danswer<br>      &lt;/h1&gt;<br>    &lt;/div&gt;<br>  &lt;/Link&gt;<br>&lt;/div&gt;</pre><h4>Default Assistant name</h4><p>If you would like to change the name of the default Personas(now called Assistants) named “Danswer”, navigate to danswer/backend/danswer/chat/ and find the personas.yaml file. Open the file and you can see the list of default built-in personas in Danswer. Change the names as you want. For changing the name of the first persona named “Danswer”, change the name of the persona with id: 0. This is found around line 8 of the file. Save the file after the changes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6_8PECT9CxfqVSejwN58Dw.png" /></figure><pre>personas:<br>  # This id field can be left blank for other default personas, however an id 0 persona must exist<br>  # this is for DanswerBot to use when tagged in a non-configured channel<br>  # Careful setting specific IDs, this won&#39;t autoincrement the next ID value for postgres<br>  - id: 0<br>    name: &quot;Danswer&quot;<br>    description: &gt;<br>      Assistant with access to documents from your Connected Sources.<br>    # Default Prompt objects attached to the persona, see prompts.yaml<br>    prompts:<br>      - &quot;Answer-Question&quot;<br>    # Default number of chunks to include as context, set to 0 to disable retrieval<br>    # Remove the field to set to the system default number of chunks/tokens to pass to Gen AI<br>    # Each chunk is 512 tokens long<br>    num_chunks: 10</pre><p>You can change also change other settings in this file regarding the assistants. I will not go over those as this article is only for the interface changes.</p><h4>Icon change</h4><p>To change the icon shown in the tab, navigate to danswer/web/src/app/ folder and replace the favicon.ico file with your own icon. The format of the icon must be .ico . If you have a png or a jpg file, go to any file conversion websites (freely available online) to change it to .ico file.</p><h4>Back to Danswer Chat Button</h4><p>The text of this button can be found on danswer/web/src/app/chat/shared/[chatId]/SharedChatDisplay.tsx file. Find the function code block below and change the text of the button. This can be found around line 21.</p><pre>function BackToDanswerButton() {<br>  const router = useRouter();<br><br>  return (<br>    &lt;div className=&quot;absolute bottom-4 w-full flex border-t border-border pt-4&quot;&gt;<br>      &lt;div className=&quot;mx-auto&quot;&gt;<br>        &lt;Button onClick={() =&gt; router.push(&quot;/chat&quot;)}&gt;<br>          Back to Danswer Chat<br>        &lt;/Button&gt;<br>      &lt;/div&gt;<br>    &lt;/div&gt;<br>  );<br>}</pre><h4>Signup page text</h4><p>If you have enabled authentication for Danswer, you will see a sign-up page where the text is “Sign Up for Danswer”. To change this text, navigate to danswer/web/src/app/auth/signup/page.tsx file and find the code block below. This should be around line 47 to 80. Change the text there according to your preference.</p><pre>return (<br>  &lt;main&gt;<br>    &lt;div className=&quot;absolute top-10x w-full&quot;&gt;<br>      &lt;HealthCheckBanner /&gt;<br>    &lt;/div&gt;<br>    &lt;div className=&quot;min-h-screen flex items-center justify-center py-12 px-4 sm:px-6 lg:px-8&quot;&gt;<br>      &lt;div&gt;<br>        &lt;div className=&quot;h-16 w-16 mx-auto&quot;&gt;<br>          &lt;Image src=&quot;/logo.png&quot; alt=&quot;Logo&quot; width=&quot;1419&quot; height=&quot;1520&quot; /&gt;<br>        &lt;/div&gt;<br>        &lt;Card className=&quot;mt-4 w-96&quot;&gt;<br>          &lt;div className=&quot;flex&quot;&gt;<br>            &lt;Title className=&quot;mb-2 mx-auto font-bold&quot;&gt;<br>              Sign Up for Danswer<br>            &lt;/Title&gt;<br>          &lt;/div&gt;<br>          &lt;EmailPasswordForm<br>            isSignup<br>            shouldVerify={authTypeMetadata?.requiresVerification}<br>          /&gt;<br><br>          &lt;div className=&quot;flex&quot;&gt;<br>            &lt;Text className=&quot;mt-4 mx-auto&quot;&gt;<br>              Already have an account?{&quot; &quot;}<br>              &lt;Link href=&quot;/auth/login&quot; className=&quot;text-link font-medium&quot;&gt;<br>                Log In<br>              &lt;/Link&gt;<br>            &lt;/Text&gt;<br>          &lt;/div&gt;<br>        &lt;/Card&gt;<br>      &lt;/div&gt;<br>    &lt;/div&gt;<br>  &lt;/main&gt;</pre><h4>Header</h4><p>Change the header of the app by going to danswer/web/src/components/header and finding the file named Header/tsx . Around line 77, find the header named “Danswer” and change it to your needs. Code block below.</p><pre>&lt;HeaderWrapper&gt;<br>    &lt;div className=&quot;flex h-full&quot;&gt;<br>      &lt;Link<br>        className=&quot;py-4&quot;<br>        href={<br>          settings &amp;&amp; settings.default_page === &quot;chat&quot; ? &quot;/chat&quot; : &quot;/search&quot;<br>        }<br>      &gt;<br>        &lt;div className=&quot;flex&quot;&gt;<br>          &lt;div className=&quot;h-[32px] w-[30px]&quot;&gt;<br>            &lt;Image src=&quot;/logo.png&quot; alt=&quot;Logo&quot; width=&quot;1419&quot; height=&quot;1520&quot; /&gt;<br>          &lt;/div&gt;<br>          &lt;h1 className=&quot;flex text-2xl text-strong font-bold my-auto&quot;&gt;<br>            Danswer<br>          &lt;/h1&gt;<br>        &lt;/div&gt;<br>      &lt;/Link&gt;</pre><h4>Welcome text and title</h4><p>Find the file named WelcomeModal.tsx in folder danswer/web/src/components/initialSetup/welcome/ . Change the title and the welcome text as you wish. This block is found around line 215 to line 225.</p><pre>default:<br>  title = &quot;🎉 Welcome to Danswer&quot;;<br>  body = (<br>    &lt;&gt;<br>      &lt;div&gt;<br>        &lt;Text&gt;How are you planning on using Danswer?&lt;/Text&gt;<br>      &lt;/div&gt;</pre><h4>LLM setup message</h4><p>When you first start up Danswer, you will be prompted to set up an LLM for Danswer to use. This message contains the name “Danswer”. If you want to change it, find the file named ApiKeyModel.tsx in the folder danswer/web/src/components/llm/ . Around line 40 to 60, find and change the code block.</p><pre>&lt;Modal<br>  title=&quot;LLM Key Setup&quot;<br>  className=&quot;max-w-4xl&quot;<br>  onOutsideClick={() =&gt; setForceHidden(true)}<br>&gt;<br>  &lt;div className=&quot;max-h-[75vh] overflow-y-auto flex flex-col px-4&quot;&gt;<br>    &lt;div&gt;<br>      &lt;div className=&quot;mb-5 text-sm&quot;&gt;<br>        Please setup an LLM below in order to start using Danswer Search or<br>        Danswer Chat. Don&amp;apos;t worry, you can always change this later in<br>        the Admin Panel.<br>        &lt;br /&gt;<br>        &lt;br /&gt;<br>        Or if you&amp;apos;d rather look around first,{&quot; &quot;}<br>        &lt;strong<br>          onClick={() =&gt; setForceHidden(true)}<br>          className=&quot;text-link cursor-pointer&quot;<br>        &gt;<br>          skip this step<br>        &lt;/strong&gt;</pre><h4>User Dropdown feature names</h4><p>Find the file UserDropdown.tsx in the folder danswer/web/src/components/ . Change line 90 and 100 to remove the name danswer from “Danswer Search” and “Danswer Chat”.</p><h3>Conclusion</h3><p>That’s all the necessary changes I found to re-brand Danswer to your needs. There are still other headers on the admin panel which can also be changed. But as the general users of the app will not access the admin panel, I did not find the need to change those.</p><p>Thank you Danswer team for this amazing and simple to use product. Check out their <a href="https://discord.gg/TDJ59cGV2X">discord</a> or <a href="https://join.slack.com/t/danswer/shared_invite/zt-1w76msxmd-HJHLe3KNFIAIzk_0dSOKaQ">slack </a>to get any kind of help regarding it.</p><p>Hope you find this article useful. I will write more about LLM research and projects so be sure to follow me here. This is my first article on Medium to take it with a grain of salt. Cheers.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=431d0ae54c4e" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>