Skip to content

Conversation

@aMahanna
Copy link
Contributor

@aMahanna aMahanna commented May 30, 2025

Description

Updating OpeaArangoRetriever to investigate failure observed here: #1746 (comment)

  • Also fixing OpeaArangoDataprep based on input processing fixes in OpeaArangoRetriever

Also introduces ARANGO_SEARCH_TYPE as an environment variable to offer selection between Vector & Hybrid search.

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

Locks langchain-arangodb to 0.0.6

@codecov
Copy link

codecov bot commented May 30, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Files with missing lines Coverage Δ
comps/cores/proto/api_protocol.py 92.05% <100.00%> (+0.01%) ⬆️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@aMahanna aMahanna changed the title update: OpeaArangoRetriever update: OpeaArangoRetriever & OpeaArangoDataprep May 30, 2025
@aMahanna
Copy link
Contributor Author

aMahanna commented Jun 2, 2025

@rbrugaro FYI The ArangoDB Retriever test is passing, any idea on how I can fix the "Service X did not come up in time" error?

@rbrugaro
Copy link
Collaborator

rbrugaro commented Jun 2, 2025

@aMahanna great that the ArangoDB retriever is passing and thanks for looking into it so promptly!. The timing issue seems like a CI side effect, I manually triggered one and passed. lets update your branch with main and if there are still tests with timing issues I can trigger those manually and we can get it merged.

aMahanna and others added 12 commits June 2, 2025 13:21
Signed-off-by: Anthony Mahanna <[email protected]>
Signed-off-by: Anthony Mahanna <[email protected]>
Signed-off-by: Anthony Mahanna <[email protected]>
Signed-off-by: Anthony Mahanna <[email protected]>
Signed-off-by: Anthony Mahanna <[email protected]>
Signed-off-by: Anthony Mahanna <[email protected]>
Signed-off-by: Anthony Mahanna <[email protected]>
Signed-off-by: Anthony Mahanna <[email protected]>
Signed-off-by: Anthony Mahanna <[email protected]>
Signed-off-by: Anthony Mahanna <[email protected]>
@aMahanna aMahanna force-pushed the fix-arango-retriever branch from f9c8df9 to 7eebe28 Compare June 2, 2025 17:21
@aMahanna
Copy link
Contributor Author

aMahanna commented Jun 2, 2025

@aMahanna great that the ArangoDB retriever is passing and thanks for looking into it so promptly!. The timing issue seems like a CI side effect, I manually triggered one and passed. lets update your branch with main and if there are still tests with timing issues I can trigger those manually and we can get it merged.

@rbrugaro sounds good thanks! Just rebased to pass DCO

Copy link
Collaborator

@rbrugaro rbrugaro left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link
Collaborator

@ashahba ashahba left a comment

Choose a reason for hiding this comment

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

LGTM!

@ashahba ashahba merged commit bf1121e into opea-project:main Jun 2, 2025
43 of 46 checks passed
@aMahanna aMahanna deleted the fix-arango-retriever branch June 2, 2025 23:11
aMahanna added a commit to aMahanna/GenAIComps that referenced this pull request Jun 20, 2025
* update: OpeaArangoRetriever

Signed-off-by: Anthony Mahanna <[email protected]>

* lock: `langchain-arangodb`

Signed-off-by: Anthony Mahanna <[email protected]>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

Signed-off-by: Anthony Mahanna <[email protected]>

* fix: `test_retrievers_arango.sh`

Signed-off-by: Anthony Mahanna <[email protected]>

* attempt: `graph_name`

Signed-off-by: Anthony Mahanna <[email protected]>

* attempt fix: query

Signed-off-by: Anthony Mahanna <[email protected]>

* fix: hasattr

Signed-off-by: Anthony Mahanna <[email protected]>

* fix: getattr

Signed-off-by: Anthony Mahanna <[email protected]>

* exclude_none

Signed-off-by: Anthony Mahanna <[email protected]>

* bump

Signed-off-by: Anthony Mahanna <[email protected]>

* increase sleep

Signed-off-by: Anthony Mahanna <[email protected]>

