jina-ai / cookiecutter-jina

Cookiecutter template for a Jina project
Apache License 2.0
10 stars 3 forks source link

Non-text results from text search #18

Closed alexcg1 closed 4 years ago

alexcg1 commented 4 years ago

Problem After running pip install jina[http], python app.py search seems to work without crashing. However, querying via curl has issues:

Input: curl --request POST -d '{"top_k": 10, "mode": "search", "data": ["text:hey, dude"]}' -H 'Content-Type: application/json' 'http://0.0.0.0:65481/api/search'

Output:

{
  "requestId": 1,
  "search": {
    "docs": [
      {
        "id": 1,
        "weight": 1.0,
        "length": 16,
        "matches": [
          {
            "id": 114810880,
            "weight": 1.0,
            "length": 1,
            "mimeType": "text/plain",
            "text": "abc",
            "levelDepth": 1,
            "parentId": 1,
            "location": [
              0,
              3
            ],
            "embedding": {
              "buffer": "hZgsPhhQkr7w+aa+SdTlvfdZDD3esYm+mhb3vKHPH73/OYA8UMWQviQUEz5SXi49qp9hvlfDE7vpbg2/F6/fPY+krLxk9Ha8D1CUPfVRm77AYWa+d3aqvndJwb2OXNs9nvoKviKAb74+n9q9Z+TUPQTXir2nMAI9ZT1JvhLTLLtHD5C+kncyPQzuwb1XLEm+gJbfvUVjCj5tiw8+PremPmeKxLxUpvq8/3eevdOGyL0Oave9r9EQvZ34e8AC+bY8hlHwPvRHTr5GnzY/dxktPq493L5ww5Q/9wTNPlXr6b0tQwW+v+PavYSLBj7QbLu+DuJTO0q6fj2twC2/5Sldvs/CnzxVMAS+/jaDPeEia760whK9800OPuRskT3GfQK+IzOBvVdD9ry0Lu29+7hvvvfx272tkwM9kRc+voKHZj6vRYK+bZOSvVxDPj4lDU+9vdyHvYvRzj3kMui9DnryPVdZGj0DJuC76M+pvdjqHT4ybm29ecKsPcFdHD5B+uK9SouTPiLFZr7aHgQ+ygeevVdXoD7l40y9+S02PskwLr7lwVY9dYCqPsetAj2MLmw91lYavSbnar1udb8+HE0bPg40xb3DKEK+VnMyPke0Q750ezO+VGl+PYGpzT0XZq69rlKKvl/27T9TF1G8qMHovtcsPj7uJXO8OMM/PQBBm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PeaMYjzuvrc8/TW9PFxCyb0NLa4+gqABPKmafb9k82a9I1wTvYdAJD4Xo/Q9f7cYvhDdcj3cJ66+yhsGPUlpIr4LhDm+40WJvQMOMj6cE5O9B6+GvZJVMz5C5Py7XwwpvscyCT0u64i+bY1lvv3fhTxFIpQ9KfRUvj6p3rxBXoQ8KswyPFttCr5QtK6+AkhsPgRtib3TlDG+tNvhvHavHD1h7ic+",
              "shape": [
                768
              ],
              "dtype": "<f4"
            },
            "score": {
              "opName": "NumpyIndexer",
              "refId": 1
            }
          },
          {
            "id": 255114503,
            "weight": 1.0,
            "length": 1,
            "mimeType": "text/plain",
            "text": "cde",
            "levelDepth": 1,
            "parentId": 2,
            "location": [
              0,
              3
            ],
            "embedding": {
              "buffer": "hZgsPhhQkr7w+aa+SdTlvfdZDD3esYm+mhb3vKHPH73/OYA8UMWQviQUEz5SXi49qp9hvlfDE7vpbg2/F6/fPY+krLxk9Ha8D1CUPfVRm77AYWa+d3aqvndJwb2OXNs9nvoKviKAb74+n9q9Z+TUPQTXir2nMAI9ZT1JvhLTLLtHD5C+kncyPQzuwb1XLEm+gJbfvUVjCj5tiw8+PremPmeKxLxUpvq8/3eevdOGyL0Oave9r9EQvZ34e8AC+bY8hlHwPvRHTr5GnzY/dxktPq493L5ww5Q/9wTNPlXr6b0tQwW+v+PavYSLBj7QbLu+DuJTO0q6fj2twC2/5Sldvs/CnzxVMAS+/jaDPeEia760whK9800OPuRskT3GfQK+IzOBvVdD9ry0Lu29+7hvvvfx272tkwM9kRc+voKHZj6vRYK+bZOSvVxDPj4lDU+9vdyHvYvRzj3kMui9DnryPVdZGj0DJuC76M+pvdjqHT4ybm29ecKsPcFdHD5B+uK9SouTPiLFZr7aHgQ+ygeevVdXoD7l40y9+S02PskwLr7lwVY9dYCqPsetAj2MLmw91lYavSbnar1udb8+HE0bPg40xb3DKEK+VnMyPke0Q750ezO+VGl+PYGpzT0XZq69rlKKvl/27T9TF1G8qMHovtcsPj7uJXO8OMM/PQB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P90PeaMYjzuvrc8/TW9PFxCyb0NLa4+gqABPKmafb9k82a9I1wTvYdAJD4Xo/Q9f7cYvhDdcj3cJ66+yhsGPUlpIr4LhDm+40WJvQMOMj6cE5O9B6+GvZJVMz5C5Py7XwwpvscyCT0u64i+bY1lvv3fhTxFIpQ9KfRUvj6p3rxBXoQ8KswyPFttCr5QtK6+AkhsPgRtib3TlDG+tNvhvHavHD1h7ic+",
              "shape": [
                768
              ],
              "dtype": "<f4"
            },
            "score": {
              "opName": "NumpyIndexer",
              "refId": 1
            }
          },
          {
            "id": 3972689216,
            "weight": 1.0,
            "length": 1,
            "mimeType": "text/plain",
            "text": "efg",
            "levelDepth": 1,
            "parentId": 3,
            "location": [
              0,
              3
            ],
            "embedding": {
              "buffer": "hZgsPhhQkr7w+aa+SdTlvfdZDD3esYm+mhb3vKHPH73/OYA8UMWQviQUEz5SXi49qp9hvlfDE7vpbg2/F6/fPY+krLxk9Ha8D1CUPfVRm77AYWa+d3aqvndJwb2OXNs9nvoKviKAb74+n9q9Z+TUPQTXir2nMAI9ZT1JvhLTLLtHD5C+kncyPQzuwb1XLEm+gJbfvUVjCj5tiw8+PremPmeKxLxUpvq8/3eevdOGyL0Oave9r9EQvZ34e8AC+bY8hlHwPvRHTr5GnzY/dxktPq493L5ww5Q/9wTNPlXr6b0tQwW+v+PavYSLBj7QbLu+DuJTO0q6fj2twC2/5Sldvs/CnzxVMAS+/jaDPeEia760whK9800OPuRskT3GfQK+IzOBvVdD9ry0Lu29+7hvvvfx272tkwM9kRc+voKHZj6vRYK+bZOSvVxDPj4lDU+9vdyHvYvRzj3kMui9DnryPVdZGj0DJuC76M+pvdjqHT4ybm29ecKsPcFdHD5B+uK9SouTPiLFZr7aHgQ+ygeevVdXoD7l40y9+S02PskwLr7lwVY9dYCqPsetAj2MLmw91lYavSbnar1udb8+HE0bPg40xb3DKEK+VnMyPke0Q750ezO+VGl+PYGpzT0XZq69rlKKvl/27T9TF1G8qMHovtcsPj7uJXO8OMM/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g9uP90PeaMYjzuvrc8/TW9PFxCyb0NLa4+gqABPKmafb9k82a9I1wTvYdAJD4Xo/Q9f7cYvhDdcj3cJ66+yhsGPUlpIr4LhDm+40WJvQMOMj6cE5O9B6+GvZJVMz5C5Py7XwwpvscyCT0u64i+bY1lvv3fhTxFIpQ9KfRUvj6p3rxBXoQ8KswyPFttCr5QtK6+AkhsPgRtib3TlDG+tNvhvHavHD1h7ic+",
              "shape": [
                768
              ],
              "dtype": "<f4"
            },
            "score": {
              "opName": "NumpyIndexer",
              "refId": 1
            }
          },
          {
            "id": 1,
            "chunks": [
              {
                "id": 114810880,
                "weight": 1.0,
                "length": 1,
                "mimeType": "text/plain",
                "text": "abc",
                "levelDepth": 1,
                "parentId": 1,
                "location": [
                  0,
                  3
                ],
                "embedding": {
                  "buffer": "hZgsPhhQkr7w+aa+SdTlvfdZDD3esYm+mhb3vKHPH73/OYA8UMWQviQUEz5SXi49qp9hvlfDE7vpbg2/F6/fPY+krLxk9Ha8D1CUPfVRm77AYWa+d3aqvndJwb2OXNs9nvoKviKAb74+n9q9Z+TUPQTXir2nMAI9ZT1JvhLTLLtHD5C+kncyPQzuwb1XLEm+gJbfvUVjCj5tiw8+PremPmeKxLxUpvq8/3eevdOGyL0Oave9r9EQvZ34e8AC+bY8hlHwPvRHTr5GnzY/dxktPq493L5ww5Q/9wTNPlXr6b0tQwW+v+PavYSLBj7QbLu+DuJTO0q6fj2twC2/5Sldvs/CnzxVMAS+/jaDPeEia760whK9800OPuRskT3GfQK+IzOBvVdD9ry0Lu29+7hvvvfx272tkwM9kRc+voKHZj6vRYK+bZOSvVxDPj4lDU+9vdyHvYvRzj3kMui9DnryPVdZGj0DJuC76M+pvdjqHT4ybm29ecKsPcFdHD5B+uK9SouTPiLFZr7aHgQ+ygeevVdXoD7l40y9+S02PskwLr7lwVY9dYCqPsetAj2MLmw91lYavSbnar1udb8+HE0bPg40xb3DKEK+VnMyPke0Q750ezO+VGl+PYGpzT0XZq69rlKKvl/27T9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uduSDx7BZu9iyEbvZpaa7vPZRg9uP90PeaMYjzuvrc8/TW9PFxCyb0NLa4+gqABPKmafb9k82a9I1wTvYdAJD4Xo/Q9f7cYvhDdcj3cJ66+yhsGPUlpIr4LhDm+40WJvQMOMj6cE5O9B6+GvZJVMz5C5Py7XwwpvscyCT0u64i+bY1lvv3fhTxFIpQ9KfRUvj6p3rxBXoQ8KswyPFttCr5QtK6+AkhsPgRtib3TlDG+tNvhvHavHD1h7ic+",
                  "shape": [
                    768
                  ],
                  "dtype": "<f4"
                }
              }
            ],
            "weight": 1.0,
            "length": 16,
            "mimeType": "text/plain",
            "score": {
              "opName": "NumpyIndexer",
              "refId": 1
            }
          },
          {
            "id": 2,
            "chunks": [
              {
                "id": 255114503,
                "weight": 1.0,
                "length": 1,
                "mimeType": "text/plain",
                "text": "cde",
                "levelDepth": 1,
                "parentId": 2,
                "location": [
                  0,
                  3
                ],
                "embedding": {
                  "buffer": "hZgsPhhQkr7w+aa+SdTlvfdZDD3esYm+mhb3vKHPH73/OYA8UMWQviQUEz5SXi49qp9hvlfDE7vpbg2/F6/fPY+krLxk9Ha8D1CUPfVRm77AYWa+d3aqvndJwb2OXNs9nvoKviKAb74+n9q9Z+TUPQTXir2nMAI9ZT1JvhLTLLtHD5C+kncyPQzuwb1XLEm+gJbfvUVjCj5tiw8+PremPmeKxLxUpvq8/3eevdOGyL0Oave9r9EQvZ34e8AC+bY8hlHwPvRHTr5GnzY/dxktPq493L5ww5Q/9wTNPlXr6b0tQwW+v+PavYSLBj7QbLu+DuJTO0q6fj2twC2/5Sldvs/CnzxVMAS+/jaDPeEia760whK9800OPuRskT3GfQK+IzOBvVdD9ry0Lu29+7hvvvfx272tkwM9kRc+voKHZj6vRYK+bZOSvVxDPj4lDU+9vdyHvYvRzj3kMui9DnryPVdZGj0DJuC76M+pvdjqHT4ybm29ecKsPcFdHD5B+uK9SouTPiLFZr7aHgQ+ygeevVdXoD7l40y9+S02PskwLr7lwVY9dYCqPsetAj2MLm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u9hhYtPr4VqD2aj3c9ctSTvVZp6j2B+S8+5kH0viX+ET7RPMW85wI7vWePs7zsHiK+zF0qPuduSDx7BZu9iyEbvZpaa7vPZRg9uP90PeaMYjzuvrc8/TW9PFxCyb0NLa4+gqABPKmafb9k82a9I1wTvYdAJD4Xo/Q9f7cYvhDdcj3cJ66+yhsGPUlpIr4LhDm+40WJvQMOMj6cE5O9B6+GvZJVMz5C5Py7XwwpvscyCT0u64i+bY1lvv3fhTxFIpQ9KfRUvj6p3rxBXoQ8KswyPFttCr5QtK6+AkhsPgRtib3TlDG+tNvhvHavHD1h7ic+",
                  "shape": [
                    768
                  ],
                  "dtype": "<f4"
                }
              }
            ],
            "weight": 1.0,
            "length": 16,
            "mimeType": "text/plain",
            "score": {
              "opName": "NumpyIndexer",
              "refId": 1
            }
          },
          {
            "id": 3,
            "chunks": [
              {
                "id": 3972689216,
                "weight": 1.0,
                "length": 1,
                "mimeType": "text/plain",
                "text": "efg",
                "levelDepth": 1,
                "parentId": 3,
                "location": [
                  0,
                  3
                ],
                "embedding": {
                  "buffer": "hZgsPhhQkr7w+aa+SdTlvfdZDD3esYm+mhb3vKHPH73/OYA8UMWQviQUEz5SXi49qp9hvlfDE7vpbg2/F6/fPY+krLxk9Ha8D1CUPfVRm77AYWa+d3aqvndJwb2OXNs9nvoKviKAb74+n9q9Z+TUPQTXir2nMAI9ZT1JvhLTLLtHD5C+kncyPQzuwb1XLEm+gJbfvUVjCj5tiw8+PremPmeKxLxUpvq8/3eevdOGyL0Oave9r9EQvZ34e8AC+bY8hlHwPvRHTr5GnzY/dxktPq493L5ww5Q/9wTNPlXr6b0tQwW+v+PavYSLBj7QbLu+DuJTO0q6fj2twC2/5Sldvs/CnzxVMAS+/jaDPeEia760whK9800OPuRskT3GfQK+IzOBvVdD9ry0Lu29+7hvvvfx272tkwM9kRc+voKHZj6vRYK+bZOSvVxDPj4lDU+9vdyHvYvRzj3kMui9DnryPVdZGj0DJuC76M+pvdjqHT4ybm29ecKs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PoTltr7eFaQ+rPurvbNsQL51VhY9q5sov93IUL4mDoA+xKe3O13sHL0Woha9ks8zO3Kqqj4YTBu9hhYtPr4VqD2aj3c9ctSTvVZp6j2B+S8+5kH0viX+ET7RPMW85wI7vWePs7zsHiK+zF0qPuduSDx7BZu9iyEbvZpaa7vPZRg9uP90PeaMYjzuvrc8/TW9PFxCyb0NLa4+gqABPKmafb9k82a9I1wTvYdAJD4Xo/Q9f7cYvhDdcj3cJ66+yhsGPUlpIr4LhDm+40WJvQMOMj6cE5O9B6+GvZJVMz5C5Py7XwwpvscyCT0u64i+bY1lvv3fhTxFIpQ9KfRUvj6p3rxBXoQ8KswyPFttCr5QtK6+AkhsPgRtib3TlDG+tNvhvHavHD1h7ic+",
                  "shape": [
                    768
                  ],
                  "dtype": "<f4"
                }
              }
            ],
            "weight": 1.0,
            "length": 16,
            "mimeType": "text/plain",
            "score": {
              "opName": "NumpyIndexer",
              "refId": 1
            }
          }
        ],
        "mimeType": "text/plain",
        "text": "abc"
      }
    ]
  },
  "status": {}
}

