Tomaz Bratanic, Freelance Data Analyst and Engineer
Apr 16
5 mins read
When you give large language models (LLMs) the power to search beyond their own fixed knowledge and pull in information from the wider world, you have more options for LLM-powered applications. This technique of retrieving data from external sources is called retrieval-augmented generation... read more
Tomaz Bratanic, Freelance Data Analyst and Engineer
Mar 30
8 mins read
A practical guide to constructing and retrieving information from knowledge graphs in RAG applications with Neo4j and LangChain. Image created by DALL-E.Graph retrieval-augmented generation (GraphRAG) is gaining momentum and becoming a powerful addition to traditional vector search retrieval... read more
Tomaz Bratanic, Freelance Data Analyst and Engineer
Mar 28
10 mins read
Retrieval-augmented generation (RAG) applications excel at answering simple questions by integrating data from external sources into LLMs. But they struggle to answer multi-part questions that involve connecting the dots between associated pieces of information. That’s because RAG applications... read more
Tomaz Bratanic, Freelance Data Analyst and Engineer
Mar 12
9 mins read
Forbes recently named RAG applications the hottest thing in AI. That comes as no surprise since Retrieval-Augmented Generation requires minimal code and helps build user trust in your LLM. The challenge when building a great RAG app or chatbot is handling structured text alongside unstructured... read more
Tomaz Bratanic, Freelance Data Analyst and Engineer
Mar 12
7 mins read
These days, you can deploy retrieval-augmented generation (RAG) applications in just a few minutes. Most RAG applications like Chat with Your PDF use basic vector similarity search to retrieve relevant information from the database and feed it to the LLM to generate a final response. Vector... read more
Tomaz Bratanic, Freelance Data Analyst and Engineer
Feb 28
8 mins read
Learn to implement a Mixtral agent that interacts with a graph database Neo4j through a semantic layer By now, we all have probably recognized that we can significantly enhance the capabilities of LLMs by providing them with additional tools. For example, even ChatGPT can use Bing... read more
Tomaz Bratanic, Freelance Data Analyst and Engineer
Dec 18, 2023
7 mins read
Learn how to customize LangChain’s wrapper of Neo4j vector index. A robot customizing stuff as imagined by Midjourney. Neo4j was and is an excellent fit for handling structured information, but it struggled a bit with semantic search due to its brute-force approach. However, the struggle is in... read more
Tomaz Bratanic, Freelance Data Analyst and Engineer
Jul 12, 2023
9 mins read
Understanding data points through the context of their relationshipsThis is the fourth blog post of Neo4j’s NaLLM project. We started this project to explore, develop, and showcase practical uses of these LLMs in conjunction with Neo4j. As part of this project, we will construct and publicly... read more
Tomaz Bratanic, Freelance Data Analyst and Engineer
Jun 06, 2023
11 mins read
What are the limitations of LLMs, and how to overcome themThis is the second blog post of Neo4j’s NaLLM project. We started this project to explore, develop, and showcase practical uses of these LLMs in conjunction with Neo4j. As part of this project, we will construct and publicly... read more
Tomaz Bratanic, Freelance Data Analyst and Engineer
Jun 02, 2023
9 mins read
How to optimize prompts for Cypher statement generation to retrieve relevant information from Neo4j in your LLM applicationsLast time, we looked at how to get started with Cypher Search in the LangChain library and why you would want to use knowledge graphs in your LLM applications. In this... read more
Tomaz Bratanic, Freelance Data Analyst and Engineer
May 02, 2023
12 mins read
Will we still need to learn query languages in the future?Photo by Lyman Hansel Gerona on UnsplashLarge language models have great potential to translate a natural language into a query language. For example, some people use GPT models to translate text to SQL, while others use GPT models... read more
Tomaz Bratanic, Freelance Data Analyst and Engineer
Apr 11, 2023
16 mins read
Learn how to implement a chatbot that bases its answers on the information retrieved from a graph databaseNot so long ago, OpenAI added Chat API, which is optimized for generating conversations. The main difference between Chat and the older Completion APIs is that the Chat API allows... read more
Tomaz Bratanic, Freelance Data Analyst and Engineer
Apr 03, 2023
12 mins read
Use GPT-4 as a domain expert to help you extract knowledge from a video transcript.A couple of days ago, I got access to GPT-4. The first thing that came to my mind was to test how well it performs as an information extraction model, where the task is to extract relevant entities and... read more
Tomaz Bratanic, Freelance Data Analyst and Engineer
Mar 21, 2023
16 mins read
Natural Language Processing (NLP) has seen rapid advancements in recent years. One important aspect of this progress has been the use of embeddings, which are numerical representations of words or phrases that capture their meaning and relationships to other words in a language. Embeddings can be... read more
Tomaz Bratanic, Freelance Data Analyst and Engineer
Mar 08, 2023
11 mins read
ChatGPT has changed how I, and probably most of you, look at AI and chatbots. We can use chatbots to help us find information, construct creative works, and more.However, one problem with ChatGPT and similar chatbots is that they can hallucinate and return... read more
Tomaz Bratanic, Freelance Data Analyst and Engineer
Jul 21, 2022
12 mins read
Knowing your users is vital to any business. When your users can interact with each other on a social media platform, content sharing platform, or even work-related platforms, you can construct a network between your users based on their interactions and extract graph-based features to segment your... read more
Tomaz Bratanic, Freelance Data Analyst and Engineer
Jul 06, 2022
14 mins read
A wave of graph-based approaches to data science and machine learning is rising. We live in an era where the exponential growth of graph technology is predicted . The ability to analyze data points through the context of their relationships enables more profound and accurate data exploration and... read more
Tomaz Bratanic, Freelance Data Analyst and Engineer
Jun 03, 2022
12 mins read
Learn the basic syntax of the newly released Python client for Neo4j Graph Data ScienceData scientists like me love Python. It features a wide variety of machine learning and data science libraries that can help you get started on a data science project in minutes. It is not uncommon to use a... read more
Tomaz Bratanic, Freelance Data Analyst and Engineer
Mar 28, 2022
11 mins read
Editor's note: This presentation is given by Tomaz Bratanic at NODES 2021. As organizations build knowledge graphs to find answers to their most pressing problems, one of the challenges they face is that much of the information they would like to incorporate in their knowledge graphs exists in... read more
Tomaz Bratanic, Freelance Data Analyst and Engineer
Mar 21, 2022
9 mins read
Cryptocurrencies have become more and more integrated into our daily life. Many cryptocurrencies like Bitcoin and Ethereum are decentralized networks based on blockchain technology. They have a wide array of use-cases and have been implemented by various companies and governments. One remarkable... read more
Tomaz Bratanic, Freelance Data Analyst and Engineer
Jan 25, 2022
10 mins read
Every day, millions of articles and papers are published. While there is a lot of knowledge hidden in those articles, it is virtually impossible to read all of them. Even if you only focus on a specific domain, it is still hard to find all relevant articles and read them to get valuable... read more
Tomaz Bratanic, Freelance Data Analyst and Engineer
Oct 29, 2021
3 mins read
Analyze Twitch streamers and their audiences with Neo4j APOC and Graph Data SciencePhoto by ELLA DON on UnsplashTwitch is one of the newer social network platforms. The idea behind the platform is that it allows anyone to stream or broadcast content. Other users can then support streamers... read more
Tomaz Bratanic, Freelance Data Analyst and Engineer
Oct 13, 2021
6 mins read
A couple of weeks ago, I stumbled upon the stock market volume analysis in Neo4j by Bryant Avey.Pattern-Driven Insights: Visualize Stock Volume Similarity with Neo4j and Power BIIt got me interested in how we could use graph analytics to analyze stock markets. After a bit of research, I... read more
Tomaz Bratanic, Freelance Data Analyst and Engineer
Jul 20, 2021
9 mins read
Learn how to combine Selenium and SpaCy to create a Neo4j knowledge graph of the Harry Potter universeMost likely, you have already seen the Game of Thrones network created by Andrew Beveridge.Andrew constructed a co-occurrence network of book characters. If two characters appear within some... read more
Tomaz Bratanic, Freelance Data Analyst and Engineer
May 06, 2021
4 mins read
Quickly inspect graph embedding algorithm results in Neo4j graph data science playground application NEuler.NEuler is a graph data science playground application designed to help you execute and understand graph algorithms in Neo4j. With only a couple of clicks, you can import example data, execute... read more