I am summarizing here what I have found out through research and hands-on work on my area of interest.

PINNs - Mass, Spring, and Damper Problem

Motivation

I tried PINNs (Physics-Informed Neural Networks) with NVIDIA Modulus over a year ago, After that, it was completely untouched. I have heard Riken/Matsuoka-san’s talk at a recent seminar (AI for Science; here and here), I decided to study it again and tried to implement PINNs using a physically understandable problem as an example.

[Read More]

Building GraphRAG with ollama

Introduction

It has already been a week since I created the knowledge graph in my local environment and started building the GraphRAG environment. It is finally in a decent working condition. This post is a summary of GraphRAC using Ollama and neo4j that I built in my local environment.

[Read More]

Create JupyterLab container with python version 3.11

Motivation

I was trying a graph RAG and got an error “TypeError: ‘NoneType’ object is not iterable”. I did a lot of research, but could not find the direct cause of the error and just could not get around it. The python version of the container I was using at the time was 3.10.12. The version of python in the article I was referring to was 3.11.0, so I decided to update the python version of the container to 3.11 as a trial.

This post summarizes the creation of the JupyterLab container with a python version of 3.11.

[Read More]

Creating knowledge graphs with ollama

はじめに

In this post, I created a knowledge graph as a starting point for building a RAG system. After trying several different LLMs, only gpt-4o and gpt-4o-mini worked properly. In a recent this post, I summarized the installation and activation of ollama.

I created a knowledge graph using ollama this time, and I summarize its contents here. I hope this will be helpful, as I got into a bit of trouble in some areas.

[Read More]

Conversing with ollama's LLM via Open WebUI as front end

Introduction

Yesterday in this post I summarized launching ollama in a docker container and using LLMs from JupyterLab. In this post, I summarize launching Open WebUI in a container and using it as a front end to connect from a browser at hand to use ollama’s LLMs.

[Read More]

Running LLMs in a local environment using ollama

Motivation

In this post, I mentioned that the LLMs that can build knowledge graphs are OpenAI and Mistral (via API). On the Internet, I have seen examples of GraphRAG environments being built using ollama, as in this post.

I would like to try to build a knowledge graph using LLM in a local environment. In this post, I will summarize the process of installing ollama.

[Read More]

Hybrid GraphRAG using neo4j library

Introduction.

Continuing with this post from yesterday, I summarized the construction of a GraphRAG system using hybrid search.

I had imagined connecting pipes “|” like LangChain’s LCEL, but it was not what I had imagined. Please check it out below.

[Read More]

GraphRAG using the neo4j library

Introduction.

In this post, I created a knowledge graph using neo4j and built a RAG system using the knowledge graph as external information.

In this post, I have tried to build a RAG system easily using the neo4j library.

[Read More]