Frequently Asked Questions

Product Information & Overview

What is GraphRAG-SDK and what does it do?

GraphRAG-SDK is a specialized toolkit developed by FalkorDB for building Graph Retrieval-Augmented Generation (GraphRAG) systems. It integrates knowledge graphs, ontology management, and state-of-the-art LLMs (such as OpenAI GPT and Google Gemini) to deliver accurate, efficient, and customizable RAG workflows for AI applications. [Source]

Who is GraphRAG-SDK designed for?

GraphRAG-SDK is designed for developers, data scientists, and AI engineers who need to build advanced AI applications leveraging knowledge graphs, multi-agent systems, and multi-model LLM integration. It is suitable for teams working on enterprise GenAI, multi-tenant RAG solutions, and complex, interconnected data environments. [Source]

What is FalkorDB and how does it relate to GraphRAG-SDK?

FalkorDB is a high-performance, open-source graph database optimized for AI and knowledge graph applications. GraphRAG-SDK is a toolkit built to leverage FalkorDB's capabilities for Retrieval-Augmented Generation (RAG) workflows, enabling seamless integration of knowledge graphs and LLMs. [Source]

What are the main use cases for GraphRAG-SDK?

GraphRAG-SDK is used for building multi-model AI systems, managing multiple knowledge graphs, orchestrating multi-agent environments, and integrating diverse data sources (URLs, CSV, JSON) for advanced AI-driven knowledge graph applications. [Source]

How do I install GraphRAG-SDK?

You can install GraphRAG-SDK via PyPI using the command: pip install graphrag_sdk. For more details and examples, visit the PyPI page or the official GitHub repository.

Where can I find documentation and code examples for GraphRAG-SDK?

Comprehensive documentation and code examples for GraphRAG-SDK are available on the official GitHub repository. Example notebooks are also provided for hands-on learning.

Who maintains GraphRAG-SDK?

GraphRAG-SDK is maintained by Gal Shubeli, a Software and AI Engineer at FalkorDB, and the FalkorDB open-source community. [Source]

What programming languages are supported for using GraphRAG-SDK?

GraphRAG-SDK is a Python package and is intended for use in Python environments. [Source]

How do I get support for GraphRAG-SDK?

For support, you can refer to the GitHub repository, join the FalkorDB community on Discord, or contact the FalkorDB team via their website. [Contact]

Is GraphRAG-SDK open source?

Yes, GraphRAG-SDK is open source and available on GitHub for community collaboration and contributions. [Source]

Features & Capabilities

What new features are included in GraphRAG-SDK v0.2?

GraphRAG-SDK v0.2 introduces multi-model support (Google Gemini and OpenAI GPT), auto-ontology discovery for multiple knowledge graphs, expanded data source support (URLs, CSV, JSON), and a multi-agent system with orchestrator for building complex AI ecosystems. [Source]

How does multi-model support work in GraphRAG-SDK?

GraphRAG-SDK v0.2 allows you to integrate both Google Gemini and OpenAI GPT models, enabling you to switch seamlessly between models for different use cases and maximize accuracy and insights. [Source]

What is auto-ontology discovery in GraphRAG-SDK?

Auto-ontology discovery in GraphRAG-SDK v0.2 enables automatic generation of ontologies for each knowledge graph domain, reducing manual work and ensuring optimal data structure for your AI applications. [Source]

What data formats does GraphRAG-SDK support for ingestion?

GraphRAG-SDK v0.2 supports importing data from URLs, CSV files, and JSON files, making it easy to integrate and query data from a wide range of sources. [Source]

How does the multi-agent system and orchestrator work in GraphRAG-SDK?

GraphRAG-SDK v0.2 introduces a multi-agent system with an orchestrator that coordinates and manages interactions between specialized agents. This enables building complex AI-driven ecosystems where different agents handle specific tasks, such as trip planning or domain-specific queries. [Source]

Can I use GraphRAG-SDK with both OpenAI and Google Gemini models?

Yes, GraphRAG-SDK v0.2 supports both OpenAI GPT and Google Gemini models, allowing you to choose and switch between models as needed for your application. [Source]

How does GraphRAG-SDK help with managing multiple knowledge graphs?

GraphRAG-SDK v0.2 simplifies managing multiple knowledge graphs by providing auto-ontology discovery and the ability to query across different graphs, ensuring each is structured optimally for its domain. [Source]

What are some example applications of the multi-agent orchestrator in GraphRAG-SDK?

Example applications include building AI trip planners where different agents specialize in restaurants and attractions, or any scenario where multiple agents need to collaborate on specialized tasks within a coordinated workflow. [Notebook Example]

How do I get started with GraphRAG-SDK?

To get started, install the package via PyPI, explore the official documentation and example notebooks on GitHub, and follow the code samples provided in the release blog post. [Docs]

Technical Requirements & Integration

What are the system requirements for using GraphRAG-SDK?

