Skip to content

This project is a chatbot that lets you ask the Viam docs questions to help you in your next Robotics project.

Notifications You must be signed in to change notification settings

waseemhnyc/Viam-Docs-Chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Viam Docs Chatbot 🤖

Work In Progress! Follow for updates

This chatbot lets you ask the Viam docs questions to help you in your next Robotics project!

We use Langchain to load data from the Viam Robotics docs, embed the data and then find the relevant information based on the user's question. We pass that relevant information to OpenAI GPT4 with the question to generate a helpful answer.

Ways to Improve and Future Updates

  1. 🌐 Deploy a live app so anyone could access this chatbot
  2. 📑 Embed and load documentation from the Python/Typescript/Go SDKs so chatbot could answer with more code examples
  3. 🗣️ Integrate a Speech to Text and Text to Speech, so you could speak to the chatbot
  4. 🤖 Create a code assistant agent that will help develop your robotics application with Viam

Have an idea on how to improve? Please reach out!

Questions, Follow for Updates or Get in Touch

Twitter: https://twitter.com/waseemhnyc

Email: waseemh.nyc@gmail.com

Prerequisites

Before you begin, ensure you have met the following requirements:

  • Installed a recent version of Python (3.7 or newer) installed and a way to create virtual environments (virtualenv or conda)
  • Created OpenAI API account and obtain an OpenAI API key

Getting Started

Clone the repo

git clone https://github.com/waseemhnyc/Viam-Docs-Chatbot

Create a virutalenv and source the environment

python3 -m venv myenv
source venv/bin/activate

Install the necessary libraries

pip install -r requirements.txt

Create a .env file and input your OpenAI API Key in the file

cp .env.example .env

Ingest and embed data

python ingest_data.py

Usage

To run the program, run the following command in the terminal:

python app.py

About

This project is a chatbot that lets you ask the Viam docs questions to help you in your next Robotics project.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages