-
Notifications
You must be signed in to change notification settings - Fork 115
Open
Description
Steps to reproduce:
run weaviate OSS image
docker run -p 8080:8080 -p 50051:50051 cr.weaviate.io/semitechnologies/weaviate:1.29.1
run benchmark
python3 run.py --engines weaviate-m-* --datasets arxiv-titles-384-angular-filters --host <host>
Snippet of issue:
│ /home/ubuntu/.local/lib/python3.10/site-packages/weaviate/connect/v4.py:444 in __send │
│ │
│ 441 │ │ │ ) │
│ 442 │ │ │ res = self._client.send(req) │
│ 443 │ │ │ if status_codes is not None and res.status_code not in status_codes.ok: │
│ ❱ 444 │ │ │ │ raise UnexpectedStatusCodeError(error_msg, response=res) │
│ 445 │ │ │ return cast(Response, res) │
│ 446 │ │ except RuntimeError as e: │
│ 447 │ │ │ raise WeaviateClosedClientError() from e │
│ │
│ ╭─────────────────────────────────────────── locals ───────────────────────────────────────────╮ │
│ │ error_msg = 'Collection may not have been created properly.' │ │
│ │ method = 'POST' │ │
│ │ params = None │ │
│ │ req = <Request('POST', 'http://10.3.0.98:8080/v1/schema')> │ │
│ │ res = <Response [422 Unprocessable Entity]> │ │
│ │ self = <weaviate.connect.v4.ConnectionV4 object at 0x7b474d69aa10> │ │
│ │ status_codes = _ExpectedStatusCodes(ok_in=200, error='Create collection', ok=[200]) │ │
│ │ url = 'http://10.3.0.98:8080/v1/schema' │ │
│ │ weaviate_object = { │ │
│ │ │ 'class': 'Benchmark', │ │
│ │ │ 'vectorizer': 'none', │ │
│ │ │ 'properties': [ │ │
│ │ │ │ { │ │
│ │ │ │ │ 'name': 'update_date_ts', │ │
│ │ │ │ │ 'dataType': ['int'], │ │
│ │ │ │ │ 'indexInverted': True │ │
│ │ │ │ }, │ │
│ │ │ │ { │ │
│ │ │ │ │ 'name': 'labels', │ │
│ │ │ │ │ 'dataType': ['string'], │ │
│ │ │ │ │ 'indexInverted': True │ │
│ │ │ │ }, │ │
│ │ │ │ { │ │
│ │ │ │ │ 'name': 'submitter', │ │
│ │ │ │ │ 'dataType': ['string'], │ │
│ │ │ │ │ 'indexInverted': True │ │
│ │ │ │ }, │ │
│ │ │ │ { │ │
│ │ │ │ │ 'name': 'id', │ │
│ │ │ │ │ 'dataType': ['string'], │ │
│ │ │ │ │ 'indexInverted': True │ │
│ │ │ │ } │ │
│ │ │ ], │ │
│ │ │ 'vectorIndexConfig': { │ │
│ │ │ │ 'vectorCacheMaxObjects': 1000000000, │ │
│ │ │ │ 'distance': 'cosine', │ │
│ │ │ │ 'efConstruction': 128, │ │
│ │ │ │ 'maxConnections': 16 │ │
│ │ │ } │ │
│ │ } │ │
│ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
UnexpectedStatusCodeError: Collection may not have been created properly.! Unexpected status code: 422, with response body: {'error': [{'message': "'id' is a reserved property name"}]}.
Metadata
Metadata
Assignees
Labels
No labels