Skip to content
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

Hierarchical Agentic RAG example #601

Merged
merged 13 commits into from
Aug 21, 2024

Conversation

minmin-intel
Copy link
Collaborator

Description

Add an example of hierarchical multi-agent system to improve RAG performance

Issues

List the issue or RFC link this PR is working on. If there is no such link, please mark it as n/a.

Type of change

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

  • New feature (non-breaking change which adds new functionality)

Dependencies

  1. Add RagAgentDocGrader to agent comp GenAIComps#480

  2. OpenAI model access

Tests

Tested locally with the script in tests/ folder and passed tests.

@xuechendi xuechendi linked an issue Aug 15, 2024 that may be closed by this pull request
Copy link
Collaborator

@xuechendi xuechendi left a comment

Choose a reason for hiding this comment

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

LGTM

@minmin-intel
Copy link
Collaborator Author

@XuhuiRen I have updated the example name to AgentQnA and also updated readme.

@minmin-intel
Copy link
Collaborator Author

UT test_agentqna.sh with OpenAI GPT-4o-mini passed. See screenshots below. @chensuyue
image
image
image

@kevinintel kevinintel merged commit 67df280 into opea-project:main Aug 21, 2024
8 checks passed
dmsuehir pushed a commit to dmsuehir/GenAIExamples that referenced this pull request Sep 11, 2024
* initial code and readme for hierarchical agent example

* agent test with openai llm passed

* update readme and add test

* update test

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

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

* change example name and update docker yaml

Signed-off-by: minmin-intel <[email protected]>

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

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

* change diagram name and test script name

Signed-off-by: minmin-intel <[email protected]>

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

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

* update test

---------

Signed-off-by: minmin-intel <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
wangkl2 pushed a commit to wangkl2/GenAIExamples that referenced this pull request Dec 11, 2024
* Change image tag.

Signed-off-by: zepan <[email protected]>

* Change tag in workflow.

Signed-off-by: zepan <[email protected]>

* Remove the CD portion of the retriever.

Signed-off-by: zepan <[email protected]>

* Update lvms-compose-cd.yaml

Change '_' to '-'.

* Update lvms-compose-cd.yaml

* Update llms-compose-cd.yaml

* Add images.

Signed-off-by: zepan <[email protected]>

---------

Signed-off-by: zepan <[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.

Rag Agent example
4 participants