* fix the redis version due to conflic with langchain-redis (opea-project#1766)

Signed-off-by: Mustafa <[email protected]>
Signed-off-by: Anthony Mahanna <[email protected]>

---------

Signed-off-by: Anthony Mahanna <[email protected]>
Signed-off-by: Mustafa <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Mustafa <[email protected]>
Signed-off-by: Anthony Mahanna <[email protected]>
ftian1 pushed a commit that referenced this pull request Jun 23, 2025
* update: OpeaArangoRetriever & OpeaArangoDataprep (#1764)

* update: OpeaArangoRetriever

Signed-off-by: Anthony Mahanna <[email protected]>

* lock: `langchain-arangodb`

Signed-off-by: Anthony Mahanna <[email protected]>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

Signed-off-by: Anthony Mahanna <[email protected]>

* fix: `test_retrievers_arango.sh`

Signed-off-by: Anthony Mahanna <[email protected]>

* attempt: `graph_name`

Signed-off-by: Anthony Mahanna <[email protected]>

* attempt fix: query

Signed-off-by: Anthony Mahanna <[email protected]>

* fix: hasattr

Signed-off-by: Anthony Mahanna <[email protected]>

* fix: getattr

Signed-off-by: Anthony Mahanna <[email protected]>

* exclude_none

Signed-off-by: Anthony Mahanna <[email protected]>

* bump

Signed-off-by: Anthony Mahanna <[email protected]>

* increase sleep

Signed-off-by: Anthony Mahanna <[email protected]>

* fix the redis version due to conflic with langchain-redis (#1766)

Signed-off-by: Mustafa <[email protected]>
Signed-off-by: Anthony Mahanna <[email protected]>

---------

Signed-off-by: Anthony Mahanna <[email protected]>
Signed-off-by: Mustafa <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Mustafa <[email protected]>
Signed-off-by: Anthony Mahanna <[email protected]>

* fix: `ARANGO_SEARCH_MODE`

Signed-off-by: Anthony Mahanna <[email protected]>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* fix: readme

Signed-off-by: Anthony Mahanna <[email protected]>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Signed-off-by: Anthony Mahanna <[email protected]>
Signed-off-by: Mustafa <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Mustafa <[email protected]>
WenjiaoYue pushed a commit that referenced this pull request Jul 7, 2025
* update: OpeaArangoRetriever & OpeaArangoDataprep (#1764)

* update: OpeaArangoRetriever

Signed-off-by: Anthony Mahanna <[email protected]>

* lock: `langchain-arangodb`

Signed-off-by: Anthony Mahanna <[email protected]>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

Signed-off-by: Anthony Mahanna <[email protected]>

* fix: `test_retrievers_arango.sh`

Signed-off-by: Anthony Mahanna <[email protected]>

* attempt: `graph_name`

Signed-off-by: Anthony Mahanna <[email protected]>

* attempt fix: query

Signed-off-by: Anthony Mahanna <[email protected]>

* fix: hasattr

Signed-off-by: Anthony Mahanna <[email protected]>

* fix: getattr

Signed-off-by: Anthony Mahanna <[email protected]>

* exclude_none

Signed-off-by: Anthony Mahanna <[email protected]>

* bump

Signed-off-by: Anthony Mahanna <[email protected]>

* increase sleep

Signed-off-by: Anthony Mahanna <[email protected]>

* fix the redis version due to conflic with langchain-redis (#1766)

Signed-off-by: Mustafa <[email protected]>
Signed-off-by: Anthony Mahanna <[email protected]>

---------

Signed-off-by: Anthony Mahanna <[email protected]>
Signed-off-by: Mustafa <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Mustafa <[email protected]>
Signed-off-by: Anthony Mahanna <[email protected]>

* fix: `ARANGO_SEARCH_MODE`

Signed-off-by: Anthony Mahanna <[email protected]>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* fix: readme

Signed-off-by: Anthony Mahanna <[email protected]>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Signed-off-by: Anthony Mahanna <[email protected]>
Signed-off-by: Mustafa <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Mustafa <[email protected]>
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.

4 participants