Environment

Environment variables:

alexcg1 commented 4 years ago

Before cookiecutter was broken, I got output like https://github.com/jina-ai/examples/tree/master/my-first-jina-app#curl

rutujasurve94 commented 4 years ago

It seems like the result is analogous to what we got before cookie cutter was broken, but the score has an opName and refId instead of the opName and the score.

Moreover, this outputs a more exhaustive fields.

alexcg1 commented 4 years ago

Hmmm...

I thought it was just returning junk data, but it seems to be still indexing the default data (['abc', 'cde', 'efg']) rather than the file defined in env variable DATA_PATH (which I've set to data/startrek_tng.csv)

Hang on, I'll try setting DATA_PATH to gibberish to see if it errors out

alexcg1 commented 4 years ago

Right. Even if I set DATA_PATH to gibberish:

it still returns similar results.

alexcg1 commented 4 years ago

Hang on. Additional update. When actually using curl, python app.py search throws errors like chunk_idx@295967[E]:'NoneType' object has no attribute 'shape'.

errors.log

alexcg1 commented 4 years ago

I have a feeling a few things are happening:

indexing isn't picking up DATA_PATH

It's just returning values like abc which are in the lines variable on line 30 of app.py

It's throwing numpy related errors

Like:

chunk_idx@295430[W]:you can not query from NumpyIndexer as its "query_handler" is not set. If you are indexing data from scratch then it is fine. If you are querying data then the i
ndex file must be empty or broken.                                                           
      chunk_idx@295430[E]:'NoneType' object has no attribute 'shape'

Which makes me think it's trying to use numpy index_type, not strings index_type

That's just off the top of my head though.

Suggestion

I'm getting all kinds of weird stuff here. You should replicate for yourself in case I'm doing something wrong.

  1. Follow https://github.com/jina-ai/examples/tree/master/my-first-jina-app
  2. Instead of editing app.py directly, create environment variables like MAX_DOCS, DATA_PATH as defined in app.py
  3. Index and query as stated in the tutorial

I'm hoping it's just me being tired. Or tech issues my end

My environment

Thoughts?

alexcg1 commented 4 years ago

OK. Think I might've found the issue. I should've run export DATA_PATH='data/startrek_tng.csv. Missing export caused it do go to default behavior. Setting DATA_PATH to gibberish crashed it when using export

My bad!

alexcg1 commented 4 years ago

It's now indexing properly AFAICS

rutujasurve94 commented 4 years ago

Hi @alexcg1 , this is great. Could you also please paste the output log of the query now that the data path is exported and recognized and jina[http] is installed? Does it output the score as expected?

We could include the export in the ReadMe.md

Also, this log is more exhaustive than the previous one because of the fact that level_depth has been introduced due to recursive structure of Document, so it's not broken.

alexcg1 commented 4 years ago

query.log

rutujasurve94 commented 4 years ago

This has been fixed and both indexing and querying work fine. The recursive structure of the document gives more exhaustive/ verbose logs