Frequently Asked Questions

Product Information & Getting Started

What is FalkorDB and what does it do?

FalkorDB is a high-performance graph database designed for managing complex relationships and enabling advanced AI applications. It is purpose-built for development teams working with interconnected data in real-time or interactive environments. Key use cases include Text2SQL, security graphs, GraphRAG, agentic AI, chatbots, and fraud detection. Learn more.

How do I start a FalkorDB server locally?

You can start FalkorDB locally using Docker with the command: docker run -p 6379:6379 -it --rm falkordb/falkordb:latest. For other deployment options, refer to the official documentation.

What programming languages and clients are supported for connecting to FalkorDB?

FalkorDB supports Python clients (e.g., redis-py) and is compatible with Cypher queries. You can use the FalkorDBGraphStore class from LlamaIndex for integration. Additional language support is available through the API and SDKs. See documentation for details.

How do I connect LlamaIndex to FalkorDB?

To connect LlamaIndex to FalkorDB, use the FalkorDBGraphStore class and provide your Redis connection string (e.g., redis://localhost:6379). Ensure the redis Python package is installed. See the FalkorDBGraphDemo notebook for a full example.

Where can I find official FalkorDB documentation and API references?

Comprehensive guides and API references are available at docs.falkordb.com. For the latest updates and release notes, visit the GitHub Releases Page.

Is there a free trial or demo available for FalkorDB?

Yes, you can try FalkorDB for free by launching a cloud instance or running it locally. You can also schedule a demo for a personalized walkthrough.

How quickly can I implement FalkorDB in my project?

FalkorDB is built for rapid deployment, allowing teams to go from concept to enterprise-grade solutions in weeks, not months. Getting started is straightforward with Docker, cloud sign-up, or guided demos. Learn more.

What is the primary purpose of FalkorDB?

FalkorDB is a graph platform for accurate GraphRAG in enterprise GenAI. It delivers a multi-tenant, low-latency, scalable graph database for complex, interconnected data in real-time or interactive environments. More info.

What are the main use cases for FalkorDB?

FalkorDB is used for Text2SQL, security graphs (CNAPP, CSPM, CIEM), GraphRAG, agentic AI, chatbots, fraud detection, and high-performance graph storage for complex relationships. See use cases.

Features & Capabilities

What are the key features of FalkorDB?

Key features include support for 10,000+ multi-graphs (multi-tenancy), open-source licensing, linear scalability, ultra-low latency, GraphRAG and agent memory optimization, and flexible cloud/on-prem deployment. Learn more.

Does FalkorDB support multi-tenancy?

Yes, FalkorDB supports robust multi-tenancy in all plans, allowing over 10,000 multi-graphs. This is especially valuable for SaaS providers and organizations with diverse user bases.

What integrations does FalkorDB offer?

FalkorDB integrates with frameworks like LlamaIndex, LangChain, Graphiti (by ZEP), Cognee, and g.v() for visualization. These enable advanced AI, agent memory, and knowledge graph applications. Learn more.

Is FalkorDB open source?

Yes, FalkorDB is open source, encouraging community collaboration and transparency. This differentiates it from proprietary solutions like AWS Neptune.

Does FalkorDB support Cypher queries?

Yes, FalkorDB supports the Cypher query language, making it easy for users familiar with Neo4j and other graph databases to migrate or integrate their workflows.

What is GraphRAG and how does FalkorDB support it?

GraphRAG is an advanced graph-based retrieval method for AI applications. FalkorDB is optimized for GraphRAG, offering up to 496x faster queries and tools like the GraphRAG-SDK for regulatory compliance and workflow mapping. Learn more.

Can FalkorDB be deployed on-premises and in the cloud?

Yes, FalkorDB offers flexible deployment options, including both cloud and on-premises installations. This allows organizations to choose the best fit for their security and infrastructure needs.

Does FalkorDB provide an API?

Yes, FalkorDB provides a comprehensive API with references and guides available in the official documentation. This enables developers to integrate FalkorDB into their workflows efficiently.

How does FalkorDB enhance user experience for data analysis?

FalkorDB enables fast, interactive analysis of complex data through dashboards and custom views, providing a frictionless user experience for both technical and non-technical users.

Performance & Security

How does FalkorDB perform compared to other graph databases?

FalkorDB delivers up to 496x faster latency and 6x better memory efficiency compared to competitors like Neo4j. It supports over 10,000 multi-graphs and offers flexible horizontal scaling. See benchmarks.

What security and compliance certifications does FalkorDB have?

FalkorDB is SOC 2 Type II compliant, meeting rigorous standards for security, availability, processing integrity, confidentiality, and privacy. Learn more.

How does FalkorDB ensure data privacy and protection?

FalkorDB's SOC 2 Type II compliance ensures robust controls for data privacy and protection, including safeguards against unauthorized access and measures for confidentiality and privacy.

What makes FalkorDB suitable for AI and agentic applications?

FalkorDB is optimized for AI use cases such as GraphRAG and agent memory, enabling intelligent agents and chatbots with real-time adaptability. It combines graph traversal with vector search for personalized experiences.

How does FalkorDB help with regulatory compliance?

The GraphRAG-SDK helps organizations stay ahead of financial regulations by mapping regulations to workflows, identifying compliance gaps, and providing actionable recommendations.

What pain points does FalkorDB address for its users?

FalkorDB addresses trust and reliability in LLM-based applications, scalability and data management, alert fatigue in cybersecurity, performance limitations of competitors, interactive data analysis, regulatory compliance, and agentic AI development. See more.

How does FalkorDB improve business outcomes?

Customers can expect improved scalability, enhanced trust and reliability, reduced alert fatigue, faster time-to-market, better user experience, regulatory compliance, and support for advanced AI applications. Learn more.

Pricing & Plans

What pricing plans does FalkorDB offer?

FalkorDB offers four main plans: FREE (for MVPs with community support), STARTUP (from /1GB/month, includes TLS and automated backups), PRO (from 0/8GB/month, includes cluster deployment and high availability), and ENTERPRISE (custom pricing with VPC, custom backups, and 24/7 support). See pricing.

What features are included in the FREE plan?

The FREE plan is designed for building a powerful MVP and includes community support. It is ideal for developers and small teams starting with graph databases.

What do the STARTUP and PRO plans cost and include?

The STARTUP plan starts at /1GB/month and includes TLS and automated backups. The PRO plan starts at 0/8GB/month and adds advanced features like cluster deployment and high availability. See details.

What is included in the ENTERPRISE plan?

The ENTERPRISE plan offers tailored pricing and includes enterprise-grade features such as VPC, custom backups, and 24/7 support. It is designed for large organizations with advanced requirements.

Competition & Comparison

How does FalkorDB compare to Neo4j?

FalkorDB offers up to 496x faster latency, 6x better memory efficiency, flexible horizontal scaling, and multi-tenancy in all plans. Neo4j uses an on-disk storage model and offers multi-tenancy only in premium plans. See comparison.

How does FalkorDB compare to AWS Neptune?

FalkorDB is open source, supports multi-tenancy, and provides better latency performance and efficient vector search. AWS Neptune is proprietary, has limited vector search, and does not support multi-tenancy. See comparison.

How does FalkorDB compare to TigerGraph and ArangoDB?

FalkorDB provides faster latency, more efficient memory usage, and flexible horizontal scaling compared to TigerGraph and ArangoDB. Both competitors have limited horizontal scaling and moderate memory efficiency. Learn more.

Why choose FalkorDB over other graph databases?

FalkorDB stands out for its superior performance, scalability, multi-tenancy in all plans, advanced AI integration, open-source model, and enhanced user experience. It is trusted by customers in healthcare, media, and AI industries. See case studies.

Use Cases & Customer Success

Who is the target audience for FalkorDB?

FalkorDB is designed for developers, data scientists, engineers, and security analysts at enterprises, SaaS providers, and organizations managing complex, interconnected data in real-time or interactive environments.

What industries use FalkorDB?

Industries represented in FalkorDB case studies include healthcare (AdaptX), media and entertainment (XR.Voyage), and artificial intelligence/ethical AI development (Virtuous AI). See case studies.

Can you share customer success stories with FalkorDB?

Yes. AdaptX used FalkorDB to analyze clinical data, XR.Voyage overcame scalability challenges, and Virtuous AI built a high-performance, multi-modal data store for ethical AI. Read their stories.

What feedback have customers given about FalkorDB's ease of use?

Customers like AdaptX and 2Arrows have praised FalkorDB for its rapid access to insights, ease of running queries, and user-friendly dashboards. 2Arrows' CTO called it a 'game-changer' for performance and usability. See testimonials.

How does FalkorDB help with fraud detection?

FalkorDB enables real-time pattern detection across transaction networks, making it suitable for fraud detection use cases where rapid analysis and complex relationship mapping are critical.

How does FalkorDB support agentic AI and chatbots?

FalkorDB combines graph traversal with vector search, enabling intelligent agents and chatbots to deliver real-time adaptability and personalized user experiences.

What community and support resources are available for FalkorDB?

FalkorDB offers community support via Discord, GitHub Discussions, and comprehensive documentation. Solution architects are available for tailored advice, and tutorials are provided on the blog.

FalkorDB Header Menu

Building and Querying a Knowledge Graph

Blog-9

If you are looking for a simple way to create and query a knowledge graph based on your internal documents, you should check out LlamaIndex. LlamaIndex is a tool that allows you to easily build and search a knowledge graph using natural language queries. 

In this blog post, I will show you in a simple 6 steps how to use LlamaIndex to create and explore a knowledge graph based on FalkorDB.

Installing LlamaIndex

 

First, you need to install LlamaIndex on your machine. You can download it from the official website or use the command line:

            > pip install llama-index
        

Starting FalkorDB server locally

Staring a local FalkorDB is as simple as running a local docker you can go read on the documentation other ways to run it 

            > docker run -p 6379:6379 -it --rm falkordb/falkordb:latest

6:C 26 Aug 2023 08:36:26.297 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo

6:C 26 Aug 2023 08:36:26.297 # Redis version=7.0.12, bits=64, commit=00000000, modified=0, pid=6, just started

...

...

6:M 26 Aug 2023 08:36:26.322 * <graph> Starting up FalkorDB version 99.99.99.

6:M 26 Aug 2023 08:36:26.324 * <graph> Thread pool created, using 8 threads.

6:M 26 Aug 2023 08:36:26.324 * <graph> Maximum number of OpenMP threads set to 8

6:M 26 Aug 2023 08:36:26.324 * <graph> Query backlog size: 1000

6:M 26 Aug 2023 08:36:26.324 * Module 'graph' loaded from /FalkorDB/bin/linux-x64-release/src/falkordb.so

6:M 26 Aug 2023 08:36:26.324 * Ready to accept connections

 
 
 
        
Running the demo

The rest of this blog will cover the simple steps you can take to get started, you can find the notebook as part of the LlamaIndex repository: FalkorDBGraphDemo.ipynb 

Set your OpenAI key

Get you OpenAI key from the https://platform.openai.com/account/api-keys and set in the code bellow

            import os

os.environ["OPENAI_API_KEY"] = "API_KEY_HERE"
        

Connecting to FalkorDB with FalkorDBGraphStore

Notice you might need to install the redis pytong client if it’s missing

            #> pip install redis

from llama_index.graph_stores import FalkorDBGraphStore

graph_store = FalkorDBGraphStore("redis://localhost:6379", decode_responses=True)

#... INFO:numexpr.utils:NumExpr defaulting to 8 threads.



        

Building the Knowledge Graph

Next, we’ll load some sample data using SimpleDirectoryReader

            from llama_index import (
   SimpleDirectoryReader,
   ServiceContext,
   KnowledgeGraphIndex,
)
from llama_index.llms import OpenAI
from IPython.display import Markdown, display

# loading some local document
documents = SimpleDirectoryReader(
   "../../../../examples/paul_graham_essay/data"
).load_data()
        

Now all that is left to do is let LlamaIndex utilize the LLM to generate the Knowledge Graph

            from llama_index.storage.storage_context import StorageContext

# define LLM
llm = OpenAI(temperature=0, model="gpt-3.5-turbo")
service_context = ServiceContext.from_defaults(llm=llm, chunk_size=512)
storage_context = StorageContext.from_defaults(graph_store=graph_store)

# NOTE: can take a while!
index = KnowledgeGraphIndex.from_documents(
   documents,
   max_triplets_per_chunk=2,
   storage_context=storage_context,
   service_context=service_context,
)
        
Checking behind scenes I

If you would like to learn more about how the Knowledge Graph is built behind the scenes you can run MONITOR command in advance and watch the Cypher commands flowing in.

            > redis-cli monitor

127.0.0.1:6379>"GRAPH.QUERY" "falkor" 
            "CYPHER subj=\"we\" obj=\"way to scale startup funding\"
            MERGE (n1:`Entity` {id:$subj})
            MERGE (n2:`Entity` {id:$obj})
            MERGE (n1)-[:`STUMBLED_UPON`]->(n2)" "--compact"

127.0.0.1:6379>"GRAPH.QUERY" "falkor" 
            "CYPHER subj=\"startups\" obj=\"isolation\" 
            MERGE (n1:`Entity` {id:$subj})
            MERGE (n2:`Entity` {id:$obj})
            MERGE (n1)-[:`FACED`]->(n2)" "--compact"

127.0.0.1:6379>"GRAPH.QUERY" "falkor" 
            "CYPHER subj=\"startups\" obj=\"initial set of customers\"
            MERGE (n1:`Entity` {id:$subj})
            MERGE (n2:`Entity` {id:$obj})
            MERGE (n1)-[:`GET`]->(n2)" "--compact"
        

Querying the Knowledge Graph

Now you can easily query the Knowledge Graph using free speech e.g. 

            query_engine = index.as_query_engine(include_text=False, response_mode="tree_summarize")

response = query_engine.query(

   "Tell me more about Interleaf",

)

display(Markdown(f"<b>{response}</b>"))

... Interleaf is a software company that was founded in 1981. It specialized in developing and selling desktop publishing software. 
The company's flagship product was called Interleaf, which was a powerful tool for creating and publishing complex documents. 
Interleaf's software was widely used in industries such as aerospace, defense, and government, where there was a need for creating technical documentation and manuals. 
The company was acquired by BroadVision in 2000.
        
Checking behind scenes II

Once again If you would like to learn more about how the Knowledge Graph is queriebehind the scenes you can run MONITOR command in advance and watch the Cypher commands flowing in.

            > redis-cli monitor

127.0.0.1:6379>"GRAPH.QUERY" "falkor" 
            "CYPHER subjs=[\"Interleaf\"] 
            MATCH (n1:Entity)
            WHERE n1.id IN $subjs
            WITH n1
            MATCH p=(n1)-[e*1..2]->(z) 
            RETURN p" "--compact"