Image obtained from ideogram.ai
This repository contains a Retrieval-Augmented Generation (RAG) chatbot designed to assist developers in understanding Speckle's developer documentation. The chatbot leverages natural language processing techniques to retrieve relevant information from Speckle's documentation and generate informative responses to user queries.
As developers, we often find ourselves navigating through extensive documentation to find the information we need. This RAG chatbot aims to streamline the process by providing a conversational interface where you can ask questions related to Speckle's developer documentation, and the chatbot will retrieve and present the relevant information in a concise and understandable manner.
app/
: This directory contains the server codeserver.py
and the client codeclient.py
for running the chatbot application. To start the server, run
python app/server.py
Then, to start the streamlit app, open another terminal and run
streamlit run app/client.py
utils/
: This directory contains the building blocks and utility functions used by the chatbot, such as document retrieval, answer generation, and grading mechanisms.
To get started with the RAG chatbot for Speckle's developer documentation, follow these steps:
- Clone the repository:
git clone https://github.com/bhargobdeka/RAG-chatbot-Speckly.git
- Navigate to the project directory:
cd RAG-chatbot-Speckly
- Install the required dependencies:
pip install -r requirements.txt
- Start the server:
python app/server.py
- Run the streamlit app:
streamlit run app/client.py
- Type your question in the space provided to get a response.
This is how the app looks like!
Contributions to this project are welcome! If you're interested in collaborating or have suggestions for improvements, please feel free to open an issue or submit a pull request.
This project is licensed under the MIT License.