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

DocSum use case is not working #532

Closed
TobyBayaua opened this issue Aug 6, 2024 · 5 comments
Closed

DocSum use case is not working #532

TobyBayaua opened this issue Aug 6, 2024 · 5 comments
Assignees
Labels

Comments

@TobyBayaua
Copy link

I completed all the steps in deploying DocSum in our EC2 instance but when I placed a text, it did not give me a summary. I used both svelt based frontend and react based frontend and no summary output.

@xiguiw xiguiw self-assigned this Aug 7, 2024
@xiguiw
Copy link
Collaborator

xiguiw commented Aug 7, 2024

@TobyBayaua
Thanks for trying Opea.

Would you please run following command and send the output logs here:
docker compose -f ./docker/xeon/compose.yaml logs

@TobyBayaua
Copy link
Author

docsum_screen_capture

@xiguiw
Copy link
Collaborator

xiguiw commented Aug 8, 2024

Each container has a compose.yaml.
For DocSum, it is here:
GenAIExamples/DocSum/docker/xeon/compose.yaml

So you point to the relative path to compose.yaml
For example,

cd GenAIExamples/DocSum
docker compose -f ./docker/xeon/compose.yaml logs

Please note the compose.yaml is renamed recently.
Please update to the latest code first or you may have another file name in GenAIExamples/DocSum/docker/xeon/ directory.

@TobyBayaua
Copy link
Author

Please see the attached logs in text file.
docsum_error.txt

I can see the logs saying in the last line 'ModuleNotFoundError: No module named 'uvicorn',

@xiguiw
Copy link
Collaborator

xiguiw commented Aug 8, 2024

@TobyBayaua
Thanks for catching this bug!

This issue is fixed by this PR:
opea-project/GenAIComps#408

image

Think twice.
I recommend you try the stable version v0.8.
Then we build docker image based on the released stable version instead of the developing main branch.

Here is how to check v0.8 for GenAIComps and GenAIExamples.

xiguiwan@icx02-tce-atsm:~/ws2/OPEA/GenAIComps/$ git tag
v0.6
v0.7
v0.8
xiguiwan@icx02-tce-atsm:~/ws2/OPEA/GenAIComps/$ git checkout v0.8
Note: switching to 'v0.8'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at f37ed79 bump version into v0.8 (#356)
xiguiwan@icx02-tce-atsm:~/ws2/OPEA/GenAIComps/comps/llms/summarization/tgi$ git log
commit f37ed79fbce43f8151c32b7ad464a253ab70b08e (HEAD, tag: v0.8)
Author: chen, suyue <[email protected]>
Date:   Fri Jul 26 21:41:41 2024 +0800

    bump version into v0.8 (#356)

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


xiguiwan@icx02-tce-atsm:~/ws2/OPEA/GenAIComps$ cd ../GenAIExamples/
xiguiwan@icx02-tce-atsm:~/ws2/OPEA/GenAIExamples$ ls
AudioQnA  CodeTrans              FaqGen                pyproject.toml  supported_examples.md     Translation
ChatQnA   docker_images_list.md  LEGAL_INFORMATION.md  README.md       tags                      VisualQnA
CodeGen   DocSum                 LICENSE               SearchQnA       third-party-programs.txt
xiguiwan@icx02-tce-atsm:~/ws2/OPEA/GenAIExamples$ git tag
v0.1.0
v0.6
v0.7
v0.8
xiguiwan@icx02-tce-atsm:~/ws2/OPEA/GenAIExamples$ git checkout v0.8
Note: switching to 'v0.8'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at a2437e8 update compose.yaml fix the test issue (#467)

@yinghu5 yinghu5 added the aitce label Sep 4, 2024
@yinghu5 yinghu5 closed this as completed Sep 4, 2024
wangkl2 pushed a commit to wangkl2/GenAIExamples that referenced this issue Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants