Insights

Creating Context-Aware Chatbots with ChatGPT, Knowledge Graphs, Neo4j, and Gemini Explore

Gemini Data’s resident data scientist and bioinformatician Sixing Huang dives into creating a dictionary chatbot using ChatGPT, Neo4j, and Gemini Explore:

"In the Japanese language, onomatopoeic words, including “giongo (擬音語)”, “giseigo (擬声語)” and “gitaigo (擬態語),” are unique expressions that vividly depict sounds, actions, and feelings. These words are abundant in Japanese culture and are used in various contexts, including literature, manga, anime, and everyday conversations. But onomatopoeic words are hard for foreigners to learn. You cannot deduce their meanings from the spellings most of the time. For example, the word コツコツ (kotsukotsu) means “laboriously, steadily”, while its look-alike ゴツゴツ (gotsugotsu) means “gnarled, rugged”. And the word ゴホゴホ (gohogoho) represents hacking cough, even though its pronunciation does not sound like coughing at all. It takes time, examples, and lots of practice to internalize even the basic ones. And there are 1,190 of them in the JapanDict."

Huang then outlines how to create a chatbot to help him master the onomatopoeic words in the Japanese language using Neo4j, AuraDB, Gemini Explore, and OpenAI.

Read Sixing Huang’s full tutorial on Medium.