owner-manual / README.md
ctankso_americas_corpdir_net
minor: Updated README
966a2b3

A newer version of the Gradio SDK is available: 4.44.0

Upgrade
metadata
title: S Class Manual
emoji: πŸ‘
colorFrom: yellow
colorTo: yellow
sdk: gradio
sdk_version: 3.19.1
app_file: app.py
pinned: false
license: mit

Mercedes-Benz Owner's Manual Chatbot

This is a chatbot that uses excerpts from the Mercedes-Benz S-Class and EQE owner's manuals to answer questions related to the vehicle's features, functions, and maintenance. The chatbot uses a combination of natural language processing (NLP) and document indexing to provide accurate and relevant responses to user queries.

Prerequisites

To run this chatbot, you will need to have the following installed on your system:

  • Python 3.7 or later
  • Gradio
  • LangChain
  • EdgeGPT
  • HuggingFace transformers

Installation

To install the necessary packages, you can use pip:

pip install gradio langchain edgegpt transformers

You will also need to download the Mercedes-Benz owner's manual data files and store them in the data directory. The files should be organized in subdirectories named after the vehicle model (e.g., s-class-manual and eqe-manual).

Usage

To start the chatbot, you can run the start_ui() function in the app.py file:

python app.py

This will launch a Gradio interface that allows users to enter a question, select the vehicle model (S-Class or EQE), specify whether to create a new chatbot instance or reuse an existing one, and adjust the number of documents to retrieve from the database.

When the user submits a question, the chatbot retrieves the most relevant excerpts from the owner's manual and uses them to generate a response. The response is then displayed in the Gradio interface.