GraphRAG-SDK is a Python package and requires a compatible Python environment. For advanced features, access to OpenAI or Google Gemini APIs may be needed. [Source]

Does GraphRAG-SDK integrate with FalkorDB?

Yes, GraphRAG-SDK is designed to integrate seamlessly with FalkorDB, leveraging its high-performance graph database capabilities for RAG workflows. [Source]

Can I use GraphRAG-SDK with other graph databases?

GraphRAG-SDK is optimized for use with FalkorDB. For compatibility with other graph databases, refer to the SDK documentation for supported features and integration options. [Docs]

What integrations are available for FalkorDB?

FalkorDB supports integrations with frameworks such as Graphiti (for AI agent memory), g.v() (for knowledge graph visualization), Cognee (for mapping knowledge graphs), LangChain (for LLM integration), and LlamaIndex (for advanced knowledge graph applications). [Integrations]

Does FalkorDB provide an API?

Yes, FalkorDB provides a comprehensive API with references and guides available in the official documentation for developers, data scientists, and engineers.

Where can I find technical documentation for FalkorDB?

Technical documentation for FalkorDB, including API references and setup guides, is available at docs.falkordb.com and the GitHub Releases Page.

Security & Compliance

Is FalkorDB SOC 2 Type II compliant?

Yes, FalkorDB is SOC 2 Type II compliant, ensuring rigorous standards for security, availability, processing integrity, confidentiality, and privacy. [Source]

What security and compliance certifications does FalkorDB have?

FalkorDB is SOC 2 Type II compliant, covering security, availability, processing integrity, confidentiality, and privacy. [Source]

Pricing & Plans

What pricing plans are available for FalkorDB?

FalkorDB offers several pricing 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). [Source]

What features are included in the FalkorDB FREE plan?

The FREE plan is designed for building a powerful MVP and includes community support. [Source]

What features are included in the FalkorDB PRO plan?

The PRO plan (from 0/8GB/month) includes advanced features such as cluster deployment and high availability. [Source]

What features are included in the FalkorDB ENTERPRISE plan?

The ENTERPRISE plan offers custom pricing and includes enterprise-grade features like VPC, custom backups, and 24/7 support. [Source]

Performance & Differentiation

How does FalkorDB perform compared to other graph databases?

FalkorDB offers up to 496x faster latency and 6x better memory efficiency compared to competitors like Neo4j. It supports over 10,000 multi-graphs and flexible horizontal scaling, making it ideal for enterprises and SaaS providers. [Benchmark]

What makes FalkorDB unique compared to Neo4j, AWS Neptune, TigerGraph, and ArangoDB?

FalkorDB stands out with open-source licensing, in-memory storage (C and Rust), multi-tenancy in all plans, flexible horizontal scaling, and superior latency and memory efficiency. It is optimized for AI use cases and supports advanced features like GraphRAG and agent memory. [Comparison]

What are the key performance metrics for FalkorDB?

FalkorDB delivers up to 496x faster latency, 6x better memory efficiency, and supports over 10,000 multi-graphs. It is optimized for real-time, high-speed data analysis and advanced AI applications. [Benchmarks]

What pain points does FalkorDB address for 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 support for agentic AI and chatbots. [Source]

What business impact can customers expect from using FalkorDB?

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

Use Cases & Success Stories

What industries are represented in FalkorDB case studies?

FalkorDB case studies include healthcare (AdaptX), media and entertainment (XR.Voyage), and artificial intelligence/ethical AI development (Virtuous AI). [Case Studies]

Can you share specific customer success stories using FalkorDB?

Yes. AdaptX used FalkorDB to analyze clinical data, XR.Voyage overcame scalability challenges in immersive media, and Virtuous AI built a high-performance, multi-modal data store for ethical AI development. [Case Studies]

Who are some of FalkorDB's customers?

FalkorDB is trusted by organizations such as AdaptX, XR.Voyage, and Virtuous AI. [Case Studies]

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. [AdaptX] [2Arrows]

How long does it take to implement FalkorDB?

FalkorDB is built for rapid deployment, enabling teams to go from concept to enterprise-grade solutions in weeks, not months. [Source]

What support and training resources are available for FalkorDB?

FalkorDB offers comprehensive documentation, community support via Discord and GitHub, solution architects for tailored advice, and free trial/demo options. [Docs]

FalkorDB Header Menu

GraphRAG-SDK v0.2

New release

We’re excited to announce the release of GraphRAG-SDK v0.2, packed with powerful new features that take knowledge graph-based AI applications to the next level. Whether you’re working with multi-model AI systems, multiple knowledge graphs, or multi-agent environments, this update brings new capabilities to simplify your workflow and enhance your insights.

Let’s dive into the major updates in v0.2, complete with code examples to help you get started.

New Features in GraphRAG-SDK v0.2

Multi-Model Support: Integrating Google Gemini and OpenAI GPT Models

GraphRAG-SDK v0.2 adds support for Google’s Gemini models in addition to OpenAI’s GPT models, giving you the flexibility to choose the right model for your needs. You can now switch seamlessly between models depending on your use case, maximizing accuracy and insights.

