Agenda
Welcome
Introduction to AIFAQ Chatbot
Live Demonstration - End User
Hands-On Testing - Developer�
Network , Social Media Links
Innovative Features
Moderate Q and A
AGENDA
Welcome
Introduction to AIFAQ Chatbot - Supratick Mondal
Live Demonstration - End User
Hands-On Testing - Developer�
Network , Social Media Links
Innovative Features
Moderate Q and A
Development and Functionalities:
GOAL �To assist users by providing a conversational AI tool that efficiently answers context-specific questions, reducing the need to sift through extensive documentation.
We aim to support the users by simplifying workflows by avoiding the need to wade through oceans of documents to find information they are looking for.
Development and Functionalities:
FUNCTIONALITY
The prototype implements an open-source AI chatbot that responds to HTTP requests using a RESTful API.
It utilizes Retrieval Augmented Generation (RAG) to enhance the chatbot's answers by incorporating knowledge from external databases. The system supports data ingestion to create a vector database from sources like online software guides and GitHub documentation.
Development and Functionalities:
INTEGRATION (Hyperledger)
The system is an open-source Python project that integrates with external knowledge databases, such as vector databases, to improve AI responses.
It currently uses the HuggingFace Zephyr-7b-beta model, with plans to explore additional open-source models. A user interface (UI) module is also planned for future development to complement the existing HTTP request-based.
Data Ingestion Workflow:
Chat Workflow:
User Interface/ Frontend
AGENDA
Welcome
Introduction to AIFAQ Chatbot
Live Demonstration - End User - Xitong (Jacqueline) Zhang
Hands-On Testing - Developer�
Network , Social Media Links
Innovative Features
Moderate Q and A
Live Demonstration - User Interaction
Setup
Interaction
Response Analysis
AGENDA
Welcome
Introduction to AIFAQ Chatbot
Live Demonstration - End User
Hands-On Testing - Developer�
Network , Social Media Links
Innovative Features - Madugula Jayaram
Moderate Q and A
Innovative Features
LLM
Large Language Model + RAG �Supporting Documentation
Open Source Repo
OPEN SOURCE�Preserve data privacy, reduce costs, high flexibility
QLoRA� Memory Usage Reduction
Quantized Low-Rank technique Supporting Documentation
Innovative Features
LLM
Large Language Model + RAG
Innovative Features
OPEN SOURCE Preserve data privacy, reduce costs, high flexibility
Innovative Features
QLoRA Memory usage reduction, Quantized Low-Rank technique
AGENDA
Welcome
Introduction to AIFAQ Chatbot
Live Demonstration - End User
Hands-On / Testing - Developer - Gianluca Capuzzi�
Network , Social Media Links
Innovative Features
Moderate Q and A
Help Us Test
Testing
Install the AIFAQ Chatbot:� YouTube hands-on guide
Feedback
Provide insights for improvement:
AGENDA
Welcome
Introduction to AIFAQ Chatbot
Live Demonstration - End User
Hands-On / Testing - Developer�
Network , Social Media Links - Shreya Sahay and Anshika Vashistha
Innovative Features
Moderate Q and A
Networking Opportunities
1
Connect
Meet like-minded individuals in AI and blockchain
2
Exchange
Share ideas and explore collaboration opportunities
3
Build
Contribute to a community of innovators
AGENDA
Welcome
Introduction to AIFAQ Chatbot
Live Demonstration - End User
Hands-On / Testing - Developer
Network , Social Media Links
Innovative Features
Moderate Q and A - Arunima Chaudhury
Q&A
Discord Link https://discord.gg/hyperledger
Website https://hyperledger.org/labs/aifaq
GitHub https://github.com/hyperledger-labs/aifaq
Future improvements
Cloud installation
Allow the prototype installation on a Cloud Server: React frontend
Further use cases
Expert systems, Dataset generation
Small AI Model
Train a smaller model: cost reduction and performance improvement
Hands-On Testing Step By Step
SETUP THE AIFAQ Bot
Hands-On Testing Step by Step
Get the Code
Step 1: Open the terminal and execute the following command:
wget https://github.com/hyperledger-labs/aifaq/archive/refs/heads/main.zip
Step 2: Unzip and remove main.py and main.zip
Step 3: Move into “aifaq-main/src/core” folder
Hands-On Testing Step by Step
Get the Document Source
Step 1: Get the Hyperledger Fabric ReadTheDocs:
wget -r -A.html -P rtdocs https://hyperledger-fabric.readthedocs.io/en/release-2.5/
Step 2: Stop (CTRL + C) when it is downloading other releases:
Step 3: move into “release-2.5” folder and compress the content:
tar -czvf rtdocs.tar.gz .
Step 4: Move the file in “rtdocs” folder
Hands-On Testing Step by Step
Switch to GPU
Hands-On Testing Step by Step
Create the Knowledge Base
Step 1: Install dependencies:
pip install -r requirements.txt
Step 2: Execute “ingest.py” script:
Hands-On Testing Step by Step
Test the System
Step 1: Run API:
Step 2: Execute “api.py” script:
Step 3: Check it:
Hands-On Testing Step by Step
Ask Questions
Step 1: Send a question via POST request:
curl --header "Content-Type: application/json" --request POST --data '{"text": "How to install Hyperledger fabric?"}' http://127.0.0.1:8080/query
Antitrust Policy: | |
Code Of conduct: | |
Form for Networking: | |
Public Hyperledger Calendar | |
Github Repo | |
HuggingFace | |
ChromaDB | |
RAG Paper: | |
Supporting Docs | |
YouTube Step by Step | |
Wiki Page | |
Lightning AI Studio |
Presentation Links