jina-ai / examples

Jina examples and demos to help you get started
https://docs.jina.ai
Apache License 2.0
455 stars 142 forks source link

multimodal-search-pdf: results error #653

Closed AshinWang closed 3 years ago

AshinWang commented 3 years ago

Refer to readme to build PDF search, but the result is not like the example.

Yongxuanzhang commented 3 years ago

Hi, @AshinWang, first of all, thank you for trying out this example. Could you:

  1. Provide the version of Jina, or do a pip freeze to provide the environments?
  2. When you make a request, could you go back to Jina's terminal and see if there are any errors log?
AshinWang commented 3 years ago

Hi, @AshinWang, first of all, thank you for trying out this example. Could you:

  1. Provide the version of Jina, or do a pip freeze to provide the environments?
  2. When you make a request, could you go back to Jina's terminal and see if there are any errors log?
  3. Thanks!

Thank you for your reply. I use Conda to create an independent environment(Jina). The following is the installation according torequirements.txt. And all logs are shown above.

Yongxuanzhang commented 3 years ago

Did you run the python app.py -t index? If you run this, you should see a folder workspace. Make sure the files are not of 0 size

Yongxuanzhang commented 3 years ago

I cannot reproduce this error from my side. I guess maybe the issue is the workspace.

AshinWang commented 3 years ago

I cannot reproduce this error from my side. I guess maybe the issue is the workspace. Thank you for your help! I delete the workspace folder and rebuild the index, it work normally!