Here’s a quick example of how you can configure your model setup:

            from graphrag_sdk.models.openai import OpenAiGenerativeModel

# Initialize GPT-4 from OpenAI
model = OpenAiGenerativeModel(model_name="gpt-4o")

# Initialize Gemini-1.5 from Google
from graphrag_sdk.models.gemini import GeminiGenerativeModel
model = GeminiGenerativeModel(model_name="gemini-1.5-flash-001")

        

With this, you can effortlessly switch between AI models for enhanced flexibility.

Multi-Knowledge Graph with Auto Ontology Discovery

Managing multiple knowledge graphs is now easier than ever with auto-ontology discovery. GraphRAG-SDK v0.2 allows you to automatically generate ontologies for each domain, eliminating manual work and ensuring optimal data structure.

Check out how simple it is to work with multiple knowledge graphs:

            # Import Data
urls = ["https://www.rottentomatoes.com/m/matrix"]
sources = [URL(url) for url in urls]
# Model
model = OpenAiGenerativeModel(model_name="gpt-4o")

# Ontology Auto-Detection
ontology = Ontology.from_sources(
    sources=sources,
    model=model,
)
# Query across multiple graphs
results = graph_rag.query("Explain the impact of inflation on healthcare costs.")
print(json.dumps(ontology.to_json(), indent=4))

        

This feature ensures that each knowledge graph is structured perfectly for the domain in question, reducing setup time and manual effort.

Expanded Source Formats: Now Supports URLs, CSV, and JSON

Data ingestion just got easier! GraphRAG-SDK now supports a broader range of data formats, including URLs, CSV, and JSON. This makes it simpler to integrate and query data from a wide array of sources.

Here’s an example of importing data from various sources:

            from graphrag_sdk.source import Source
your_file = “...csv/…json/…url” 
Source = Source(your_file)

        

Whether your data lives on the web, in structured files, or elsewhere, this new feature streamlines the process of integrating and querying knowledge graphs.

Multi-Agent System & Orchestrator: Build AI Ecosystems with Ease

GraphRAG-SDK v0.2 introduces support for multi-agent systems, complete with an orchestrator to coordinate and manage the interactions between agents. This is ideal for building more complex, AI-driven ecosystems where different agents handle specialized tasks.

 

Here’s an example of how to set up a multi-agent system:

            from graphrag_sdk.orchestrator import Orchestrator
from graphrag_sdk.agents.kg_agent import KGAgent
from graphrag_sdk.models.openai import OpenAiGenerativeModel

# To create the ontology, see the full documentation and examples on our https://github.com/FalkorDB/GraphRAG-SDK/
restaurants_ontology = Ontology(...)
attractions_ontology = Ontology(...)

# Define the model
model = OpenAiGenerativeModel("gpt-4o")

# Create the KG from the predefined ontology.
# Restaurants KG
restaurants_kg = KnowledgeGraph(
    name="restaurants",
    ontology=restaurants_ontology,
    model_config=KnowledgeGraphModelConfig.with_model(model),
)

# Attractions KG
attractions_kg = KnowledgeGraph(
    name="attractions",
    ontology=attractions_ontology,
    model_config=KnowledgeGraphModelConfig.with_model(model),
)
# The following agent is specialized in finding restaurants.
restaurants_agent = KGAgent(
    agent_id="restaurants_agent",
    kg=restaurants_kg,
    introduction="I'm a restaurant agent, specialized in finding the best restaurants for you.",
)

# The following agent is specialized in finding tourist attractions.
attractions_agent = KGAgent(
    agent_id="attractions_agent",
    kg=attractions_kg,
    introduction="I'm an attractions agent, specialized in finding the best attractions for you.",
)

# Initialize the orchestrator and register agents
orchestrator = Orchestrator(
    model,
    backstory="You are a trip planner, and you want to provide the best possible itinerary for your clients.",
)
orchestrator.register_agent(restaurants_agent)
orchestrator.register_agent(attractions_agent)

# Query the orchestrator
runner = orchestrator.ask("Create a two-day itinerary for a trip to Rome. Please don't ask me any questions; just provide the best itinerary you can.")
print(runner.output)

        

This functionality is perfect for scaling AI workflows, allowing different agents to specialize in different aspects of a problem while the orchestrator ensures smooth coordination.

Ready to Get Started?

With the release of GraphRAG-SDK v0.2, managing multiple AI models, working with complex knowledge graphs, and building multi-agent systems has never been easier. Start experimenting with these powerful new features and see how they can enhance your AI-driven knowledge graph applications.

Install the latest version via PyPI:

            pip install graphrag_sdk

        

Explore the full documentation and examples on our https://github.com/FalkorDB/GraphRAG-SDK/ 

 

Happy coding! 👨‍💻👩‍💻

– PyPI: https://pypi.org/project/graphrag_sdk/