Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 2.08 KB

File metadata and controls

18 lines (11 loc) · 2.08 KB

How to Build a Knowledge Graph Enhanced Chatbot with ChatGPT and ArangoDB

In this repository, we will build a HealthCare Chatbot powered by 3 key technologies; Knowledge Graphs, ChatGPT, and ArangoDB (next-generation graph database). A detailed blog post for Building Knowledge Graph-Driven Chatbot with ChatGPT and ArangoDB is also available. The benefits which come with building this type of chatbot are:

Intelligent Information Retrieval: The chatbot can structurally organize and represent healthcare data, such as medical conditions, treatments, prescriptions, and procedures, by leveraging a Knowledge Graph. When consumers ask inquiries or seek advice about healthcare topics, the chatbot may respond with accurate and pertinent information.

Processing Textual Information (or Natural Language): ChatGPT allows the chatbot to comprehend user inquiries and provide responses that sound human. Users can conversationally communicate with the chatbot by asking questions or requesting help in simple language (rather than writing complex database queries), thanks to its ability to interpret and process natural language input.

Seamless Integration of Data: ArangoDB (a multi-model Graph Database) can be used to store and manage healthcare data. The healthcare data can be stored as triplets in the knowledge graph. This will enable effective information querying, indexing, and retrieval, enabling the chatbot to respond quickly and accurately.

Healthcare_Chatbot.mp4

Restoring Healthcare Knowledge Graph into ArangoDB

Here is an example showing how to restore Healthcare Knowledge Graph dump into the ArangoDB (create Healthcare_KG database in ArangoDB):

arangorestore --server.endpoint "tcp://127.0.0.1:8529"  --server.username "root" --server.database "Healthcare_KG" --server.password "" --input-directory “./healthcare_kg_dump”