Q and A interface and code update - Screen bids taken as final bid - complete info here
$30-250 USD
Paid on delivery
I need help to update and add new features to the existing code written in Python. Specifically, I'm looking to create a Q and A interface that allows me to quickly get answers to basic questions. The bids you provide will be taken as the final acceptable bid and should detail exactly what will be done in order to fulfill the project requirements.
Task 1: Update current Q & A code with Note style ready 3 columns and looping to get thew highest confidence answer:
Notebook code explanation.
Your code imports the necessary libraries, loads data from a CSV file, and defines functions for searching the data based on a user's question. The code also creates an interactive user interface using Jupyter widgets to input the question and the number of answers to display. Here's a step-by-step explanation of the code:
Import necessary libraries like pandas, [login to view URL], ipywidgets, and nltk.
Load the CSV data into a pandas DataFrame and fill missing values with empty strings.
Define a search_data function that takes a question, a dataframe, and the number of results to return as input. This function tokenizes the question, removes stopwords, and searches the dataframe for matching keywords, similes, and answers. It returns the top matching answers based on the input question.
Define an on_button_click function to handle the search button click event. This function clears the output widget, gets the input question and number of results from the input box and slider, calls the search_data function, and displays the results in the output widget.
Attach the on_button_click function to the search button click event.
Display the input box, number of answers slider, search button, and output widget.
When you run this code in a Jupyter Notebook, you'll see an interactive user interface for searching the data based on a question. The user can input a question, select the number of answers to display, and click the "Search" button to view the matching answers.
Task 2:
Overview of the code:
Import necessary libraries and modules.
Initialize the Flask app
Define global variables and settings, such as roles, upload folder path, and NLTK-related settings.
Define helper functions for the chatbot, including:
Functions for searching answers and generating a CSV file.
Define Flask routes and corresponding functions:
'/pythonlogin/process_file': Processes the uploaded file and other form data, saves the information to the database, generates answers for the questions in the file, and sends the result as a CSV file.
'/process_description': Generates answers for user queries based on the dataset and returns the results as a JSON object.
Run the Flask app.
This application allows users to submit questions and receive answers based on the dataset for a specific product. The dataset contains questions, answers, keywords, and similes related to the product. The chatbot uses TF-IDF and cosine similarity to find the most relevant answer for a given question.
Task 3: extend code to creating functional UI from previous Q & A code that can do the following
UI example included
The Task extend UI and update current code
System would upload a csv file in questions in the first column
text box will show hox many cells in CSV and with number this question is output of total.
The system would auto populate the 2nd column with the Answers.
The UI would parse the csv with a question text box and the initial auto-populate best answers.
Only 1 question per page.
On the right side of the screen are optional answers in an array with a check box next to each.
If the box is checked in an optional answer, that answer swaps places initial answer.
User can edit the field manually.
Buttons include:
'Next Question' this is save of is the current answer text field. And move to next answer.
'Save' this will save current work to this point.
'Download' It will give a popup asking yes or no if wish to save before downloading than download csv in current state on completion.
Project ID: #36217528
About the project
Awarded to:
Hi, I am interested to develop Q and A interface using Python.I have 8 years good working experience with Python,Django,Data Scraping,Data Science,Machine Learning. Please message me here . Regards Shalu
18 freelancers are bidding on average $186 for this job
Hello Clarence S., We would like to grab this opportunity and will work till you get 100% satisfied with our work. Lets connect in chat so that We discuss further. Thank You
Let's turn your ideas into reality!I have checked have some doubts message me so we can discuss. I'm here to help you achieve your requirement with my expertise and dedication. Thank You
I'm excited to propose my services to extend your existing Python code to create a Q&A interface with a functional UI. I understand that you want to update and add new features to the code, specifically to allow quick More
Hello Mate!Greetings Clarence S., Good evening! I just checked your attachments and understands what you need exactly. As you can see in my profile I am professional web coder not just a normal developer with skills More
Hi, I hope you are fine. I just read your project description. I am glad to find out that this project perfectly fits my skills. I will be happy to complete this project for you as described. Please feel free to reach More
I have been working here since the 2020(الحمد لله) ,Thanks for posting and sharing your project.I have experience in this work ,let be handle this task to me ,i am willing to start Now Just contact/Text☎ Why you Choos More
hi my name is abdul islam expert graphic designer I have been doing this work for the last two-three years if you need me i'm here Thank you