Skip to content

Add HybridRAG as a new application in the GenAIExamples #1968

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 38 commits into
base: main
Choose a base branch
from

Conversation

jeanyu-habana
Copy link

Description

Enterprise AI systems require solutions that handle both structured data (databases, transactions, CSVs, JSON) and unstructured data (documents, images, audio). While traditional VectorRAG excels at semantic search across documents, it struggles with complex queries requiring global context or relationship-aware reasoning. HybridRAG application addresses these gaps by combining GraphRAG (knowledge graph-based retrieval) and VectorRAG (vector database retrieval) for enhanced accuracy and contextual relevance.

Issues

n/a

Type of change

List the type of change like below. Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds new functionality)
  • Breaking change (fix or feature that would break existing design and interface)
  • Others (enhancement, documentation, validation, etc.)

Dependencies

n/a

Tests

tested each components as well as the overall application.

jeanyu-habana and others added 9 commits May 9, 2025 09:54
Signed-off-by: jeanyu-habana <jean1.yu@intel.com>
Signed-off-by: siddhivelankar23 <siddhi.velankar@intel.com>
Signed-off-by: jeanyu-habana <jean1.yu@intel.com>
Signed-off-by: siddhivelankar23 <siddhi.velankar@intel.com>
Signed-off-by: jeanyu-habana <jean1.yu@intel.com>
Signed-off-by: jeanyu-habana <jean1.yu@intel.com>
Signed-off-by: jeanyu-habana <jean1.yu@intel.com>
Copy link

github-actions bot commented May 15, 2025

Dependency Review

The following issues were found:
  • ✅ 0 vulnerable package(s)
  • ✅ 0 package(s) with incompatible licenses
  • ✅ 0 package(s) with invalid SPDX license definitions
  • ⚠️ 1 package(s) with unknown licenses.
See the Details below.

License Issues

HybridRAG/ui/svelte/package.json

PackageVersionLicenseIssue Type
lodash^4.17.21NullUnknown License

Scanned Files

  • HybridRAG/ui/svelte/package.json

http://${host_ip}:6007/v1/dataprep/ingest
```

By default, the application is pre-seeded with structured data and schema. To create knowledge graph with custom data and schema,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Signed-off-by: jeanyu-habana <jean1.yu@intel.com>
Signed-off-by: jeanyu-habana <jean1.yu@intel.com>
Signed-off-by: jeanyu-habana <jean1.yu@intel.com>
Signed-off-by: jeanyu-habana <jean1.yu@intel.com>
@joshuayao joshuayao linked an issue May 16, 2025 that may be closed by this pull request
3 tasks
@joshuayao joshuayao mentioned this pull request May 16, 2025
3 tasks
@joshuayao joshuayao added this to the v1.4 milestone May 16, 2025
jeanyu-habana and others added 3 commits May 15, 2025 22:15
Signed-off-by: jeanyu-habana <jean1.yu@intel.com>
Signed-off-by: jeanyu-habana <jean1.yu@intel.com>
@siddhivelankar23
Copy link

Dependency Review

The following issues were found:

  • ✅ 0 vulnerable package(s)
  • ✅ 0 package(s) with incompatible licenses
  • ✅ 0 package(s) with invalid SPDX license definitions
  • ⚠️ 1 package(s) with unknown licenses.

See the Details below.

License Issues

HybridRAG/ui/svelte/package.json

Package Version License Issue Type
lodash ^4.17.21 Null Unknown License

Scanned Files

  • HybridRAG/ui/svelte/package.json

Not sure why lodash is throwing a package dependency issue since it's being used the same way in every other ui under GenAIExamples. @chensuyue @lvliang-intel please let us know your input.

Signed-off-by: jeanyu-habana <jean1.yu@intel.com>
Signed-off-by: jeanyu-habana <jean1.yu@intel.com>
Signed-off-by: jeanyu-habana <jean1.yu@intel.com>
Signed-off-by: jeanyu-habana <jean1.yu@intel.com>
Signed-off-by: jeanyu-habana <jean1.yu@intel.com>
Signed-off-by: jeanyu-habana <jean1.yu@intel.com>
Signed-off-by: jeanyu-habana <jean1.yu@intel.com>
@chensuyue
Copy link
Collaborator

Dependency Review

The following issues were found:

  • ✅ 0 vulnerable package(s)
  • ✅ 0 package(s) with incompatible licenses
  • ✅ 0 package(s) with invalid SPDX license definitions
  • ⚠️ 1 package(s) with unknown licenses.

See the Details below.

License Issues

HybridRAG/ui/svelte/package.json

Package Version License Issue Type
lodash ^4.17.21 Null Unknown License

Scanned Files

  • HybridRAG/ui/svelte/package.json

Not sure why lodash is throwing a package dependency issue since it's being used the same way in every other ui under GenAIExamples. @chensuyue @lvliang-intel please let us know your input.

The license is available, https://www.npmjs.com/package/lodash, the tool should be wrong. So please ignore this issue.

jeanyu-habana and others added 12 commits May 19, 2025 01:18
Signed-off-by: jeanyu-habana <jean1.yu@intel.com>
Signed-off-by: jeanyu-habana <jean1.yu@intel.com>
Signed-off-by: jeanyu-habana <jean1.yu@intel.com>
Signed-off-by: jeanyu-habana <jean1.yu@intel.com>
Signed-off-by: jeanyu-habana <jean1.yu@intel.com>
Signed-off-by: jeanyu-habana <jean1.yu@intel.com>
Signed-off-by: jeanyu-habana <jean1.yu@intel.com>
Signed-off-by: jeanyu-habana <jean1.yu@intel.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature] Hybrid RAG
5 participants