Inspiration

I was having a hard time understanding what Automation is when I first started programming. I even had issues understanding python. There were a lot of issues, a lot of questions in my mind as to what is python and how to go about learning it. I also had a lot of questions regarding what automation framework to use, or how does a program, few lines of code could do and accomplish so much. Ever since I saw that power I was mesmerized. So, I created this chatbot that uses Jina.

What it does

It is a Chat-Bot that uses the power of Jina AI and it answers the question one might have about automation or python. All the questions are handled by the massive dataset which is scraped from the internet which has related information.

How I built it

I build the project Using Jina and python for my scripting. I used DataStax as the DB of choice. For the relevant data, I tried to automate that process with varying levels of success. I have found multiple data sources. Went through a lot of question and found the ones which fit the best. The question also is aimed at interview preparation too. So, all you need is to have a copy of the questions and you can have a mock interview with this CLI client. Finding these questions was a bit difficult, to be honest. Trying to keep the level general and at the same time having enough depth took some searching.

Challenges I ran into

Jina is always very challenging to use. Before I talk about the challenges I faced while setting jina up I would like to talk about how difficult it is to use it on Windows. My intial goal was to have a flutter frontend however, that failed because flutter was unable to send requests on localhost server which is exposed by Jina (because Jina needs a Linux-based env). So, I had to scrap the entire application, I also tried looking for help on the internet but I was running out of time. So, instead I had to resort to a CLI application. I even tried running on replit but the "torch" module just would not install on the server. Now about Jina, Since I had already made a project using Jina I had to spend way less time tryring to make it work.

Accomplishments that I am proud of

The fact that this application works. You can see the power of Jina search in action.

What I learned

I learned a lot about Jina. I learned multiple ways of indexing, coding my own encoder, indexer and tranformer. I also understood a whole new way of implementing Jina into my project. I also learned how to use DataStax and what is DataStax all about.

What's next for Auto-Bot

Trying to find a way to use a different Front-end than CLI is the very next Step I want to take.

Built With

Share this project:

Updates